- 购货订单
- 购货入库单
- 购货退货单
- 销货订单
- 销货出库单
- 销货退货单
- 批次查询
- 盘点单
- 调拨单
- 组装单
- 拆卸单
- 其他入库单
- 其他出库单
- 成本调整单
- 付款单
- 收款单
- 转账单
- 结算单
- 应收减免单
- 应付减免单
- 其他收入单
- 其他支出单
- 单据费用
- 单据发票
- 购货订单跟踪表(单据)
- 购货订单跟踪表(商品)
- 购货明细表
- 购货汇总表
- 购货付款表
- 销货订单跟踪表(单据)
- 销货订单跟踪表(商品)
- 销货明细表
- 销货汇总表
- 销货收款单
- 销货排行表
- 销货利润表
- 销货利润明细表
- 商品库存余额表
- 商品收发明细表
- 商品收发汇总表
- 现金银行报表
- 应收账款明细表
- 应付账款明细表
- 客户对账单
- 供应商对账单
- 利润表
- 其他收支明细表
- 往来单位欠款表
- 购货排行表
- 客户管理
- 序列查询
- 库存查询
- 供应商类别
- 资金账户
- 收入类别
- 支出类别
- 供应商期初
- 结账管理
- 仓库管理
- 客户类别
- 货位管理
- 客户期初
- 供应商管理
- 人员管理
- 商品类别
- 商品品牌
- 规格属性
- 多规格型号
- 计量单位
- 条码管理
- 系统参数
- 多计量单位
- 商品期初
- 物流管理
- 价格等级
- 商品管理
- BOM管理
- 组织架构
- 用户角色
- 用户管理
- 通知消息
- 操作日志
- 数据备份
- 菜单管理
- 报表模板
- 扩展字段
- 编号规则
- 公用接口
运行数据
开发中
GET
/api/service/base
请求参数
Header 参数
Authorization
string
API密钥
默认值:
Bearer 3|Reh29fr0WqqSDz8rRbpKbSU84sTBoo3zLDMhTZNH1b15d5e5
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/service/base' \
--header 'Authorization;'
返回响应
🟢200成功
application/json
Body
state
string
必需
info
object
必需
sys
object
必需
user
object
必需
message
array[string]
必需
menu
array [object {14}]
必需
frame
array [object {6}]
必需
category
array [object {6}]
必需
assort
array[string]
必需
classify
array [object {6}]
必需
account
array [object {2}]
必需
inc
array [object {2}]
必需
exp
array [object {2}]
必需
warehouse
array [object {2}]
必需
role
object
必需
field
array [object {4}]
必需
about
object
必需
saas
boolean
必需
示例
{
"state": "string",
"info": {
"sys": {
"base": {
"icp": "string",
"mps": "string",
"time": "string",
"title": "string",
"notice": "string",
"slogan": "string",
"company": "string"
},
"fun": {
"api": true,
"bhw": 0,
"dtc": true,
"etx": true,
"itx": true,
"pmd": "string",
"rmw": 0,
"tax": 0,
"cell": true,
"cmpt": true,
"data": true,
"time": 0,
"digit": 0,
"range": true,
"voice": true,
"backup": true,
"retain": 0,
"timely": true,
"examine": true,
"watermark": true,
"notification": true
},
"report": {
"app": "string",
"type": "string",
"cloud": {
"add": "string",
"port": "string",
"scene": "string"
},
"local": {
"add": "string",
"port": "string",
"scene": "string"
}
}
},
"user": {
"id": 0,
"name": "string",
"py": "string",
"frame": 0,
"role": 0,
"user": "string",
"avatar": "string",
"person": "string",
"account": "string",
"warehouse": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"frame_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"account_data": {
"id": 0
},
"warehouse_data": {
"id": 0
}
},
"message": [
"string"
],
"menu": [
{
"id": 0,
"pid": 0,
"name": "string",
"key": "string",
"ico": "string",
"path": "string",
"component": "string",
"query": "string",
"type": 0,
"mold": 0,
"sort": 0,
"auth": "string",
"data": "string",
"sub": [
{
"id": 0,
"pid": 0,
"name": "string",
"key": "string",
"ico": "string",
"path": "string",
"component": "string",
"query": "string",
"type": 0,
"mold": 0,
"sort": 0,
"auth": "string",
"data": "string",
"sub": [
{
"id": 0,
"pid": 0,
"name": "string",
"key": "string",
"ico": "string",
"path": "string",
"component": "string",
"query": "string",
"type": 0,
"mold": 0,
"sort": 0,
"auth": "string",
"data": "string",
"sub": [
{
"id": 0,
"pid": 0,
"name": "string",
"key": "string",
"ico": "string",
"path": "string",
"component": "string",
"query": "string",
"type": 0,
"mold": 0,
"sort": 0,
"auth": "string",
"data": "string",
"sub": [
"string"
]
}
]
}
]
}
]
}
],
"frame": [
{
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string",
"sub": [
"string"
]
}
],
"category": [
{
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string",
"sub": [
"string"
]
}
],
"assort": [
"string"
],
"classify": [
{
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string",
"sub": [
"string"
]
}
],
"account": [
{
"id": 0,
"name": "string"
}
],
"inc": [
{
"id": 0,
"name": "string"
}
],
"exp": [
{
"id": 0,
"name": "string"
}
],
"warehouse": [
{
"id": 0,
"name": "string"
}
],
"role": {
"id": 0,
"name": "string",
"state": true,
"data": "string",
"fun": {
"adj": {
"add": true,
"see": true,
"edit": true,
"export": true,
"destroy": true,
"examine": true,
"reverse": true
},
"bbt": {
"see": true,
"export": true
},
"blt": {
"see": true,
"export": true
},
"bom": {
"add": true,
"see": true,
"edit": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"bor": {
"add": true,
"see": true,
"edit": true,
"open": true,
"close": true,
"price": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"bot": {
"see": true,
"export": true
},
"bre": {
"add": true,
"rck": true,
"see": true,
"edit": true,
"check": true,
"price": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"bsy": {
"see": true,
"export": true
},
"bta": {
"see": true,
"export": true
},
"btb": {
"see": true,
"export": true
},
"buy": {
"add": true,
"rck": true,
"see": true,
"edit": true,
"check": true,
"price": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"cbf": {
"see": true,
"export": true
},
"cct": {
"see": true,
"export": true
},
"cds": {
"see": true,
"export": true
},
"cit": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"cos": {
"see": true,
"export": true
},
"cps": {
"see": true,
"export": true
},
"cpt": {
"see": true,
"export": true
},
"crn": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"crs": {
"see": true,
"export": true
},
"cst": {
"see": true,
"export": true
},
"exp": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"git": {
"add": true,
"see": true,
"edit": true,
"price": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"ice": {
"add": true,
"see": true,
"edit": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"imy": {
"add": true,
"see": true,
"edit": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"inc": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"log": {
"see": true,
"destroy": true
},
"oce": {
"add": true,
"see": true,
"edit": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"omy": {
"add": true,
"see": true,
"edit": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"sbt": {
"see": true,
"export": true
},
"sit": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"slt": {
"see": true,
"export": true
},
"sor": {
"add": true,
"see": true,
"edit": true,
"open": true,
"close": true,
"price": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"sot": {
"see": true,
"export": true
},
"sre": {
"add": true,
"rck": true,
"see": true,
"edit": true,
"check": true,
"price": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"srn": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"ssy": {
"see": true,
"export": true
},
"sta": {
"see": true,
"export": true
},
"stb": {
"see": true,
"export": true
},
"sys": {
"see": true,
"edit": true
},
"wbs": {
"see": true,
"export": true
},
"wds": {
"see": true,
"export": true
},
"wss": {
"see": true,
"export": true
},
"attr": {
"add": true,
"see": true,
"edit": true,
"import": true,
"destroy": true
},
"bill": {
"add": true,
"see": true,
"edit": true,
"export": true,
"destroy": true,
"examine": true,
"reverse": true
},
"cell": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"code": {
"add": true,
"see": true,
"edit": true,
"export": true,
"import": true,
"destroy": true
},
"cost": {
"add": true,
"see": true,
"export": true
},
"home": {
"form": true,
"fund": true,
"total": true,
"assets": true,
"summary": true
},
"make": {
"add": true,
"see": true,
"edit": true,
"price": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"menu": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"role": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"sell": {
"add": true,
"rck": true,
"see": true,
"edit": true,
"check": true,
"price": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"spec": {
"add": true,
"see": true,
"edit": true,
"import": true,
"destroy": true
},
"spta": {
"see": true,
"export": true
},
"sptb": {
"see": true,
"export": true
},
"tool": {
"see": true
},
"unit": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"user": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"alloc": {
"add": true,
"see": true,
"edit": true,
"export": true,
"import": true,
"destroy": true
},
"allot": {
"add": true,
"see": true,
"edit": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"batch": {
"see": true,
"export": true
},
"brand": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"check": {
"see": true
},
"entry": {
"add": true,
"see": true,
"edit": true,
"price": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"extry": {
"add": true,
"see": true,
"edit": true,
"price": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"field": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"frame": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"goods": {
"add": true,
"buy": true,
"see": true,
"edit": true,
"sell": true,
"export": true,
"import": true,
"destroy": true
},
"grade": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"stock": {
"see": true,
"export": true
},
"assort": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"backup": {
"see": true,
"backup": true,
"destroy": true,
"recover": true
},
"divide": {
"add": true,
"see": true,
"edit": true,
"price": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"number": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"period": {
"see": true,
"back": true,
"save": true
},
"person": {
"add": true,
"see": true,
"edit": true,
"export": true,
"import": true,
"destroy": true
},
"report": {
"add": true,
"see": true,
"edit": true,
"export": true,
"import": true,
"destroy": true
},
"serial": {
"see": true,
"export": true
},
"update": {
"online": true
},
"account": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"invoice": {
"add": true,
"see": true,
"export": true,
"destroy": true
},
"summary": {
"see": true
},
"category": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"classify": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"customer": {
"add": true,
"see": true,
"edit": true,
"export": true,
"import": true,
"destroy": true
},
"explorer": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"logistic": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"supplier": {
"add": true,
"see": true,
"edit": true,
"export": true,
"import": true,
"destroy": true
},
"transfer": {
"add": true,
"see": true,
"edit": true,
"price": true,
"export": true,
"import": true,
"destroy": true,
"examine": true,
"reverse": true
},
"warehouse": {
"add": true,
"see": true,
"edit": true,
"destroy": true
},
"notification": {
"add": true,
"see": true,
"edit": true,
"destroy": true
}
},
"auth": {
"file": [
0
],
"user": [
0
],
"frame": [
0
],
"person": [
0
],
"account": [
0
],
"customer": [
0
],
"supplier": [
0
],
"warehouse": [
0
]
}
},
"field": [
{
"id": 0,
"module": "string",
"config": {
"a": {
"alias": "string",
"state": true
},
"b": {
"alias": "string",
"state": true
},
"c": {
"alias": "string",
"state": true
},
"d": {
"alias": "string",
"state": true
},
"e": {
"alias": "string",
"state": true
}
},
"data": "string"
}
],
"about": {
"soft": {
"product": "string",
"edition": "string",
"version": "string",
"number": "string",
"key": "string"
},
"system": {
"os": "string",
"protocol": "string",
"software": "string",
"php": "string",
"database": "string",
"dbSize": "string",
"storageSize": "string",
"laravel": "string"
}
},
"saas": true
}
}
修改于 2024-12-19 19:03:41