V8API 文档
前言导读
本 API 文档旨在为开发者提供清晰、准确且全面的指引,帮助你快速理解和有效地使用我们所提供的 API 服务,您可通过本文档了解产品的 API 的功能特性、调用方法、参数说明以及返回结果的格式,让你能够轻松地将我们的 API 集成到你的项目中,为您的应用增添强大的功能和价值。
开启接口
系统是默认关闭接口功能的,您可通过如下介绍开启并获取 API 密钥。
- 系统参数-功能参数-通用配置-API 接口-启用
- 用户管理-API-启用
- 复制 API 密钥供接口调用
接口鉴权
为确保 API 的安全使用和对资源的合理访问控制,本 API 采用 API 密钥进行鉴权。在进行 API 请求时,需在请求的 Header 中添加 API 密钥。
- 在获取到 API 密钥后,请妥善保管,不要泄露给未经授权的人员。
- 在请求的 Header 中添加一个名为 “Authorization” 的字段。
- 将 API 密钥的值设置为该字段的值,格式通常为 “Bearer 1|xxx “。
- 当您使用密钥调用 API 接口的时候,会自动绑定关联用户。
接口说明
因返回示例有数据量较大且存在重复性,本文仅对请求参数做出字段介绍,涉及到返回数据字段说明请参阅开发文档的数据文档,您还可以通过访问 nodcloud-erp.apifox.cn 来获取更多信息。
接口规范
为确保接口数据的一致性,采用如下统一的接口返回格式
//成功
{
"state":"success",
"info":"1|EsaXFTa3c65IYj2r9BCtt2OUi10t5GQrFi7bT2Tr"
}
//警告
{
"state":"warning",
"message":"账号密码错误"
}
//错误
{
"state":"error",
"message":"内部错误"
}
购货订单
GET 列表
GET /api/bor/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
ment[] | query | array[string] | 否 | 入库状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/bor/save
Body 请求参数
{
"form": {
"id": 2,
"supplier": 2,
"time": "2024-09-30",
"number": "GHDD0002",
"total": 100,
"discount": "0",
"actual": 100,
"delivery": "",
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"examine": 0,
"ment": 0
},
"info": [
{
"goods": 2,
"spec": "",
"cell": 1,
"warehouse": 2,
"price": 10,
"tpe": 10,
"nums": "10",
"discount": "0",
"dsc": 0,
"total": 100,
"tax": "0",
"tat": 0,
"tpt": 100,
"data": "",
"relation": {
"state": false
}
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» supplier | body | integer | 是 | 供应商 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» total | body | number | 是 | 单据金额 |
»» discount | body | number | 是 | 优惠金额 |
»» actual | body | number | 是 | 实际金额 |
»» delivery | body | integer | 否 | 交货日期 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» logistic | body | object | 否 | 物流信息 |
»»» key | body | string | 是 | 物流标识 |
»»» number | body | string | 是 | 物流信息 |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» examine | body | integer | 否 | 审核状态 |
»» ment | body | integer | 否 | 入库状态 |
» info | body | [object] | 是 | 详情内容 |
»» goods | body | integer | 是 | 商品信息 |
»» spec | body | string | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 仓库 |
»» price | body | number | 是 | 单价 |
»» tpe | body | number | 是 | 含税单价 |
»» nums | body | number | 是 | 数量 |
»» discount | body | number | 是 | 折扣率 |
»» dsc | body | number | 是 | 折扣额 |
»» total | body | number | 是 | 金额 |
»» tax | body | number | 是 | 税率 |
»» tat | body | number | 是 | 税额 |
»» tpt | body | number | 是 | 价税合计 |
»» data | body | string | 否 | 备注信息 |
»» relation | body | object | 否 | 关联单据 |
»»» state | body | boolean | 是 | 关联状态 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/bor/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"supplier": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"actual": 0,
"delivery": "string",
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0,
"ment": 0
},
"info": [
{
"id": 0,
"bor": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"price": 0,
"tpe": 0,
"nums": 0,
"discount": 0,
"dsc": 0,
"total": 0,
"tax": 0,
"tat": 0,
"tpt": 0,
"data": "string",
"quantity": 0,
"str": {
"spec": "string",
"cell": "string",
"ment": "string",
"code": "string"
},
"relation": {
"state": true,
"number": "string"
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
},
"relation_data": null
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» supplier | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» total | integer | true | none | none | |
»» discount | integer | true | none | none | |
»» actual | integer | true | none | none | |
»» delivery | string | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» logistic | object | true | none | none | |
»»» key | string | true | none | none | |
»»» number | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» examine | integer | true | none | none | |
»» ment | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» bor | integer | false | none | none | |
»» goods | integer | false | none | none | |
»» spec | string | false | none | none | |
»» cell | integer | false | none | none | |
»» warehouse | integer | false | none | none | |
»» price | integer | false | none | none | |
»» tpe | integer | false | none | none | |
»» nums | integer | false | none | none | |
»» discount | integer | false | none | none | |
»» dsc | integer | false | none | none | |
»» total | integer | false | none | none | |
»» tax | integer | false | none | none | |
»» tat | integer | false | none | none | |
»» tpt | integer | false | none | none | |
»» data | string | false | none | none | |
»» quantity | integer | false | none | none | |
»» str | object | false | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» ment | string | true | none | none | |
»»» code | string | true | none | none | |
»» relation | object | false | none | none | |
»»» state | boolean | true | none | none | |
»»» number | string | true | none | none | |
»» goods_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»» relation_data | null | false | none | none |
DELETE 删除
DELETE /api/bor/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/bor/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
{
"state": "success"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST 关闭(开启)
POST /api/bor/ment
Body 请求参数
{
"id": 1
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
{
"state": "success"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/bor/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
购货入库单
GET 列表
GET /api/buy/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
account[] | query | array[string] | 否 | 资金账户 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
check | query | string | 否 | 核对状态 |
nucleus | query | string | 否 | 结算状态 |
cse | query | string | 否 | 费用状态 |
invoice | query | string | 否 | 发票状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 3,
"data": [
{
"id": 3,
"supplier": 2,
"time": "2024-09-30",
"number": "GHRKD0003",
"total": 50,
"discount": 0,
"actual": 50,
"money": 50,
"account": 3,
"cost": 0,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 50,
"examine": 1,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 0,
"str": {
"logistic": "",
"examine": "已审核",
"check": "未核对",
"nucleus": "已结算",
"cse": "无需结算",
"invoice": "未开票"
},
"supplier_data": {
"id": 2,
"name": "点可云",
"py": "dky",
"number": "GYS0004",
"classify": "",
"frame": 1,
"user": 1,
"customer": "",
"person": "",
"file": [],
"title": "",
"tax": "",
"bank": "",
"account": "",
"rate": 0,
"type": 0,
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"contact": [],
"balance": 0
},
"account_data": {
"id": 3,
"name": "对公",
"number": "ZJ0001",
"time": "2024-09-24",
"money": 10000,
"frame": 1,
"state": true,
"data": "#",
"balance": 9935
},
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"person_data": {
"id": 0
},
"record_data": [
{
"id": 24,
"type": "buy",
"form": 3,
"time": "2024-09-30 15:31:07",
"user": 1,
"info": "审核单据",
"user_data": {
"id": 1,
"name": "管理员"
}
},
{
"id": 23,
"type": "buy",
"form": 3,
"time": "2024-09-30 15:31:06",
"user": 1,
"info": "新增单据",
"user_data": {
"id": 1,
"name": "管理员"
}
}
],
"relation": true,
"relation_list": []
},
{
"id": 2,
"supplier": 2,
"time": "2024-09-29",
"number": "GHRKD0002",
"total": 0,
"discount": 0,
"actual": 0,
"money": 0,
"account": 3,
"cost": 0,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 0,
"examine": 1,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 3,
"str": {
"logistic": "",
"examine": "已审核",
"check": "未核对",
"nucleus": "已结算",
"cse": "无需结算",
"invoice": "无需开具"
},
"supplier_data": {
"id": 2,
"name": "点可云",
"py": "dky",
"number": "GYS0004",
"classify": "",
"frame": 1,
"user": 1,
"customer": "",
"person": "",
"file": [],
"title": "",
"tax": "",
"bank": "",
"account": "",
"rate": 0,
"type": 0,
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"contact": [],
"balance": 0
},
"account_data": {
"id": 3,
"name": "对公",
"number": "ZJ0001",
"time": "2024-09-24",
"money": 10000,
"frame": 1,
"state": true,
"data": "#",
"balance": 9935
},
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"person_data": {
"id": 0
},
"record_data": [
{
"id": 7,
"type": "buy",
"form": 2,
"time": "2024-09-29 13:20:08",
"user": 3,
"info": "审核单据",
"user_data": {
"id": 3,
"name": "测试用户"
}
},
{
"id": 6,
"type": "buy",
"form": 2,
"time": "2024-09-29 13:20:07",
"user": 3,
"info": "更新单据",
"user_data": {
"id": 3,
"name": "测试用户"
}
},
{
"id": 5,
"type": "buy",
"form": 2,
"time": "2024-09-29 13:20:03",
"user": 3,
"info": "反审核单据",
"user_data": {
"id": 3,
"name": "测试用户"
}
},
{
"id": 4,
"type": "buy",
"form": 2,
"time": "2024-09-29 13:03:53",
"user": 1,
"info": "审核单据",
"user_data": {
"id": 1,
"name": "管理员"
}
},
{
"id": 3,
"type": "buy",
"form": 2,
"time": "2024-09-29 13:03:52",
"user": 1,
"info": "新增单据",
"user_data": {
"id": 1,
"name": "管理员"
}
}
],
"relation": false,
"relation_list": []
},
{
"id": 1,
"supplier": 2,
"time": "2024-09-29",
"number": "GHRKD0001",
"total": 15,
"discount": 0,
"actual": 15,
"money": 15,
"account": 3,
"cost": 0,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 15,
"examine": 1,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 0,
"str": {
"logistic": "",
"examine": "已审核",
"check": "未核对",
"nucleus": "已结算",
"cse": "无需结算",
"invoice": "未开票"
},
"supplier_data": {
"id": 2,
"name": "点可云",
"py": "dky",
"number": "GYS0004",
"classify": "",
"frame": 1,
"user": 1,
"customer": "",
"person": "",
"file": [],
"title": "",
"tax": "",
"bank": "",
"account": "",
"rate": 0,
"type": 0,
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"contact": [],
"balance": 0
},
"account_data": {
"id": 3,
"name": "对公",
"number": "ZJ0001",
"time": "2024-09-24",
"money": 10000,
"frame": 1,
"state": true,
"data": "#",
"balance": 9935
},
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"person_data": {
"id": 0
},
"record_data": [
{
"id": 2,
"type": "buy",
"form": 1,
"time": "2024-09-29 13:02:10",
"user": 1,
"info": "审核单据",
"user_data": {
"id": 1,
"name": "管理员"
}
},
{
"id": 1,
"type": "buy",
"form": 1,
"time": "2024-09-29 13:02:09",
"user": 1,
"info": "新增单据",
"user_data": {
"id": 1,
"name": "管理员"
}
}
],
"relation": false,
"relation_list": []
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» supplier | integer | true | none | none | |
»»» time | string | true | none | none | |
»»» number | string | true | none | none | |
»»» total | integer | true | none | none | |
»»» discount | integer | true | none | none | |
»»» actual | integer | true | none | none | |
»»» money | integer | true | none | none | |
»»» account | integer | true | none | none | |
»»» cost | integer | true | none | none | |
»»» frame | integer | true | none | none | |
»»» user | integer | true | none | none | |
»»» person | string | true | none | none | |
»»» logistic | object | true | none | none | |
»»»» key | string | true | none | none | |
»»»» number | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» data | string | true | none | none | |
»»» amount | integer | true | none | none | |
»»» examine | integer | true | none | none | |
»»» check | integer | true | none | none | |
»»» nucleus | integer | true | none | none | |
»»» cse | integer | true | none | none | |
»»» invoice | integer | true | none | none | |
»»» str | object | true | none | none | |
»»»» logistic | string | true | none | none | |
»»»» examine | string | true | none | none | |
»»»» check | string | true | none | none | |
»»»» nucleus | string | true | none | none | |
»»»» cse | string | true | none | none | |
»»»» invoice | string | true | none | none | |
»»» supplier_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» classify | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» customer | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» title | string | true | none | none | |
»»»» tax | string | true | none | none | |
»»»» bank | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» rate | integer | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» contact | [string] | true | none | none | |
»»»» balance | integer | true | none | none | |
»»» account_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» time | string | true | none | none | |
»»»» money | integer | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» balance | integer | true | none | none | |
»»» frame_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» user_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» role | integer | true | none | none | |
»»»» user | string | true | none | none | |
»»»» avatar | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» person_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» record_data | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» type | string | true | none | none | |
»»»» form | integer | true | none | none | |
»»»» time | string | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» info | string | true | none | none | |
»»»» user_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»» relation | boolean | true | none | none | |
»»» relation_list | [string] | true | none | none |
GET 获取
GET /api/buy/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"supplier": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0
},
"info": [
{
"id": 0,
"buy": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"price": 0,
"tpe": 0,
"nums": 0,
"serial": ["string"],
"batch": "string",
"mfg": "string",
"discount": 0,
"dsc": 0,
"total": 0,
"tax": 0,
"tat": 0,
"tpt": 0,
"cost": 0,
"data": "string",
"quantity": 0,
"str": {
"spec": "string",
"cell": "string",
"serial": "string",
"exp": "string",
"code": "string"
},
"relation": {
"state": true,
"number": "string",
"type": "string",
"model": "string",
"form": 0,
"info": 0
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
},
"relation_data": {
"id": 0,
"at": "string",
"am": "string",
"af": 0,
"ai": 0,
"bt": "string",
"bm": "string",
"bf": 0,
"bi": 0,
"b_data": {
"id": 0,
"supplier": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"actual": 0,
"delivery": "string",
"frame": 0,
"user": 0,
"person": "string",
"logistic": {},
"file": [null],
"field": {},
"data": "string",
"examine": 0,
"ment": 0
}
}
}
],
"cost": ["string"]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» supplier | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» total | integer | true | none | none | |
»» discount | integer | true | none | none | |
»» actual | integer | true | none | none | |
»» money | integer | true | none | none | |
»» account | integer | true | none | none | |
»» cost | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» logistic | object | true | none | none | |
»»» key | string | true | none | none | |
»»» number | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» amount | integer | true | none | none | |
»» examine | integer | true | none | none | |
»» check | integer | true | none | none | |
»» nucleus | integer | true | none | none | |
»» cse | integer | true | none | none | |
»» invoice | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» buy | integer | false | none | none | |
»» goods | integer | false | none | none | |
»» spec | string | false | none | none | |
»» cell | integer | false | none | none | |
»» warehouse | integer | false | none | none | |
»» price | integer | false | none | none | |
»» tpe | integer | false | none | none | |
»» nums | integer | false | none | none | |
»» serial | [string] | false | none | none | |
»» batch | string | false | none | none | |
»» mfg | string | false | none | none | |
»» discount | integer | false | none | none | |
»» dsc | integer | false | none | none | |
»» total | integer | false | none | none | |
»» tax | integer | false | none | none | |
»» tat | integer | false | none | none | |
»» tpt | integer | false | none | none | |
»» cost | integer | false | none | none | |
»» data | string | false | none | none | |
»» quantity | integer | false | none | none | |
»» str | object | false | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» serial | string | true | none | none | |
»»» exp | string | true | none | none | |
»»» code | string | true | none | none | |
»» relation | object | false | none | none | |
»»» state | boolean | true | none | none | |
»»» number | string | true | none | none | |
»»» type | string | true | none | none | |
»»» model | string | true | none | none | |
»»» form | integer | true | none | none | |
»»» info | integer | true | none | none | |
»» goods_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»» relation_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» at | string | true | none | none | |
»»» am | string | true | none | none | |
»»» af | integer | true | none | none | |
»»» ai | integer | true | none | none | |
»»» bt | string | true | none | none | |
»»» bm | string | true | none | none | |
»»» bf | integer | true | none | none | |
»»» bi | integer | true | none | none | |
»»» b_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» supplier | integer | true | none | none | |
»»»» time | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» discount | integer | true | none | none | |
»»»» actual | integer | true | none | none | |
»»»» delivery | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» person | string | true | none | none | |
»»»» logistic | object | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» examine | integer | true | none | none | |
»»»» ment | integer | true | none | none | |
» cost | [string] | true | none | none |
POST 新增
POST /api/buy/save
Body 请求参数
{
"form": {
"id": 0,
"supplier": 2,
"time": "2024-09-30",
"number": "GHRKD0004",
"total": 50,
"discount": 0,
"actual": 50,
"money": 50,
"account": 3,
"cost": 10,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 50,
"examine": false,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 0
},
"info": [
{
"goods": 2,
"spec": "",
"cell": 1,
"warehouse": 2,
"price": 10,
"tpe": 10,
"nums": 5,
"serial": [],
"batch": "",
"mfg": "",
"discount": 0,
"dsc": 0,
"total": 50,
"tax": 0,
"tat": 0,
"tpt": 50,
"cost": 10,
"data": "",
"relation": {
"state": true,
"number": "GHDD0001",
"type": "bor",
"model": "App\\Models\\Bor",
"form": 1,
"info": 1
}
}
],
"cost": [
{
"exp": 3,
"money": "10",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 固定参数 ID |
»» supplier | body | integer | 是 | 供应商 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» total | body | number | 是 | 单据金额 |
»» discount | body | number | 是 | 优惠金额 |
»» actual | body | number | 是 | 实际金额 |
»» money | body | number | 是 | 付款金额 |
»» account | body | integer | 是 | 结算账户 |
»» cost | body | number | 是 | 单据费用 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» logistic | body | object | 否 | 物流信息 |
»»» key | body | string | 是 | 物流标识 |
»»» number | body | string | 是 | 物流单号 |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» amount | body | number | 否 | 结算金额 |
»» examine | body | integer | 否 | 审核状态 |
»» check | body | integer | 否 | 核对状态 |
»» nucleus | body | integer | 否 | 结算状态 |
»» cse | body | integer | 否 | 费用状态 |
»» invoice | body | integer | 否 | 发票状态 |
» info | body | [object] | 是 | 详情内容 |
»» goods | body | integer | 否 | 商品信息 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 仓库 |
»» price | body | number | 是 | 单价 |
»» tpe | body | number | 是 | 含税单价 |
»» nums | body | number | 是 | 数量 |
»» serial | body | [string] | 否 | 序列号 |
»» batch | body | string | 否 | 批次号 |
»» mfg | body | integer | 是 | 生产日期 |
»» discount | body | number | 是 | 折扣率 |
»» dsc | body | number | 是 | 折扣额 |
»» total | body | number | 是 | 金额 |
»» tax | body | number | 是 | 税率 |
»» tat | body | number | 是 | 税额 |
»» tpt | body | number | 是 | 价税合计 |
»» cost | body | number | 是 | 费用 |
»» data | body | string | 否 | 备注信息 |
» cost | body | [object] | 否 | 单据费用 |
»» exp | body | integer | 是 | 支出类别 |
»» money | body | number | 是 | 金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 4
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
DELETE 删除
DELETE /api/buy/destroy
Body 请求参数
{
"id": [3]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/buy/examine
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)核对
POST /api/buy/check
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/buy/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | array[string] | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
购货退货单
GET 列表
GET /api/bre/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
account[] | query | array[string] | 否 | 资金账户 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
check | query | string | 否 | 核对状态 |
nucleus | query | string | 否 | 结算状态 |
cse | query | string | 否 | 费用状态 |
invoice | query | string | 否 | 发票状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/bre/save
Body 请求参数
{
"form": {
"id": 2,
"supplier": 2,
"time": "2024-09-30",
"number": "GHTHD0002",
"total": 10,
"discount": "0",
"actual": 10,
"money": 10,
"account": 3,
"cost": 5,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0
},
"info": [
{
"goods": 2,
"spec": "",
"cell": 1,
"warehouse": 2,
"price": 10,
"tpe": 10,
"nums": 1,
"serial": [],
"batch": "",
"mfg": "",
"discount": "0",
"dsc": 0,
"total": 10,
"tax": "0",
"tat": 0,
"tpt": 10,
"data": "",
"relation": {
"state": false
}
}
],
"cost": [
{
"exp": 3,
"money": "5",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» supplier | body | integer | 是 | 供应商 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» total | body | number | 是 | 单据金额 |
»» discount | body | number | 是 | 优惠金额 |
»» actual | body | number | 是 | 实际金额 |
»» money | body | number | 是 | 收款金额 |
»» account | body | integer | 是 | 结算账户 |
»» cost | body | number | 是 | 单据费用 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» logistic | body | object | 否 | 物流信息 |
»»» key | body | string | 是 | none |
»»» number | body | string | 是 | none |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» amount | body | number | 否 | 结算金额 |
»» examine | body | integer | 否 | 审核状态 |
»» check | body | integer | 否 | 核对状态 |
»» nucleus | body | integer | 否 | 结算状态 |
»» cse | body | integer | 否 | 费用状态 |
»» invoice | body | integer | 否 | 发票状态 |
» info | body | [object] | 是 | 详情内容 |
»» goods | body | integer | 是 | 商品信息 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 仓库 |
»» price | body | number | 是 | 单价 |
»» tpe | body | number | 是 | 含税单价 |
»» nums | body | number | 是 | 数量 |
»» serial | body | [string] | 否 | 序列号 |
»» batch | body | string | 否 | 批次号 |
»» mfg | body | integer | 否 | 生产日期 |
»» discount | body | number | 是 | 折扣率 |
»» dsc | body | number | 是 | 折扣额 |
»» total | body | number | 是 | 金额 |
»» tax | body | number | 是 | 税率 |
»» tat | body | number | 是 | 税额 |
»» tpt | body | number | 是 | 价税合计 |
»» data | body | string | 否 | 备注信息 |
»» relation | body | object | 否 | 关联单据 |
»»» state | body | boolean | 是 | 关联状态 |
» cost | body | [object] | 否 | 单据费用 |
»» exp | body | integer | 是 | 支出类别 |
»» money | body | number | 是 | 金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/bre/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"supplier": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0
},
"info": [
{
"id": 0,
"bre": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"price": 0,
"tpe": 0,
"nums": 0,
"serial": ["string"],
"batch": "string",
"mfg": "string",
"discount": 0,
"dsc": 0,
"total": 0,
"tax": 0,
"tat": 0,
"tpt": 0,
"data": "string",
"str": {
"spec": "string",
"cell": "string",
"serial": "string",
"exp": "string",
"code": "string"
},
"relation": {
"state": true,
"number": "string"
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
},
"relation_data": null
}
],
"cost": [
{
"id": 0,
"type": "string",
"model": "string",
"form": 0,
"exp": 0,
"money": 0,
"data": "string",
"settle": 0,
"state": 0
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» supplier | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» total | integer | true | none | none | |
»» discount | integer | true | none | none | |
»» actual | integer | true | none | none | |
»» money | integer | true | none | none | |
»» account | integer | true | none | none | |
»» cost | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» logistic | object | true | none | none | |
»»» key | string | true | none | none | |
»»» number | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» amount | integer | true | none | none | |
»» examine | integer | true | none | none | |
»» check | integer | true | none | none | |
»» nucleus | integer | true | none | none | |
»» cse | integer | true | none | none | |
»» invoice | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» bre | integer | false | none | none | |
»» goods | integer | false | none | none | |
»» spec | string | false | none | none | |
»» cell | integer | false | none | none | |
»» warehouse | integer | false | none | none | |
»» price | integer | false | none | none | |
»» tpe | integer | false | none | none | |
»» nums | integer | false | none | none | |
»» serial | [string] | false | none | none | |
»» batch | string | false | none | none | |
»» mfg | string | false | none | none | |
»» discount | integer | false | none | none | |
»» dsc | integer | false | none | none | |
»» total | integer | false | none | none | |
»» tax | integer | false | none | none | |
»» tat | integer | false | none | none | |
»» tpt | integer | false | none | none | |
»» data | string | false | none | none | |
»» str | object | false | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» serial | string | true | none | none | |
»»» exp | string | true | none | none | |
»»» code | string | true | none | none | |
»» relation | object | false | none | none | |
»»» state | boolean | true | none | none | |
»»» number | string | true | none | none | |
»» goods_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»» relation_data | null | false | none | none | |
» cost | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» type | string | false | none | none | |
»» model | string | false | none | none | |
»» form | integer | false | none | none | |
»» exp | integer | false | none | none | |
»» money | integer | false | none | none | |
»» data | string | false | none | none | |
»» settle | integer | false | none | none | |
»» state | integer | false | none | none |
DELETE 删除
DELETE /api/bre/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
{
"state": "success"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/bre/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | 参数 ID |
POST (反)核对
POST /api/bre/check
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/bre/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
销货订单
GET 列表
GET /api/sor/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
ment[] | query | array[string] | 否 | 出库状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/sor/save
Body 请求参数
{
"form": {
"id": 2,
"customer": 3,
"time": "2024-09-30",
"number": "XHDD0002",
"total": 120,
"discount": "0",
"actual": 120,
"delivery": "2024-09-30",
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"examine": 0,
"ment": 0
},
"info": [
{
"goods": 2,
"spec": "",
"cell": 1,
"warehouse": 2,
"price": 12,
"tpe": 12,
"nums": "10",
"discount": "0",
"dsc": 0,
"total": 120,
"tax": "0",
"tat": 0,
"tpt": 120,
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» customer | body | integer | 是 | 客户 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» total | body | number | 是 | 单据金额 |
»» discount | body | number | 是 | 优惠金额 |
»» actual | body | number | 是 | 实际金额 |
»» delivery | body | number | 是 | 交货日期 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» logistic | body | object | 否 | 物流信息 |
»»» key | body | string | 是 | none |
»»» number | body | string | 是 | none |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» examine | body | integer | 否 | 审核状态 |
»» ment | body | integer | 否 | 入库状态 |
» info | body | [object] | 是 | 详情内容 |
»» goods | body | integer | 是 | 商品信息 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 仓库 |
»» price | body | number | 是 | 单价 |
»» tpe | body | number | 是 | 含税单价 |
»» nums | body | number | 是 | 数量 |
»» discount | body | number | 是 | 折扣率 |
»» dsc | body | number | 是 | 折扣额 |
»» total | body | number | 是 | 金额 |
»» tax | body | number | 是 | 税率 |
»» tat | body | number | 是 | 税额 |
»» tpt | body | number | 是 | 价税合计 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/sor/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"actual": 0,
"delivery": "string",
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0,
"ment": 0
},
"info": [
{
"id": 0,
"sor": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"price": 0,
"tpe": 0,
"nums": 0,
"discount": 0,
"dsc": 0,
"total": 0,
"tax": 0,
"tat": 0,
"tpt": 0,
"data": "string",
"quantity": 0,
"str": {
"spec": "string",
"cell": "string",
"ment": "string",
"code": "string"
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
}
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» customer | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» total | integer | true | none | none | |
»» discount | integer | true | none | none | |
»» actual | integer | true | none | none | |
»» delivery | string | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» logistic | object | true | none | none | |
»»» key | string | true | none | none | |
»»» number | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» examine | integer | true | none | none | |
»» ment | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» sor | integer | false | none | none | |
»» goods | integer | false | none | none | |
»» spec | string | false | none | none | |
»» cell | integer | false | none | none | |
»» warehouse | integer | false | none | none | |
»» price | integer | false | none | none | |
»» tpe | integer | false | none | none | |
»» nums | integer | false | none | none | |
»» discount | integer | false | none | none | |
»» dsc | integer | false | none | none | |
»» total | integer | false | none | none | |
»» tax | integer | false | none | none | |
»» tat | integer | false | none | none | |
»» tpt | integer | false | none | none | |
»» data | string | false | none | none | |
»» quantity | integer | false | none | none | |
»» str | object | false | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» ment | string | true | none | none | |
»»» code | string | true | none | none | |
»» goods_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none |
DELETE 删除
DELETE /api/sor/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/sor/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST 开启(关闭)
POST /api/sor/ment
Body 请求参数
{
"id": 1
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/sor/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
销货出库单
GET 列表
GET /api/sell/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number | query | array[string] | 否 | 单据编号 |
goods | query | array[string] | 否 | 商品信息 |
spec | query | array[string] | 否 | 规格型号 |
data | query | array[string] | 否 | 备注信息 |
customer | query | array[string] | 否 | 客户 |
time | query | array[string] | 否 | 起始时间-结束时间 |
account | query | string | 否 | 资金账户 |
frame | query | string | 否 | 组织架构 |
user | query | string | 否 | 制单用户 |
person | query | string | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
check | query | string | 否 | 核对状态 |
nucleus | query | string | 否 | 结算状态 |
cse | query | string | 否 | 费用状态 |
invoice | query | string | 否 | 发票状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"cbc": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0,
"str": {
"logistic": "string",
"examine": "string",
"check": "string",
"nucleus": "string",
"cse": "string",
"invoice": "string"
},
"customer_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"assort": "string",
"grade": "string",
"frame": 0,
"user": 0,
"supplier": "string",
"person": "string",
"file": [null],
"title": "string",
"tax": "string",
"bank": "string",
"account": "string",
"type": 0,
"field": {},
"state": true,
"data": "string",
"contact": [null],
"balance": 0
},
"account_data": {
"id": 0,
"name": "string",
"number": "string",
"time": "string",
"money": 0,
"frame": 0,
"state": true,
"data": "string",
"balance": 0
},
"frame_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"user_data": {
"id": 0,
"name": "string",
"py": "string",
"frame": 0,
"role": 0,
"user": "string",
"avatar": "string",
"person": "string",
"account": "string",
"warehouse": "string",
"field": {},
"state": true,
"data": "string"
},
"person_data": {
"id": 0
},
"record_data": [
{
"id": null,
"type": null,
"form": null,
"time": null,
"user": null,
"info": null,
"user_data": null
}
],
"relation": true,
"relation_list": ["string"]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» customer | integer | false | none | none | |
»»» time | string | false | none | none | |
»»» number | string | false | none | none | |
»»» total | integer | false | none | none | |
»»» discount | integer | false | none | none | |
»»» cbc | integer | false | none | none | |
»»» actual | integer | false | none | none | |
»»» money | integer | false | none | none | |
»»» account | integer | false | none | none | |
»»» cost | integer | false | none | none | |
»»» frame | integer | false | none | none | |
»»» user | integer | false | none | none | |
»»» person | string | false | none | none | |
»»» logistic | object | false | none | none | |
»»»» key | string | true | none | none | |
»»»» number | string | true | none | none | |
»»» file | [string] | false | none | none | |
»»» field | object | false | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» data | string | false | none | none | |
»»» amount | integer | false | none | none | |
»»» examine | integer | false | none | none | |
»»» check | integer | false | none | none | |
»»» nucleus | integer | false | none | none | |
»»» cse | integer | false | none | none | |
»»» invoice | integer | false | none | none | |
»»» str | object | false | none | none | |
»»»» logistic | string | true | none | none | |
»»»» examine | string | true | none | none | |
»»»» check | string | true | none | none | |
»»»» nucleus | string | true | none | none | |
»»»» cse | string | true | none | none | |
»»»» invoice | string | true | none | none | |
»»» customer_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» assort | string | true | none | none | |
»»»» grade | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» supplier | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» title | string | true | none | none | |
»»»» tax | string | true | none | none | |
»»»» bank | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» contact | [string] | true | none | none | |
»»»» balance | integer | true | none | none | |
»»» account_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» time | string | true | none | none | |
»»»» money | integer | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» balance | integer | true | none | none | |
»»» frame_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» user_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» role | integer | true | none | none | |
»»»» user | string | true | none | none | |
»»»» avatar | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» person_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»» record_data | [object] | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» type | string | true | none | none | |
»»»» form | integer | true | none | none | |
»»»» time | string | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» info | string | true | none | none | |
»»»» user_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»» relation | boolean | false | none | none | |
»»» relation_list | [string] | false | none | none |
GET 获取
GET /api/sell/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"cbc": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0
},
"info": [
{
"id": 0,
"sell": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"price": 0,
"tpe": 0,
"nums": 0,
"serial": ["string"],
"batch": "string",
"mfg": "string",
"discount": 0,
"dsc": 0,
"total": 0,
"tax": 0,
"tat": 0,
"tpt": 0,
"data": "string",
"quantity": 0,
"str": {
"spec": "string",
"cell": "string",
"serial": "string",
"exp": "string",
"code": "string"
},
"relation": {
"state": true,
"number": "string",
"type": "string",
"model": "string",
"form": 0,
"info": 0
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
},
"relation_data": {
"id": 0,
"at": "string",
"am": "string",
"af": 0,
"ai": 0,
"bt": "string",
"bm": "string",
"bf": 0,
"bi": 0,
"b_data": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"actual": 0,
"delivery": "string",
"frame": 0,
"user": 0,
"person": "string",
"logistic": {},
"file": [null],
"field": {},
"data": "string",
"examine": 0,
"ment": 0
}
}
}
],
"cost": ["string"]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» customer | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» total | integer | true | none | none | |
»» discount | integer | true | none | none | |
»» cbc | integer | true | none | none | |
»» actual | integer | true | none | none | |
»» money | integer | true | none | none | |
»» account | integer | true | none | none | |
»» cost | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» logistic | object | true | none | none | |
»»» key | string | true | none | none | |
»»» number | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» amount | integer | true | none | none | |
»» examine | integer | true | none | none | |
»» check | integer | true | none | none | |
»» nucleus | integer | true | none | none | |
»» cse | integer | true | none | none | |
»» invoice | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» sell | integer | false | none | none | |
»» goods | integer | false | none | none | |
»» spec | string | false | none | none | |
»» cell | integer | false | none | none | |
»» warehouse | integer | false | none | none | |
»» price | integer | false | none | none | |
»» tpe | integer | false | none | none | |
»» nums | integer | false | none | none | |
»» serial | [string] | false | none | none | |
»» batch | string | false | none | none | |
»» mfg | string | false | none | none | |
»» discount | integer | false | none | none | |
»» dsc | integer | false | none | none | |
»» total | integer | false | none | none | |
»» tax | integer | false | none | none | |
»» tat | integer | false | none | none | |
»» tpt | integer | false | none | none | |
»» data | string | false | none | none | |
»» quantity | integer | false | none | none | |
»» str | object | false | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» serial | string | true | none | none | |
»»» exp | string | true | none | none | |
»»» code | string | true | none | none | |
»» relation | object | false | none | none | |
»»» state | boolean | true | none | none | |
»»» number | string | true | none | none | |
»»» type | string | true | none | none | |
»»» model | string | true | none | none | |
»»» form | integer | true | none | none | |
»»» info | integer | true | none | none | |
»» goods_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»» relation_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» at | string | true | none | none | |
»»» am | string | true | none | none | |
»»» af | integer | true | none | none | |
»»» ai | integer | true | none | none | |
»»» bt | string | true | none | none | |
»»» bm | string | true | none | none | |
»»» bf | integer | true | none | none | |
»»» bi | integer | true | none | none | |
»»» b_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» customer | integer | true | none | none | |
»»»» time | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» discount | integer | true | none | none | |
»»»» actual | integer | true | none | none | |
»»»» delivery | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» person | string | true | none | none | |
»»»» logistic | object | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» examine | integer | true | none | none | |
»»»» ment | integer | true | none | none | |
» cost | [string] | true | none | none |
POST 新增
POST /api/sell/save
Body 请求参数
{
"form": {
"id": 0,
"customer": 3,
"time": "2024-09-30",
"number": "XHCKD0002",
"total": 60,
"discount": 0,
"cbc": 0,
"actual": 60,
"money": 60,
"account": 3,
"cost": 10,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 60,
"examine": false,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 0
},
"info": [
{
"goods": 2,
"spec": "",
"cell": 1,
"warehouse": 2,
"price": 12,
"tpe": 12,
"nums": 5,
"serial": [],
"batch": "",
"mfg": "",
"discount": 0,
"dsc": 0,
"total": 60,
"tax": 0,
"tat": 0,
"tpt": 60,
"data": "",
"relation": {
"state": true,
"number": "XHDD0001",
"type": "sor",
"model": "App\\Models\\Sor",
"form": 1,
"info": 1
}
}
],
"cost": [
{
"exp": 3,
"money": "10",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 固定参数 0 |
»» customer | body | integer | 是 | 客户 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» total | body | number | 是 | 单据金额 |
»» discount | body | number | 是 | 优惠金额 |
»» cbc | body | number | 是 | 客承费用 |
»» actual | body | number | 是 | 实际金额 |
»» money | body | number | 是 | 收款金额 |
»» account | body | integer | 否 | 结算账户 |
»» cost | body | number | 是 | 单据费用 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» logistic | body | object | 否 | 物流信息 |
»»» key | body | string | 是 | none |
»»» number | body | string | 是 | none |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» amount | body | number | 是 | 结算金额 |
»» examine | body | integer | 否 | 审核状态 |
»» check | body | integer | 否 | 核对状态 |
»» nucleus | body | integer | 否 | 结算状态 |
»» cse | body | integer | 否 | 费用状态 |
»» invoice | body | integer | 否 | 发票状态 |
» info | body | [object] | 是 | 详情内容 |
»» goods | body | integer | 是 | 商品信息 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 仓库 |
»» price | body | number | 是 | 单价 |
»» tpe | body | number | 是 | 含税单价 |
»» nums | body | number | 是 | 数量 |
»» serial | body | [string] | 否 | 序列号 |
»» batch | body | string | 否 | 批次号 |
»» mfg | body | integer | 否 | 生产日期 |
»» discount | body | number | 是 | 折扣率 |
»» dsc | body | number | 是 | 折扣额 |
»» total | body | number | 是 | 金额 |
»» tax | body | number | 是 | 税率 |
»» tat | body | number | 是 | 税额 |
»» tpt | body | number | 是 | 价税合计 |
»» data | body | string | 否 | 备注信息 |
» cost | body | [object] | 否 | 单据费用 |
»» exp | body | integer | 是 | 支出类别 |
»» money | body | number | 是 | 金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
DELETE 删除
DELETE /api/sell/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/sell/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)核对
POST /api/sell/check
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/sell/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
销货退货单
GET 列表
GET /api/sre/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
account[] | query | array[string] | 否 | 资金账户 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
check | query | string | 否 | 核对状态 |
nucleus | query | string | 否 | 结算状态 |
cse | query | string | 否 | 费用状态 |
invoice | query | string | 否 | 发票状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/sre/save
Body 请求参数
{
"form": {
"id": 2,
"customer": 3,
"time": "2024-09-30",
"number": "XHTHD0002",
"total": 120,
"discount": "0",
"actual": 120,
"money": 120,
"account": 3,
"cost": 10,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0
},
"info": [
{
"goods": 2,
"spec": "",
"cell": 1,
"warehouse": 2,
"price": 12,
"tpe": 12,
"nums": "10",
"serial": [],
"batch": "",
"mfg": "",
"discount": "0",
"dsc": 0,
"total": 120,
"tax": "0",
"tat": 0,
"tpt": 120,
"cost": "0",
"data": "",
"relation": {
"state": false
}
}
],
"cost": [
{
"exp": 3,
"money": "10",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» customer | body | integer | 是 | 客户 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» total | body | number | 是 | 单据金额 |
»» discount | body | number | 是 | 优惠金额 |
»» actual | body | number | 是 | 实际金额 |
»» money | body | number | 是 | 实付金额 |
»» account | body | integer | 否 | 结算账户 |
»» cost | body | number | 是 | 单据费用 |
»» frame | body | integer | 否 | 组织结构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» logistic | body | object | 否 | 物流信息 |
»»» key | body | string | 是 | 物流标识 |
»»» number | body | string | 是 | 物流单号 |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» amount | body | number | 否 | 结算金额 |
»» examine | body | integer | 否 | 审核状态 |
»» check | body | integer | 否 | 核对状态 |
»» nucleus | body | integer | 否 | 结算状态 |
»» cse | body | integer | 否 | 费用状态 |
»» invoice | body | integer | 否 | 发票状态 |
» info | body | [object] | 是 | 详情内容 |
»» goods | body | integer | 是 | 商品信息 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 仓库 |
»» price | body | number | 是 | 单价 |
»» tpe | body | number | 是 | 含税单价 |
»» nums | body | number | 是 | 数量 |
»» serial | body | [string] | 否 | 序列号 |
»» batch | body | string | 否 | 批次号 |
»» mfg | body | integer | 否 | 生产日期 |
»» discount | body | number | 是 | 折扣率 |
»» dsc | body | number | 是 | 折扣额 |
»» total | body | number | 是 | 金额 |
»» tax | body | number | 是 | 税率 |
»» tat | body | number | 是 | 税额 |
»» tpt | body | number | 是 | 价税合计 |
»» cost | body | number | 是 | 费用 |
»» data | body | string | 否 | 备注信息 |
» cost | body | [object] | 否 | none |
»» exp | body | integer | 是 | 支持类别 |
»» money | body | string | 是 | 金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/sre/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0
},
"info": [
{
"id": 0,
"sre": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"price": 0,
"tpe": 0,
"nums": 0,
"serial": ["string"],
"batch": "string",
"mfg": "string",
"discount": 0,
"dsc": 0,
"total": 0,
"tax": 0,
"tat": 0,
"tpt": 0,
"cost": 0,
"data": "string",
"str": {
"spec": "string",
"cell": "string",
"serial": "string",
"exp": "string",
"code": "string"
},
"relation": {
"state": true,
"number": "string"
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
},
"relation_data": null
}
],
"cost": [
{
"id": 0,
"type": "string",
"model": "string",
"form": 0,
"exp": 0,
"money": 0,
"data": "string",
"settle": 0,
"state": 0
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» customer | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» total | integer | true | none | none | |
»» discount | integer | true | none | none | |
»» actual | integer | true | none | none | |
»» money | integer | true | none | none | |
»» account | integer | true | none | none | |
»» cost | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» logistic | object | true | none | none | |
»»» key | string | true | none | none | |
»»» number | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» amount | integer | true | none | none | |
»» examine | integer | true | none | none | |
»» check | integer | true | none | none | |
»» nucleus | integer | true | none | none | |
»» cse | integer | true | none | none | |
»» invoice | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» sre | integer | false | none | none | |
»» goods | integer | false | none | none | |
»» spec | string | false | none | none | |
»» cell | integer | false | none | none | |
»» warehouse | integer | false | none | none | |
»» price | integer | false | none | none | |
»» tpe | integer | false | none | none | |
»» nums | integer | false | none | none | |
»» serial | [string] | false | none | none | |
»» batch | string | false | none | none | |
»» mfg | string | false | none | none | |
»» discount | integer | false | none | none | |
»» dsc | integer | false | none | none | |
»» total | integer | false | none | none | |
»» tax | integer | false | none | none | |
»» tat | integer | false | none | none | |
»» tpt | integer | false | none | none | |
»» cost | integer | false | none | none | |
»» data | string | false | none | none | |
»» str | object | false | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» serial | string | true | none | none | |
»»» exp | string | true | none | none | |
»»» code | string | true | none | none | |
»» relation | object | false | none | none | |
»»» state | boolean | true | none | none | |
»»» number | string | true | none | none | |
»» goods_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»» relation_data | null | false | none | none | |
» cost | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» type | string | false | none | none | |
»» model | string | false | none | none | |
»» form | integer | false | none | none | |
»» exp | integer | false | none | none | |
»» money | integer | false | none | none | |
»» data | string | false | none | none | |
»» settle | integer | false | none | none | |
»» state | integer | false | none | none |
DELETE 删除
DELETE /api/sre/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/sre/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)核对
POST /api/sre/check
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/sre/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
库存查询
GET 列表
GET /api/stock/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
code[] | query | array[string] | 否 | 商品条码 |
data[] | query | array[string] | 否 | 备注信息 |
category[] | query | array[string] | 否 | 商品类别 |
brand[] | query | array[string] | 否 | 商品品牌 |
warehouse[] | query | array[string] | 否 | 仓库 |
type | query | string | 是 | 查询类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": {
"goods": 0,
"spec": [null],
"warehouse": [null]
},
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"str": {
"st": "string",
"ut": "string",
"alloc": "string",
"level": "string",
"seq": "string",
"batch": "string",
"pov": "string",
"state": "string"
},
"attr": ["string"],
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"key": 0,
"summary": {
"base": 0,
"nums": "string"
},
"stock_2": {
"base": 0,
"nums": "string"
}
}
],
"column": [
{
"id": 0,
"key": "string",
"name": "string"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» py | string | false | none | none | |
»»» number | string | false | none | none | |
»»» category | integer | false | none | none | |
»»» brand | string | false | none | none | |
»»» st | boolean | false | none | none | |
»»» mdl | string | false | none | none | |
»»» spec | string | false | none | none | |
»»» ut | boolean | false | none | none | |
»»» unit | string | false | none | none | |
»»» cell | integer | false | none | none | |
»»» code | string | false | none | none | |
»»» buy | integer | false | none | none | |
»»» sell | integer | false | none | none | |
»»» tax | integer | false | none | none | |
»»» warehouse | string | false | none | none | |
»»» alloc | boolean | false | none | none | |
»»» esp | string | false | none | none | |
»»» level | boolean | false | none | none | |
»»» seq | boolean | false | none | none | |
»»» batch | boolean | false | none | none | |
»»» pov | boolean | false | none | none | |
»»» qgp | integer | false | none | none | |
»»» ady | integer | false | none | none | |
»»» img | string | false | none | none | |
»»» file | [string] | false | none | none | |
»»» detail | object | false | none | none | |
»»»» goods | integer | true | none | none | |
»»»» spec | [string] | true | none | none | |
»»»» warehouse | [integer] | true | none | none | |
»»» field | object | false | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | false | none | none | |
»»» data | string | false | none | none | |
»»» str | object | false | none | none | |
»»»» st | string | true | none | none | |
»»»» ut | string | true | none | none | |
»»»» alloc | string | true | none | none | |
»»»» level | string | true | none | none | |
»»»» seq | string | true | none | none | |
»»»» batch | string | true | none | none | |
»»»» pov | string | true | none | none | |
»»»» state | string | true | none | none | |
»»» attr | [string] | false | none | none | |
»»» category_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»» unit_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» key | integer | false | none | none | |
»»» summary | object | false | none | none | |
»»»» base | number | true | none | none | |
»»»» nums | string | true | none | none | |
»»» stock_2 | object | false | none | none | |
»»»» base | number | true | none | none | |
»»»» nums | string | true | none | none | |
»» column | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» key | string | false | none | none | |
»»» name | string | false | none | none |
GET 导出
GET /api/stock/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
code[] | query | array[string] | 否 | 商品条码 |
data[] | query | array[string] | 否 | 备注信息 |
category[] | query | array[string] | 否 | 商品类别 |
brand[] | query | array[string] | 否 | 商品品牌 |
warehouse[] | query | array[string] | 否 | 仓库 |
type | query | string | 是 | 查询类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://*****/storage/tmp/66fcf09f53f80.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
批次查询
GET 列表
GET /api/batch/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
batch[] | query | array[string] | 否 | 批次号码 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
code[] | query | array[string] | 否 | 商品条码 |
data[] | query | array[string] | 否 | 备注信息 |
category[] | query | array[string] | 否 | 商品类别 |
brand[] | query | array[string] | 否 | 商品品牌 |
warehouse[] | query | array[string] | 否 | 仓库 |
mfg | query | string | 否 | 生产时间 |
type | query | string | 是 | 批次类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"],
"column": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none | |
»» column | [string] | true | none | none |
GET 导出
GET /api/batch/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
batch[] | query | array[string] | 否 | 批次号码 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
code[] | query | array[string] | 否 | 商品条码 |
data[] | query | array[string] | 否 | 备注信息 |
category[] | query | array[string] | 否 | 商品类别 |
brand[] | query | array[string] | 否 | 商品品牌 |
warehouse[] | query | array[string] | 否 | 仓库 |
mfg | query | string | 否 | 生产时间 |
type | query | string | 是 | 批次类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcf0d174506.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
序列查询
GET 列表
GET /api/serial/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
serial[] | query | array[string] | 否 | 序列号码 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
code[] | query | array[string] | 否 | 商品条码 |
data[] | query | array[string] | 否 | 备注信息 |
category[] | query | array[string] | 否 | 商品类别 |
brand[] | query | array[string] | 否 | 商品品牌 |
warehouse[] | query | array[string] | 否 | 仓库 |
state | query | string | 否 | 序列状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
GET 导出
GET /api/serial/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
serial[] | query | array[string] | 否 | 序列号码 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
code[] | query | array[string] | 否 | 商品条码 |
data[] | query | array[string] | 否 | 备注信息 |
category[] | query | array[string] | 否 | 商品类别 |
brand[] | query | array[string] | 否 | 商品品牌 |
warehouse[] | query | array[string] | 否 | 仓库 |
state | query | string | 否 | 序列状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcf1b26e5d3.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
盘点单
GET 列表
GET /api/check/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
warehouse | query | string | 是 | 仓库 |
name | query | string | 否 | 商品名称 |
number | query | string | 否 | 商品编号 |
category[] | query | array[string] | 否 | 商品类别 |
brand[] | query | array[string] | 否 | 商品品牌 |
data | query | string | 否 | 备注信息 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": [
{
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"warehouse": "string",
"warehouse_data": 0,
"unit": "string",
"cell_data": 0,
"check": "string",
"out": "string",
"in": "string",
"key": 0,
"spec": "string",
"spec_data": "string",
"base": 0,
"nums": "string"
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» goods_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» warehouse | string | false | none | none | |
»» warehouse_data | integer | false | none | none | |
»» unit | string | false | none | none | |
»» cell_data | integer | false | none | none | |
»» check | string | false | none | none | |
»» out | string | false | none | none | |
»» in | string | false | none | none | |
»» key | integer | false | none | none | |
»» spec | string | false | none | none | |
»» spec_data | string | false | none | none | |
»» base | number | false | none | none | |
»» nums | string | false | none | none |
GET 盘点模板
GET /api/check/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
warehouse | query | string | 是 | 仓库 ID |
name | query | string | 否 | 商品名称 |
number | query | string | 否 | 商品编号 |
data | query | string | 否 | 备注信息 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
调拨单
GET 列表
GET /api/transfer/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
cse | query | string | 否 | 费用状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/transfer/save
Body 请求参数
{
"form": {
"id": 2,
"time": "2024-09-30",
"number": "DBD0002",
"cost": 1,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"examine": 0,
"cse": 0
},
"info": [
{
"goods": 2,
"spec": "",
"cell": 1,
"warehouse": 2,
"store": 3,
"nums": 1,
"serial": [],
"batch": "",
"mfg": "",
"cost": 1,
"data": ""
}
],
"cost": [
{
"exp": 3,
"money": "1",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» cost | body | number | 是 | 单据费用 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» logistic | body | object | 否 | 物流信息 |
»»» key | body | string | 是 | none |
»»» number | body | string | 是 | none |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» examine | body | integer | 否 | 审核状态 |
»» cse | body | integer | 否 | 费用状态 |
» info | body | [object] | 是 | 详情内容 |
»» goods | body | integer | 是 | 商品信息 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 调出仓库 |
»» store | body | integer | 是 | 调入仓库 |
»» nums | body | number | 是 | 数量 |
»» serial | body | [string] | 否 | 序列号 |
»» batch | body | string | 否 | 批次号 |
»» mfg | body | integer | 否 | 生产日期 |
»» cost | body | number | 是 | 费用 |
»» data | body | string | 否 | 备注信息 |
» cost | body | [object] | 否 | 单据费用 |
»» exp | body | integer | 是 | 支出类别 |
»» money | body | number | 是 | 金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/transfer/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"time": "string",
"number": "string",
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0,
"cse": 0
},
"info": [
{
"id": 0,
"transfer": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"store": 0,
"nums": 0,
"serial": ["string"],
"batch": "string",
"mfg": "string",
"cost": 0,
"data": "string",
"str": {
"spec": "string",
"cell": "string",
"serial": "string",
"exp": "string",
"code": "string"
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
},
"store_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
}
}
],
"cost": [
{
"id": 0,
"type": "string",
"model": "string",
"form": 0,
"exp": 0,
"money": 0,
"data": "string",
"settle": 0,
"state": 0
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» cost | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» logistic | object | true | none | none | |
»»» key | string | true | none | none | |
»»» number | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» examine | integer | true | none | none | |
»» cse | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» transfer | integer | false | none | none | |
»» goods | integer | false | none | none | |
»» spec | string | false | none | none | |
»» cell | integer | false | none | none | |
»» warehouse | integer | false | none | none | |
»» store | integer | false | none | none | |
»» nums | integer | false | none | none | |
»» serial | [string] | false | none | none | |
»» batch | string | false | none | none | |
»» mfg | string | false | none | none | |
»» cost | integer | false | none | none | |
»» data | string | false | none | none | |
»» str | object | false | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» serial | string | true | none | none | |
»»» exp | string | true | none | none | |
»»» code | string | true | none | none | |
»» goods_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»» store_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
» cost | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» type | string | false | none | none | |
»» model | string | false | none | none | |
»» form | integer | false | none | none | |
»» exp | integer | false | none | none | |
»» money | integer | false | none | none | |
»» data | string | false | none | none | |
»» settle | integer | false | none | none | |
»» state | integer | false | none | none |
DELETE 删除
DELETE /api/transfer/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/transfer/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/transfer/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
组装单
GET 列表
GET /api/make/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
bom[] | query | array[string] | 否 | 关联 BOM |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
cse | query | string | 否 | 费用状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/make/save
Body 请求参数
{
"form": {
"id": 2,
"time": "2024-09-30",
"number": "ZZD0002",
"bom": "",
"cost": 1,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"examine": 0,
"cse": 0
},
"info": [
{
"goods": 1,
"type": 1,
"spec": "",
"cell": "",
"warehouse": 3,
"price": "0",
"nums": 1,
"serial": [],
"batch": "29-12",
"mfg": "2024-09-30",
"total": 0,
"cost": 1,
"data": ""
},
{
"goods": 2,
"type": 0,
"spec": "",
"cell": 1,
"warehouse": 3,
"price": 0,
"nums": "10",
"serial": [],
"batch": "",
"mfg": "",
"total": 0,
"cost": 0,
"data": ""
}
],
"cost": [
{
"exp": 3,
"money": "1",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» bom | body | integer | 是 | 关联 BOM |
»» cost | body | number | 是 | 单据费用 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» logistic | body | object | 否 | 物流信息 |
»»» key | body | string | 是 | none |
»»» number | body | string | 是 | none |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» examine | body | integer | 否 | 审核状态 |
»» cse | body | integer | 否 | 费用状态 |
» info | body | [object] | 是 | 详情内容 |
»» goods | body | integer | 是 | 商品信息 |
»» type | body | integer | 是 | 组件类型 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 仓库 |
»» price | body | number | 是 | 单价 |
»» nums | body | number | 是 | 数量 |
»» serial | body | [string] | 否 | 序列号 |
»» batch | body | string | 否 | 批次号 |
»» mfg | body | integer | 否 | 生产日期 |
»» total | body | number | 是 | 金额 |
»» cost | body | number | 是 | 费用 |
»» data | body | string | 否 | 备注信息 |
» cost | body | [object] | 否 | 单据费用 |
»» exp | body | integer | 是 | 支出类型 |
»» money | body | number | 是 | 金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/make/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"time": "string",
"number": "string",
"bom": "string",
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0,
"cse": 0
},
"info": [
{
"id": 0,
"make": 0,
"goods": 0,
"type": 0,
"spec": "string",
"cell": "string",
"warehouse": 0,
"price": 0,
"nums": 0,
"serial": ["string"],
"batch": "string",
"mfg": "string",
"total": 0,
"cost": 0,
"data": "string",
"str": {
"spec": "string",
"cell": "string",
"serial": "string",
"type": "string",
"exp": "string",
"code": "string"
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": "string",
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
}
}
],
"cost": [
{
"id": 0,
"type": "string",
"model": "string",
"form": 0,
"exp": 0,
"money": 0,
"data": "string",
"settle": 0,
"state": 0
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» bom | string | true | none | none | |
»» cost | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» logistic | object | true | none | none | |
»»» key | string | true | none | none | |
»»» number | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» examine | integer | true | none | none | |
»» cse | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | true | none | none | |
»» make | integer | true | none | none | |
»» goods | integer | true | none | none | |
»» type | integer | true | none | none | |
»» spec | string | true | none | none | |
»» cell | string | true | none | none | |
»» warehouse | integer | true | none | none | |
»» price | integer | true | none | none | |
»» nums | integer | true | none | none | |
»» serial | [string] | true | none | none | |
»» batch | string | true | none | none | |
»» mfg | string | true | none | none | |
»» total | integer | true | none | none | |
»» cost | integer | true | none | none | |
»» data | string | true | none | none | |
»» str | object | true | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» serial | string | true | none | none | |
»»» type | string | true | none | none | |
»»» exp | string | true | none | none | |
»»» code | string | true | none | none | |
»» goods_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
» cost | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» type | string | false | none | none | |
»» model | string | false | none | none | |
»» form | integer | false | none | none | |
»» exp | integer | false | none | none | |
»» money | integer | false | none | none | |
»» data | string | false | none | none | |
»» settle | integer | false | none | none | |
»» state | integer | false | none | none |
POST (反)审核
POST /api/make/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
DELETE 删除
DELETE /api/make/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/make/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
拆卸单
GET 列表
GET /api/divide/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
bom[] | query | array[string] | 否 | 关联 BOM |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
cse | query | string | 否 | 费用状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/divide/save
Body 请求参数
{
"form": {
"id": 2,
"time": "2024-09-30",
"number": "CXD0002",
"bom": "",
"cost": 1,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"examine": 0,
"cse": 0
},
"info": [
{
"goods": 2,
"type": 1,
"spec": "",
"cell": 1,
"warehouse": 2,
"price": 0,
"nums": 1,
"serial": [],
"batch": "",
"mfg": "",
"total": 0,
"cost": 0,
"data": ""
},
{
"goods": 1,
"type": 0,
"spec": "",
"cell": "",
"warehouse": 2,
"price": 399,
"nums": 2,
"serial": [],
"batch": "2-19",
"mfg": "2024-09-25",
"total": 798,
"cost": "0",
"data": ""
}
],
"cost": [
{
"exp": 3,
"money": "1",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» bom | body | integer | 否 | 关联 BOM |
»» cost | body | number | 是 | 单据费用 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» logistic | body | object | 否 | 物流信息 |
»»» key | body | string | 是 | none |
»»» number | body | string | 是 | none |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» examine | body | integer | 否 | 审核状态 |
»» cse | body | integer | 否 | 费用状态 |
» info | body | [object] | 是 | 详情内容 |
»» goods | body | integer | 是 | 商品信息 |
»» type | body | integer | 是 | 组件类型 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 仓库 |
»» price | body | number | 是 | 单价 |
»» nums | body | number | 是 | 数量 |
»» serial | body | [string] | 否 | 序列号 |
»» batch | body | string | 否 | 批次号 |
»» mfg | body | integer | 否 | 生产日期 |
»» total | body | number | 是 | 金额 |
»» cost | body | number | 是 | 费用 |
»» data | body | string | 否 | 备注信息 |
» cost | body | [object] | 否 | 单据费用 |
»» exp | body | integer | 是 | 支出类别 |
»» money | body | string | 是 | 金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/divide/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"time": "string",
"number": "string",
"bom": "string",
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0,
"cse": 0
},
"info": [
{
"id": 0,
"divide": 0,
"goods": 0,
"type": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"price": 0,
"nums": 0,
"serial": ["string"],
"batch": "string",
"mfg": "string",
"total": 0,
"cost": 0,
"data": "string",
"str": {
"spec": "string",
"cell": "string",
"serial": "string",
"type": "string",
"exp": "string",
"code": "string"
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
}
}
],
"cost": [
{
"id": 0,
"type": "string",
"model": "string",
"form": 0,
"exp": 0,
"money": 0,
"data": "string",
"settle": 0,
"state": 0
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» bom | string | true | none | none | |
»» cost | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» logistic | object | true | none | none | |
»»» key | string | true | none | none | |
»»» number | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» examine | integer | true | none | none | |
»» cse | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | true | none | none | |
»» divide | integer | true | none | none | |
»» goods | integer | true | none | none | |
»» type | integer | true | none | none | |
»» spec | string | true | none | none | |
»» cell | integer | true | none | none | |
»» warehouse | integer | true | none | none | |
»» price | integer | true | none | none | |
»» nums | integer | true | none | none | |
»» serial | [string] | true | none | none | |
»» batch | string | true | none | none | |
»» mfg | string | true | none | none | |
»» total | integer | true | none | none | |
»» cost | integer | true | none | none | |
»» data | string | true | none | none | |
»» str | object | true | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» serial | string | true | none | none | |
»»» type | string | true | none | none | |
»»» exp | string | true | none | none | |
»»» code | string | true | none | none | |
»» goods_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | false | none | none | |
»»»» state | boolean | false | none | none | |
»»»» data | string | false | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» nums | integer | false | none | none | |
»» warehouse_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
» cost | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» type | string | false | none | none | |
»» model | string | false | none | none | |
»» form | integer | false | none | none | |
»» exp | integer | false | none | none | |
»» money | integer | false | none | none | |
»» data | string | false | none | none | |
»» settle | integer | false | none | none | |
»» state | integer | false | none | none |
DELETE 删除
DELETE /api/divide/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/divide/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/divide/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
其他入库单
GET 列表
GET /api/entry/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
type | query | string | 否 | 单据类型 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
cse | query | string | 否 | 费用状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/entry/save
Body 请求参数
{
"form": {
"id": 2,
"supplier": "",
"time": "2024-09-30",
"number": "QTRKD0002",
"type": 0,
"total": 100,
"cost": 10,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"examine": 0,
"cse": 0
},
"info": [
{
"goods": 2,
"spec": "",
"cell": 1,
"warehouse": 3,
"price": 10,
"nums": "10",
"serial": [],
"batch": "",
"mfg": "",
"total": 100,
"cost": 10,
"data": ""
}
],
"cost": [
{
"exp": 3,
"money": "10",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» supplier | body | integer | 否 | 供应商 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» type | body | integer | 是 | 单据类型 |
»» total | body | number | 是 | 单据金额 |
»» cost | body | number | 是 | 单据费用 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» logistic | body | object | 否 | 物流信息 |
»»» key | body | string | 是 | none |
»»» number | body | string | 是 | none |
»» file | body | [string] | 否 | 问价附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» examine | body | integer | 否 | 审核状态 |
»» cse | body | integer | 否 | 费用状态 |
» info | body | [object] | 是 | 详情内容 |
»» goods | body | integer | 是 | 商品信息 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 仓库 |
»» price | body | number | 是 | 单价 |
»» nums | body | number | 是 | 数量 |
»» serial | body | [string] | 否 | 序列号 |
»» batch | body | string | 否 | 批次号 |
»» mfg | body | integer | 否 | 生产日期 |
»» total | body | number | 是 | 金额 |
»» cost | body | number | 是 | 费用 |
»» data | body | string | 否 | 备注信息 |
» cost | body | [object] | 否 | 单据费用 |
»» exp | body | integer | 是 | 支出类别 |
»» money | body | number | 是 | 金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/entry/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"supplier": "string",
"time": "string",
"number": "string",
"type": 0,
"total": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0,
"cse": 0
},
"info": [
{
"id": 0,
"entry": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"price": 0,
"nums": 0,
"serial": ["string"],
"batch": "string",
"mfg": "string",
"total": 0,
"cost": 0,
"data": "string",
"str": {
"spec": "string",
"cell": "string",
"serial": "string",
"exp": "string",
"code": "string"
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
}
}
],
"cost": [
{
"id": 0,
"type": "string",
"model": "string",
"form": 0,
"exp": 0,
"money": 0,
"data": "string",
"settle": 0,
"state": 0
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» supplier | string | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» type | integer | true | none | none | |
»» total | integer | true | none | none | |
»» cost | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» logistic | object | true | none | none | |
»»» key | string | true | none | none | |
»»» number | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» examine | integer | true | none | none | |
»» cse | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» entry | integer | false | none | none | |
»» goods | integer | false | none | none | |
»» spec | string | false | none | none | |
»» cell | integer | false | none | none | |
»» warehouse | integer | false | none | none | |
»» price | integer | false | none | none | |
»» nums | integer | false | none | none | |
»» serial | [string] | false | none | none | |
»» batch | string | false | none | none | |
»» mfg | string | false | none | none | |
»» total | integer | false | none | none | |
»» cost | integer | false | none | none | |
»» data | string | false | none | none | |
»» str | object | false | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» serial | string | true | none | none | |
»»» exp | string | true | none | none | |
»»» code | string | true | none | none | |
»» goods_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
» cost | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» type | string | false | none | none | |
»» model | string | false | none | none | |
»» form | integer | false | none | none | |
»» exp | integer | false | none | none | |
»» money | integer | false | none | none | |
»» data | string | false | none | none | |
»» settle | integer | false | none | none | |
»» state | integer | false | none | none |
DELETE 删除
DELETE /api/entry/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/entry/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/entry/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
其他出库单
GET 列表
GET /api/extry/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
type | query | string | 否 | 单据类型 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
cse | query | string | 否 | 费用状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/extry/save
Body 请求参数
{
"form": {
"id": 2,
"customer": 3,
"time": "2024-09-30",
"number": "QTCKD0002",
"type": 0,
"total": 0,
"cost": 10,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"examine": 0,
"cse": 0
},
"info": [
{
"goods": 2,
"spec": "",
"cell": 1,
"warehouse": 3,
"price": 0,
"nums": "10",
"serial": [],
"batch": "",
"mfg": "",
"total": 0,
"data": ""
}
],
"cost": [
{
"exp": 3,
"money": "10",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» customer | body | integer | 否 | 客户 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» type | body | integer | 是 | 单据类型 |
»» total | body | number | 是 | 单据金额 |
»» cost | body | number | 是 | 单据费用 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» logistic | body | object | 否 | 物流信息 |
»»» key | body | string | 是 | none |
»»» number | body | string | 是 | none |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» examine | body | integer | 否 | 审核状态 |
»» cse | body | integer | 否 | 费用状态 |
» info | body | [object] | 是 | 详情内容 |
»» goods | body | integer | 是 | 商品信息 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 仓库 |
»» price | body | number | 是 | 单价 |
»» nums | body | number | 是 | 数量 |
»» serial | body | [string] | 否 | 序列号 |
»» batch | body | string | 否 | 批次号 |
»» mfg | body | integer | 否 | 生产日期 |
»» total | body | number | 是 | 金额 |
»» data | body | string | 否 | 备注信息 |
» cost | body | [object] | 否 | 单据费用 |
»» exp | body | integer | 是 | 支出类别 |
»» money | body | number | 是 | 金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/extry/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | array[string] | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"type": 0,
"total": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0,
"cse": 0
},
"info": [
{
"id": 0,
"extry": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"price": 0,
"nums": 0,
"serial": ["string"],
"batch": "string",
"mfg": "string",
"total": 0,
"data": "string",
"str": {
"spec": "string",
"cell": "string",
"serial": "string",
"exp": "string",
"code": "string"
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
}
}
],
"cost": [
{
"id": 0,
"type": "string",
"model": "string",
"form": 0,
"exp": 0,
"money": 0,
"data": "string",
"settle": 0,
"state": 0
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» customer | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» type | integer | true | none | none | |
»» total | integer | true | none | none | |
»» cost | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» logistic | object | true | none | none | |
»»» key | string | true | none | none | |
»»» number | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» examine | integer | true | none | none | |
»» cse | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» extry | integer | false | none | none | |
»» goods | integer | false | none | none | |
»» spec | string | false | none | none | |
»» cell | integer | false | none | none | |
»» warehouse | integer | false | none | none | |
»» price | integer | false | none | none | |
»» nums | integer | false | none | none | |
»» serial | [string] | false | none | none | |
»» batch | string | false | none | none | |
»» mfg | string | false | none | none | |
»» total | integer | false | none | none | |
»» data | string | false | none | none | |
»» str | object | false | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» serial | string | true | none | none | |
»»» exp | string | true | none | none | |
»»» code | string | true | none | none | |
»» goods_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
» cost | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» type | string | false | none | none | |
»» model | string | false | none | none | |
»» form | integer | false | none | none | |
»» exp | integer | false | none | none | |
»» money | integer | false | none | none | |
»» data | string | false | none | none | |
»» settle | integer | false | none | none | |
»» state | integer | false | none | none |
DELETE 删除
DELETE /api/extry/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/extry/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/extry/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
成本调整单
GET 列表
GET /api/adj/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | none |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/adj/save
Body 请求参数
{
"form": {
"id": 2,
"time": "2024-09-30",
"number": "CBTZD0002",
"frame": 1,
"user": 1,
"person": "",
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"examine": 0
},
"info": [
{
"goods": 2,
"spec": "",
"cell": 1,
"warehouse": 3,
"price": "10",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» examine | body | integer | 否 | 审核状态 |
» info | body | [object] | 是 | 详情内容 |
»» goods | body | integer | 是 | 商品信息 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 仓库 |
»» price | body | number | 否 | 调整单价 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/adj/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"time": "string",
"number": "string",
"frame": 0,
"user": 0,
"person": "string",
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0
},
"info": [
{
"id": 0,
"adj": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"price": 0,
"data": "string",
"str": {
"spec": "string",
"cell": "string",
"code": "string"
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
}
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» examine | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» adj | integer | false | none | none | |
»» goods | integer | false | none | none | |
»» spec | string | false | none | none | |
»» cell | integer | false | none | none | |
»» warehouse | integer | false | none | none | |
»» price | integer | false | none | none | |
»» data | string | false | none | none | |
»» str | object | false | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» code | string | true | none | none | |
»» goods_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none |
DELETE 删除
DELETE /api/adj/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/adj/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/adj/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
付款单
GET 列表
GET /api/omy/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
nucleus | query | string | 否 | 结算状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/omy/save
Body 请求参数
{
"form": {
"id": 2,
"supplier": 2,
"time": "2024-09-30",
"number": "FKD0002",
"total": 1000,
"frame": 1,
"user": 1,
"person": "",
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 0,
"examine": 0,
"nucleus": 0
},
"info": [
{
"account": 3,
"money": "1000",
"settle": "",
"data": "",
"relation": {
"state": false
}
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» supplier | body | integer | 是 | 供应商 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» total | body | number | 是 | 单据金额 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 是 | 扩展字段 a |
»»» b | body | string | 是 | 扩展字段 b |
»»» c | body | string | 是 | 扩展字段 c |
»»» d | body | string | 是 | 扩展字段 d |
»»» e | body | string | 是 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» amount | body | number | 否 | 结算金额 |
»» examine | body | integer | 否 | 审核状态 |
»» nucleus | body | integer | 否 | 结算状态 |
» info | body | [object] | 是 | 详情内容 |
»» account | body | integer | 是 | 资金账户 |
»» money | body | number | 是 | 金额 |
»» settle | body | string | 否 | 结算号 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/omy/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"supplier": 0,
"time": "string",
"number": "string",
"total": 0,
"frame": 0,
"user": 0,
"person": "string",
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"nucleus": 0
},
"info": [
{
"id": 0,
"omy": 0,
"account": 0,
"money": 0,
"settle": "string",
"data": "string",
"relation": {
"state": true,
"number": "string"
},
"account_data": {
"id": 0,
"name": "string",
"number": "string",
"time": "string",
"money": 0,
"frame": 0,
"state": true,
"data": "string",
"balance": 0
},
"relation_data": null
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» supplier | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» total | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» amount | integer | true | none | none | |
»» examine | integer | true | none | none | |
»» nucleus | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» omy | integer | false | none | none | |
»» account | integer | false | none | none | |
»» money | integer | false | none | none | |
»» settle | string | false | none | none | |
»» data | string | false | none | none | |
»» relation | object | false | none | none | |
»»» state | boolean | true | none | none | |
»»» number | string | true | none | none | |
»» account_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» time | string | true | none | none | |
»»» money | integer | true | none | none | |
»»» frame | integer | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» balance | integer | true | none | none | |
»» relation_data | null | false | none | none |
DELETE 删除
DELETE /api/omy/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/omy/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/omy/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
收款单
GET 列表
GET /api/imy/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
nucleus | query | string | 否 | 结算状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/imy/save
Body 请求参数
{
"form": {
"id": 2,
"customer": 3,
"time": "2024-10-01",
"number": "SKD0002",
"total": 120,
"frame": 1,
"user": 1,
"person": "",
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 0,
"examine": 0,
"nucleus": 0
},
"info": [
{
"account": 3,
"money": "120",
"settle": "",
"data": "",
"relation": {
"state": false
}
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» customer | body | integer | 是 | 客户 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» total | body | number | 是 | 单据金额 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» amount | body | number | 否 | 结算金额 |
»» examine | body | integer | 否 | 审核状态 |
»» nucleus | body | integer | 否 | 结算过状态 |
» info | body | [object] | 是 | 详情内容 |
»» account | body | integer | 是 | 资金账户 |
»» money | body | number | 是 | 金额 |
»» settle | body | string | 否 | 结算号 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/imy/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"frame": 0,
"user": 0,
"person": "string",
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"nucleus": 0
},
"info": [
{
"id": 0,
"imy": 0,
"account": 0,
"money": 0,
"settle": "string",
"data": "string",
"relation": {
"state": true,
"number": "string"
},
"account_data": {
"id": 0,
"name": "string",
"number": "string",
"time": "string",
"money": 0,
"frame": 0,
"state": true,
"data": "string",
"balance": 0
},
"relation_data": null
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» customer | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» total | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» amount | integer | true | none | none | |
»» examine | integer | true | none | none | |
»» nucleus | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» imy | integer | false | none | none | |
»» account | integer | false | none | none | |
»» money | integer | false | none | none | |
»» settle | string | false | none | none | |
»» data | string | false | none | none | |
»» relation | object | false | none | none | |
»»» state | boolean | true | none | none | |
»»» number | string | true | none | none | |
»» account_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» time | string | true | none | none | |
»»» money | integer | true | none | none | |
»»» frame | integer | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» balance | integer | true | none | none | |
»» relation_data | null | false | none | none |
DELETE 删除
DELETE /api/imy/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/imy/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/imy/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
转账单
GET 列表
GET /api/allot/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | none |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/allot/save
Body 请求参数
{
"form": {
"id": 2,
"time": "2024-10-01",
"number": "ZZD0002",
"total": 100,
"frame": 1,
"user": 1,
"person": "",
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"examine": 0
},
"info": [
{
"out": 3,
"in": 5,
"money": "100",
"settle": "",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» total | body | number | 是 | 单据金额 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» examine | body | integer | 否 | 审核状态 |
» info | body | [object] | 是 | 详情内容 |
»» out | body | integer | 是 | 转出账户 |
»» in | body | integer | 是 | 转入账户 |
»» money | body | number | 是 | 金额 |
»» settle | body | string | 否 | 结算号 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/allot/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"time": "string",
"number": "string",
"total": 0,
"frame": 0,
"user": 0,
"person": "string",
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0
},
"info": [
{
"id": 0,
"allot": 0,
"out": 0,
"in": 0,
"money": 0,
"settle": "string",
"data": "string",
"out_data": {
"id": 0,
"name": "string",
"number": "string",
"time": "string",
"money": 0,
"frame": 0,
"state": true,
"data": "string",
"balance": 0
},
"in_data": {
"id": 0,
"name": "string",
"number": "string",
"time": "string",
"money": 0,
"frame": "string",
"state": true,
"data": "string",
"balance": 0
}
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» total | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» examine | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» allot | integer | false | none | none | |
»» out | integer | false | none | none | |
»» in | integer | false | none | none | |
»» money | integer | false | none | none | |
»» settle | string | false | none | none | |
»» data | string | false | none | none | |
»» out_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» time | string | true | none | none | |
»»» money | integer | true | none | none | |
»»» frame | integer | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» balance | integer | true | none | none | |
»» in_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» time | string | true | none | none | |
»»» money | integer | true | none | none | |
»»» frame | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» balance | integer | true | none | none |
DELETE 删除
DELETE /api/allot/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/allot/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/allot/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
结算单
GET 列表
GET /api/bill/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
customer[] | query | array[string] | 否 | 客户 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
type | query | string | 否 | 结算类型 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/bill/save
Body 请求参数
{
"form": {
"id": 2,
"customer": 3,
"supplier": "",
"time": "2024-10-01",
"number": "JSD0002",
"type": 0,
"frame": 1,
"user": 1,
"person": "",
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"examine": 0
},
"info": [
{
"mold": "cia",
"type": "imy",
"form": 1,
"money": 10,
"data": ""
},
{
"mold": "re",
"type": "sell",
"form": 3,
"money": 10,
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» customer | body | integer | 否 | 客户 |
»» supplier | body | integer | 否 | 供应商 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» type | body | integer | 是 | 结算类型 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» examine | body | integer | 否 | 审核状态 |
» info | body | [object] | 是 | 详情内容 |
»» mold | body | string | 是 | 单据模型 |
»» type | body | string | 是 | 单据类型 |
»» form | body | integer | 是 | 单据主键 |
»» money | body | number | 是 | 结算金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/bill/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"customer": 0,
"supplier": "string",
"time": "string",
"number": "string",
"type": 0,
"frame": 0,
"user": 0,
"person": "string",
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0
},
"info": [
{
"id": 0,
"bill": 0,
"mold": "string",
"type": "string",
"model": "string",
"form": 0,
"money": 0,
"data": "string",
"str": {
"mold": "string",
"type": "string"
},
"form_data": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"frame": 0,
"user": 0,
"person": "string",
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"nucleus": 0,
"discount": 0,
"cbc": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"logistic": {
"key": "string",
"number": "string"
},
"check": 0,
"cse": 0,
"invoice": 0
},
"amount": 0,
"total": 0,
"uat": 0
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» customer | integer | true | none | none | |
»» supplier | string | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» type | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» examine | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | true | none | none | |
»» bill | integer | true | none | none | |
»» mold | string | true | none | none | |
»» type | string | true | none | none | |
»» model | string | true | none | none | |
»» form | integer | true | none | none | |
»» money | integer | true | none | none | |
»» data | string | true | none | none | |
»» str | object | true | none | none | |
»»» mold | string | true | none | none | |
»»» type | string | true | none | none | |
»» form_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» customer | integer | true | none | none | |
»»» time | string | true | none | none | |
»»» number | string | true | none | none | |
»»» total | integer | true | none | none | |
»»» frame | integer | true | none | none | |
»»» user | integer | true | none | none | |
»»» person | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» data | string | true | none | none | |
»»» amount | integer | true | none | none | |
»»» examine | integer | true | none | none | |
»»» nucleus | integer | true | none | none | |
»»» discount | integer | true | none | none | |
»»» cbc | integer | true | none | none | |
»»» actual | integer | true | none | none | |
»»» money | integer | true | none | none | |
»»» account | integer | true | none | none | |
»»» cost | integer | true | none | none | |
»»» logistic | object | true | none | none | |
»»»» key | string | true | none | none | |
»»»» number | string | true | none | none | |
»»» check | integer | true | none | none | |
»»» cse | integer | true | none | none | |
»»» invoice | integer | true | none | none | |
»» amount | integer | true | none | none | |
»» total | integer | true | none | none | |
»» uat | integer | true | none | none |
DELETE 删除
DELETE /api/bill/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/bill/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/bill/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
应收减免单
GET 列表
GET /api/crn/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
nucleus | query | string | 否 | 结算状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/crn/save
Body 请求参数
{
"id": 2,
"customer": 3,
"time": "2024-10-01",
"number": "YSJMD0001",
"reduction": "2",
"data": "",
"amount": 0,
"nucleus": 0
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» customer | body | integer | 是 | 客户 |
» time | body | integer | 是 | 单据时间 |
» number | body | string | 是 | 单据编号 |
» reduction | body | number | 是 | 减免金额 |
» data | body | string | 否 | 备注信息 |
» amount | body | number | 否 | 结算金额 |
» nucleus | body | integer | 否 | 结算状态 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/crn/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"time": "string",
"number": "string",
"customer": 0,
"reduction": 0,
"data": "string",
"amount": 0,
"nucleus": 0
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» customer | integer | true | none | none | |
»» reduction | integer | true | none | none | |
»» data | string | true | none | none | |
»» amount | integer | true | none | none | |
»» nucleus | integer | true | none | none |
DELETE 删除
DELETE /api/crn/destroy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
应付减免单
GET 列表
GET /api/srn/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
supplier[] | query | string | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
nucleus | query | string | 否 | 结算状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/srn/save
Body 请求参数
{
"id": 2,
"supplier": 2,
"time": "2024-10-01",
"number": "YFJMD0002",
"reduction": "10",
"data": "",
"amount": 0,
"nucleus": 0
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» supplier | body | integer | 是 | 供应商 |
» time | body | integer | 是 | 单据时间 |
» number | body | string | 是 | 单据编号 |
» reduction | body | number | 否 | 减免金额 |
» data | body | string | 否 | 备注信息 |
» amount | body | number | 否 | 结算金额 |
» nucleus | body | integer | 否 | 结算状态 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/srn/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"time": "string",
"number": "string",
"supplier": 0,
"reduction": 0,
"data": "string",
"amount": 0,
"nucleus": 0
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» supplier | integer | true | none | none | |
»» reduction | integer | true | none | none | |
»» data | string | true | none | none | |
»» amount | integer | true | none | none | |
»» nucleus | integer | true | none | none |
DELETE 删除
DELETE /api/srn/destroy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
其他收入单
GET 列表
GET /api/ice/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
account[] | query | array[string] | 否 | 资金账户 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
nucleus | query | string | 否 | 结算状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/ice/save
Body 请求参数
{
"form": {
"id": 2,
"customer": 3,
"time": "2024-10-01",
"number": "QTSRD0002",
"total": 100,
"actual": 100,
"money": 100,
"account": 5,
"frame": 1,
"user": 1,
"person": "",
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 0,
"examine": 0,
"nucleus": 0
},
"info": [
{
"inc": 1,
"money": "100",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» customer | body | integer | 是 | 客户 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» total | body | number | 是 | 单据金额 |
»» actual | body | number | 是 | 实际金额 |
»» money | body | number | 是 | 收款金额 |
»» account | body | integer | 是 | 资金账户 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» amount | body | number | 否 | 结算金额 |
»» examine | body | integer | 否 | 审核状态 |
»» nucleus | body | integer | 否 | 结算状态 |
» info | body | [object] | 是 | 详情内容 |
»» inc | body | integer | 是 | 收入类别 |
»» money | body | number | 是 | 金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/ice/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"actual": 0,
"money": 0,
"account": 0,
"frame": 0,
"user": 0,
"person": "string",
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"nucleus": 0
},
"info": [
{
"id": 0,
"ice": 0,
"inc": 0,
"money": 0,
"data": "string",
"inc_data": {
"id": 0,
"name": "string",
"sort": 0,
"state": true,
"data": "string"
}
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» customer | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» total | integer | true | none | none | |
»» actual | integer | true | none | none | |
»» money | integer | true | none | none | |
»» account | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» amount | integer | true | none | none | |
»» examine | integer | true | none | none | |
»» nucleus | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» ice | integer | false | none | none | |
»» inc | integer | false | none | none | |
»» money | integer | false | none | none | |
»» data | string | false | none | none | |
»» inc_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» sort | integer | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none |
DELETE 删除
DELETE /api/ice/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/ice/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/ice/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
其他支出单
GET 列表
GET /api/oce/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
account[] | query | array[string] | 否 | 资金账户 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
nucleus | query | string | 否 | 结算状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/oce/save
Body 请求参数
{
"form": {
"id": 2,
"supplier": 2,
"time": "2024-10-01",
"number": "QTZCD0002",
"total": 18,
"actual": 18,
"money": 18,
"account": 5,
"frame": 1,
"user": 1,
"person": "",
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 0,
"examine": 0,
"nucleus": 0
},
"info": [
{
"exp": 3,
"money": "18",
"data": "",
"relation": {
"state": false
}
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» supplier | body | integer | 是 | 供应商 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» total | body | number | 是 | 单据金额 |
»» actual | body | number | 是 | 实际金额 |
»» money | body | number | 是 | 收款金额 |
»» account | body | integer | 是 | 资金账户 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» amount | body | number | 否 | 结算金额 |
»» examine | body | integer | 否 | 审核状态 |
»» nucleus | body | integer | 否 | 结算状态 |
» info | body | [object] | 是 | 详情内容 |
»» exp | body | integer | 是 | 支出类别 |
»» money | body | number | 是 | 金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/oce/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"supplier": 0,
"time": "string",
"number": "string",
"total": 0,
"actual": 0,
"money": 0,
"account": 0,
"frame": 0,
"user": 0,
"person": "string",
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"nucleus": 0
},
"info": [
{
"id": 0,
"oce": 0,
"exp": 0,
"money": 0,
"data": "string",
"relation": {
"state": true,
"number": "string"
},
"exp_data": {
"id": 0,
"name": "string",
"sort": 0,
"state": true,
"data": "string"
},
"relation_data": null
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» supplier | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» total | integer | true | none | none | |
»» actual | integer | true | none | none | |
»» money | integer | true | none | none | |
»» account | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» amount | integer | true | none | none | |
»» examine | integer | true | none | none | |
»» nucleus | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» oce | integer | false | none | none | |
»» exp | integer | false | none | none | |
»» money | integer | false | none | none | |
»» data | string | false | none | none | |
»» relation | object | false | none | none | |
»»» state | boolean | true | none | none | |
»»» number | string | true | none | none | |
»» exp_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» sort | integer | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»» relation_data | null | false | none | none |
DELETE 删除
DELETE /api/oce/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/oce/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/oce/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
单据费用
GET 列表
GET /api/cost/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
mold[] | query | array[string] | 否 | 单据类型 |
exp[] | query | array[string] | 否 | 支出类别 |
state[] | query | array[string] | 否 | 结算状态 |
supplier[] | query | array[string] | 否 | 供应商 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 1,
"data": [
{
"id": 27,
"type": "sell",
"model": "App\\Models\\Sell",
"form": 4,
"exp": 3,
"money": "",
"data": "",
"settle": 1,
"state": 2,
"str": {
"type": "销货出库单",
"state": "已结算"
},
"form_data": {
"id": 4,
"customer": 3,
"time": "2024-10-01",
"number": "XHCKD0004",
"total": 12,
"discount": 0,
"cbc": 0,
"actual": 12,
"money": 12,
"account": 5,
"cost": 1,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 12,
"examine": 1,
"check": 0,
"nucleus": 2,
"cse": 2,
"invoice": 0,
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"person_data": {
"id": 0
}
},
"exp_data": {
"id": 3,
"name": "运输费",
"sort": 0,
"state": true,
"data": ""
},
"total": 1,
"uat": 0,
"soc": "点可云"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» type | string | false | none | none | |
»»» model | string | false | none | none | |
»»» form | integer | false | none | none | |
»»» exp | integer | false | none | none | |
»»» money | string | false | none | none | |
»»» data | string | false | none | none | |
»»» settle | integer | false | none | none | |
»»» state | integer | false | none | none | |
»»» str | object | false | none | none | |
»»»» type | string | true | none | none | |
»»»» state | string | true | none | none | |
»»» form_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» customer | integer | true | none | none | |
»»»» time | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» discount | integer | true | none | none | |
»»»» cbc | integer | true | none | none | |
»»»» actual | integer | true | none | none | |
»»»» money | integer | true | none | none | |
»»»» account | integer | true | none | none | |
»»»» cost | integer | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» person | string | true | none | none | |
»»»» logistic | object | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» amount | integer | true | none | none | |
»»»» examine | integer | true | none | none | |
»»»» check | integer | true | none | none | |
»»»» nucleus | integer | true | none | none | |
»»»» cse | integer | true | none | none | |
»»»» invoice | integer | true | none | none | |
»»»» frame_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» user_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» role | integer | true | none | none | |
»»»»» user | string | true | none | none | |
»»»»» avatar | string | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» account | string | true | none | none | |
»»»»» warehouse | string | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» person_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»» exp_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» total | integer | false | none | none | |
»»» uat | integer | false | none | none | |
»»» soc | string | false | none | none |
GET 详情
GET /api/cost/detail
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"at": "string",
"am": "string",
"af": 0,
"ai": 0,
"bt": "string",
"bm": "string",
"bf": 0,
"bi": 0,
"a_data": {
"id": 0,
"supplier": "string",
"time": "string",
"number": "string",
"total": 0,
"actual": 0,
"money": 0,
"account": 0,
"frame": 0,
"user": 0,
"person": "string",
"file": [null],
"field": {},
"data": "string",
"amount": 0,
"examine": 0,
"nucleus": 0
},
"b_data": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"cbc": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {},
"file": [null],
"field": {},
"data": "string",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0
},
"link": {
"type": "string",
"id": 0
},
"b_type": "string",
"exp_data": {
"id": 0,
"name": "string",
"sort": 0,
"state": 0,
"data": "string"
},
"money": 0
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» at | string | false | none | none | |
»»» am | string | false | none | none | |
»»» af | integer | false | none | none | |
»»» ai | integer | false | none | none | |
»»» bt | string | false | none | none | |
»»» bm | string | false | none | none | |
»»» bf | integer | false | none | none | |
»»» bi | integer | false | none | none | |
»»» a_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» supplier | string | true | none | none | |
»»»» time | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» actual | integer | true | none | none | |
»»»» money | integer | true | none | none | |
»»»» account | integer | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» person | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» amount | integer | true | none | none | |
»»»» examine | integer | true | none | none | |
»»»» nucleus | integer | true | none | none | |
»»» b_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» customer | integer | true | none | none | |
»»»» time | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» discount | integer | true | none | none | |
»»»» cbc | integer | true | none | none | |
»»»» actual | integer | true | none | none | |
»»»» money | integer | true | none | none | |
»»»» account | integer | true | none | none | |
»»»» cost | integer | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» person | string | true | none | none | |
»»»» logistic | object | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» amount | integer | true | none | none | |
»»»» examine | integer | true | none | none | |
»»»» check | integer | true | none | none | |
»»»» nucleus | integer | true | none | none | |
»»»» cse | integer | true | none | none | |
»»»» invoice | integer | true | none | none | |
»»» link | object | false | none | none | |
»»»» type | string | true | none | none | |
»»»» id | integer | true | none | none | |
»»» b_type | string | false | none | none | |
»»» exp_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» state | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» money | integer | false | none | none |
GET 导出
GET /api/cost/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
单据发票
GET 列表
GET /api/invoice/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
mold[] | query | array[string] | 否 | 单据类型 |
invoice[] | query | array[string] | 否 | 发票状态 |
supplier[] | query | array[string] | 否 | 供应商 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"key": "string",
"type": "string",
"id": 0,
"form": {
"id": 0,
"supplier": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {},
"file": [null],
"field": {},
"data": "string",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0,
"str": {},
"supplier_data": {},
"frame_data": {},
"user_data": {},
"person_data": {}
},
"mold": "string",
"total": 0,
"iat": 0,
"uat": 0,
"money": "string",
"ti": "string",
"soc": "string",
"title": "string"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» key | string | false | none | none | |
»»» type | string | false | none | none | |
»»» id | integer | false | none | none | |
»»» form | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» supplier | integer | true | none | none | |
»»»» time | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» discount | integer | true | none | none | |
»»»» actual | integer | true | none | none | |
»»»» money | integer | true | none | none | |
»»»» account | integer | true | none | none | |
»»»» cost | integer | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» person | string | true | none | none | |
»»»» logistic | object | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» amount | integer | true | none | none | |
»»»» examine | integer | true | none | none | |
»»»» check | integer | true | none | none | |
»»»» nucleus | integer | true | none | none | |
»»»» cse | integer | true | none | none | |
»»»» invoice | integer | true | none | none | |
»»»» str | object | true | none | none | |
»»»»» logistic | string | true | none | none | |
»»»»» examine | string | true | none | none | |
»»»»» check | string | true | none | none | |
»»»»» nucleus | string | true | none | none | |
»»»»» cse | string | true | none | none | |
»»»»» invoice | string | true | none | none | |
»»»» supplier_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» classify | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» user | integer | true | none | none | |
»»»»» customer | string | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» title | string | true | none | none | |
»»»»» tax | string | true | none | none | |
»»»»» bank | string | true | none | none | |
»»»»» account | string | true | none | none | |
»»»»» rate | integer | true | none | none | |
»»»»» type | integer | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» contact | [string] | true | none | none | |
»»»»» balance | integer | true | none | none | |
»»»» frame_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» user_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» role | integer | true | none | none | |
»»»»» user | string | true | none | none | |
»»»»» avatar | string | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» account | string | true | none | none | |
»»»»» warehouse | string | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» person_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»» mold | string | false | none | none | |
»»» total | integer | false | none | none | |
»»» iat | integer | false | none | none | |
»»» uat | integer | false | none | none | |
»»» money | string | false | none | none | |
»»» ti | string | false | none | none | |
»»» soc | string | false | none | none | |
»»» title | string | false | none | none |
POST 开具
POST /api/invoice/push
Body 请求参数
{
"data": [
{
"type": "sell",
"form": 3,
"title": "123",
"time": "2024-10-01",
"number": "123",
"mold": 1,
"money": 10,
"file": [],
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» data | body | [object] | 是 | 详情内容 |
»» type | body | string | 是 | 单据类型 |
»» form | body | integer | 是 | 单据主键 |
»» title | body | string | 是 | 发票抬头 |
»» time | body | integer | 是 | 开票时间 |
»» number | body | string | 是 | 发票号码 |
»» mold | body | integer | 是 | 发票类型 |
»» money | body | number | 是 | 发票金额 |
»» file | body | [string] | 否 | 文件附件 |
»» data | body | string | 否 | 备注信息 |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 详情
GET /api/invoice/detail
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
type | query | string | 是 | 单据类型 |
form | query | integer | 是 | 单据主键 |
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
time[] | query | integer | 否 | 起始时间-结束时间 |
title[] | query | string | 否 | 发票抬头 |
number[] | query | string | 否 | 发票号码 |
data[] | query | string | 否 | 备注信息 |
mold[] | query | string | 否 | 发票类型 |
user[] | query | string | 否 | 操作用户 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
GET 导出
GET /api/invoice/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
select[0][type] | query | string | 是 | 单据类型 |
select[0][id] | query | string | 是 | 单据 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
购货订单跟踪表(单据)
GET 列表
GET /api/bst/bta
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
ment[] | query | array[string] | 否 | 入库状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"supplier": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"actual": 0,
"delivery": "string",
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0,
"ment": 0,
"str": {
"logistic": "string",
"examine": "string",
"ment": "string"
},
"supplier_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"classify": "string",
"frame": 0,
"user": 0,
"customer": "string",
"person": "string",
"file": [null],
"title": "string",
"tax": "string",
"bank": "string",
"account": "string",
"rate": 0,
"type": 0,
"field": {},
"state": true,
"data": "string",
"contact": [null],
"balance": 0
},
"frame_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"user_data": {
"id": 0,
"name": "string",
"py": "string",
"frame": 0,
"role": 0,
"user": "string",
"avatar": "string",
"person": "string",
"account": "string",
"warehouse": "string",
"field": {},
"state": true,
"data": "string"
},
"person_data": {
"id": 0
},
"key": 0,
"link": {
"type": "string",
"id": 0
},
"children": [
{
"key": null,
"link": null,
"info": null
}
]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» supplier | integer | false | none | none | |
»»» time | string | false | none | none | |
»»» number | string | false | none | none | |
»»» total | integer | false | none | none | |
»»» discount | integer | false | none | none | |
»»» actual | integer | false | none | none | |
»»» delivery | string | false | none | none | |
»»» frame | integer | false | none | none | |
»»» user | integer | false | none | none | |
»»» person | string | false | none | none | |
»»» logistic | object | false | none | none | |
»»»» key | string | true | none | none | |
»»»» number | string | true | none | none | |
»»» file | [string] | false | none | none | |
»»» field | object | false | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» data | string | false | none | none | |
»»» examine | integer | false | none | none | |
»»» ment | integer | false | none | none | |
»»» str | object | false | none | none | |
»»»» logistic | string | true | none | none | |
»»»» examine | string | true | none | none | |
»»»» ment | string | true | none | none | |
»»» supplier_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» classify | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» customer | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» title | string | true | none | none | |
»»»» tax | string | true | none | none | |
»»»» bank | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» rate | integer | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» contact | [string] | true | none | none | |
»»»» balance | integer | true | none | none | |
»»» frame_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» user_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» role | integer | true | none | none | |
»»»» user | string | true | none | none | |
»»»» avatar | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» person_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»» key | integer | false | none | none | |
»»» link | object | false | none | none | |
»»»» type | string | true | none | none | |
»»»» id | integer | true | none | none | |
»»» children | [object] | false | none | none | |
»»»» key | string | false | none | none | |
»»»» link | object | false | none | none | |
»»»»» type | string | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» info | object | false | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» bor | integer | true | none | none | |
»»»»» goods | integer | true | none | none | |
»»»»» spec | string | true | none | none | |
»»»»» cell | integer | true | none | none | |
»»»»» warehouse | integer | true | none | none | |
»»»»» price | integer | true | none | none | |
»»»»» tpe | integer | true | none | none | |
»»»»» nums | integer | true | none | none | |
»»»»» discount | integer | true | none | none | |
»»»»» dsc | integer | true | none | none | |
»»»»» total | integer | true | none | none | |
»»»»» tax | integer | true | none | none | |
»»»»» tat | integer | true | none | none | |
»»»»» tpt | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» quantity | integer | true | none | none | |
»»»»» str | object | true | none | none | |
»»»»»» spec | string | true | none | none | |
»»»»»» cell | string | true | none | none | |
»»»»»» ment | string | true | none | none | |
»»»»»» code | string | true | none | none | |
»»»»» goods_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»»» category | integer | true | none | none | |
»»»»»» brand | string | true | none | none | |
»»»»»» st | boolean | true | none | none | |
»»»»»» mdl | string | true | none | none | |
»»»»»» spec | string | true | none | none | |
»»»»»» ut | boolean | true | none | none | |
»»»»»» unit | string | true | none | none | |
»»»»»» cell | integer | true | none | none | |
»»»»»» code | string | true | none | none | |
»»»»»» buy | integer | true | none | none | |
»»»»»» sell | integer | true | none | none | |
»»»»»» tax | integer | true | none | none | |
»»»»»» warehouse | string | true | none | none | |
»»»»»» alloc | boolean | true | none | none | |
»»»»»» esp | string | true | none | none | |
»»»»»» level | boolean | true | none | none | |
»»»»»» seq | boolean | true | none | none | |
»»»»»» batch | boolean | true | none | none | |
»»»»»» pov | boolean | true | none | none | |
»»»»»» qgp | integer | true | none | none | |
»»»»»» ady | integer | true | none | none | |
»»»»»» img | string | true | none | none | |
»»»»»» file | [string] | true | none | none | |
»»»»»» detail | string | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» spec_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»» cell_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» cell | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» nums | integer | true | none | none | |
»»»»» warehouse_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» people | string | true | none | none | |
»»»»»» tel | string | true | none | none | |
»»»»»» add | string | true | none | none | |
»»»»»» burden | boolean | true | none | none | |
»»»»»» alloc | boolean | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none |
GET 导出
GET /api/bst/btaExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
ment[] | query | array[string] | 否 | 入库状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcf8fc0c481.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
购货订单跟踪表(商品)
GET 列表
GET /api/bst/btb
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
warehouse[] | query | array[string] | 否 | 仓库 |
ment[] | query | array[string] | 否 | 入库状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"key": 0,
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": [null],
"detail": "string",
"field": {},
"state": true,
"data": "string",
"unit_data": {},
"cell_data": {}
},
"spec": "string",
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
},
"cell": "string",
"nums": {
"base": 0,
"nums": "string"
},
"quantity": {
"base": 0,
"nums": 0
},
"ment": "string",
"children": [
{
"link": null,
"form": null
}
]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» key | integer | false | none | none | |
»»» goods_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» category | integer | true | none | none | |
»»»» brand | string | true | none | none | |
»»»» st | boolean | true | none | none | |
»»»» mdl | string | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» ut | boolean | true | none | none | |
»»»» unit | string | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» code | string | true | none | none | |
»»»» buy | integer | true | none | none | |
»»»» sell | integer | true | none | none | |
»»»» tax | integer | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» alloc | boolean | true | none | none | |
»»»» esp | string | true | none | none | |
»»»» level | boolean | true | none | none | |
»»»» seq | boolean | true | none | none | |
»»»» batch | boolean | true | none | none | |
»»»» pov | boolean | true | none | none | |
»»»» qgp | integer | true | none | none | |
»»»» ady | integer | true | none | none | |
»»»» img | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» detail | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» unit_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» cell_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»» spec | string | false | none | none | |
»»» warehouse_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» people | string | true | none | none | |
»»»» tel | string | true | none | none | |
»»»» add | string | true | none | none | |
»»»» burden | boolean | true | none | none | |
»»»» alloc | boolean | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell | string | false | none | none | |
»»» nums | object | false | none | none | |
»»»» base | integer | true | none | none | |
»»»» nums | string | true | none | none | |
»»» quantity | object | false | none | none | |
»»»» base | integer | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» ment | string | false | none | none | |
»»» children | [object] | false | none | none | |
»»»» link | object | false | none | none | |
»»»»» type | string | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» form | object | false | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» supplier | integer | true | none | none | |
»»»»» time | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» total | integer | true | none | none | |
»»»»» discount | integer | true | none | none | |
»»»»» actual | integer | true | none | none | |
»»»»» delivery | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» user | integer | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» logistic | object | true | none | none | |
»»»»»» key | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» examine | integer | true | none | none | |
»»»»» ment | integer | true | none | none | |
»»»»» str | object | true | none | none | |
»»»»»» logistic | string | true | none | none | |
»»»»»» examine | string | true | none | none | |
»»»»»» ment | string | true | none | none | |
»»»»» supplier_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»»» classify | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» user | integer | true | none | none | |
»»»»»» customer | string | true | none | none | |
»»»»»» person | string | true | none | none | |
»»»»»» file | [string] | true | none | none | |
»»»»»» title | string | true | none | none | |
»»»»»» tax | string | true | none | none | |
»»»»»» bank | string | true | none | none | |
»»»»»» account | string | true | none | none | |
»»»»»» rate | integer | true | none | none | |
»»»»»» type | integer | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»»» contact | [string] | true | none | none | |
»»»»»» balance | integer | true | none | none | |
»»»»» frame_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» pid | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» sort | integer | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» user_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» role | integer | true | none | none | |
»»»»»» user | string | true | none | none | |
»»»»»» avatar | string | true | none | none | |
»»»»»» person | string | true | none | none | |
»»»»»» account | string | true | none | none | |
»»»»»» warehouse | string | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» person_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»» key | string | true | none | none |
GET 导出
GET /api/bst/btbExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
warehouse[] | query | array[string] | 否 | 仓库 |
ment[] | query | array[string] | 否 | 入库状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://*******/storage/tmp/66fcf9228ef17.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
购货明细表
GET 列表
GET /api/bst/blt
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品信息 |
number[] | query | array[string] | 否 | 单据编号 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单据类型 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
warehouse[] | query | array[string] | 否 | 仓库 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 2,
"data": [
{
"type": "buy",
"name": "购货入库单",
"form": {
"id": 1,
"supplier": 2,
"time": "2024-09-29",
"number": "GHRKD0001",
"total": 15,
"discount": 0,
"actual": 15,
"money": 15,
"account": 3,
"cost": 0,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 15,
"examine": 1,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 0,
"str": {
"logistic": "",
"examine": "已审核",
"check": "未核对",
"nucleus": "已结算",
"cse": "无需结算",
"invoice": "未开票"
},
"supplier_data": {
"id": 2,
"name": "点可云",
"py": "dky",
"number": "GYS0004",
"classify": "",
"frame": 1,
"user": 1,
"customer": "",
"person": "",
"file": [],
"title": "",
"tax": "",
"bank": "",
"account": "",
"rate": 0,
"type": 0,
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"contact": [],
"balance": -10
},
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"person_data": {
"id": 0
}
},
"info": {
"id": 1,
"buy": 1,
"goods": 2,
"spec": "",
"cell": 1,
"warehouse": 2,
"price": 10,
"tpe": 10,
"nums": 1.5,
"serial": [],
"batch": "",
"mfg": "",
"discount": 0,
"dsc": 0,
"total": 15,
"tax": 0,
"tat": 0,
"tpt": 15,
"cost": 0,
"data": "",
"quantity": 0,
"str": {
"spec": "",
"cell": "斤",
"serial": "",
"exp": "",
"code": "123546"
},
"goods_data": {
"id": 2,
"name": "芒果",
"py": "mg",
"number": "SP0002",
"category": 1,
"brand": "",
"st": false,
"mdl": "",
"spec": "",
"ut": true,
"unit": "",
"cell": 1,
"code": "",
"buy": 10,
"sell": 12,
"tax": 0,
"warehouse": "",
"alloc": false,
"esp": "0",
"level": false,
"seq": false,
"batch": false,
"pov": false,
"qgp": 0,
"ady": 0,
"img": "",
"file": [],
"detail": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 1,
"cell": 1,
"name": "斤",
"nums": 1
},
"warehouse_data": {
"id": 2,
"name": "山西仓库",
"number": "CK0002",
"frame": 1,
"people": "",
"tel": "",
"add": "",
"burden": false,
"alloc": true,
"state": true,
"data": ""
}
},
"link": {
"type": "buy",
"id": 1
}
},
{
"type": "buy",
"name": "购货入库单",
"form": {
"id": 2,
"supplier": 2,
"time": "2024-09-29",
"number": "GHRKD0002",
"total": 0,
"discount": 0,
"actual": 0,
"money": 0,
"account": 3,
"cost": 0,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 0,
"examine": 1,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 3,
"str": {
"logistic": "",
"examine": "已审核",
"check": "未核对",
"nucleus": "已结算",
"cse": "无需结算",
"invoice": "无需开具"
},
"supplier_data": {
"id": 2,
"name": "点可云",
"py": "dky",
"number": "GYS0004",
"classify": "",
"frame": 1,
"user": 1,
"customer": "",
"person": "",
"file": [],
"title": "",
"tax": "",
"bank": "",
"account": "",
"rate": 0,
"type": 0,
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"contact": [],
"balance": -10
},
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"person_data": {
"id": 0
}
},
"info": {
"id": 3,
"buy": 2,
"goods": 2,
"spec": "",
"cell": 2,
"warehouse": 2,
"price": 0,
"tpe": 0,
"nums": 1,
"serial": [],
"batch": "",
"mfg": "",
"discount": 0,
"dsc": 0,
"total": 0,
"tax": 0,
"tat": 0,
"tpt": 0,
"cost": 0,
"data": "",
"quantity": 0,
"str": {
"spec": "",
"cell": "箱",
"serial": "",
"exp": "",
"code": ""
},
"goods_data": {
"id": 2,
"name": "芒果",
"py": "mg",
"number": "SP0002",
"category": 1,
"brand": "",
"st": false,
"mdl": "",
"spec": "",
"ut": true,
"unit": "",
"cell": 1,
"code": "",
"buy": 10,
"sell": 12,
"tax": 0,
"warehouse": "",
"alloc": false,
"esp": "0",
"level": false,
"seq": false,
"batch": false,
"pov": false,
"qgp": 0,
"ady": 0,
"img": "",
"file": [],
"detail": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 2,
"cell": 1,
"name": "箱",
"nums": 40
},
"warehouse_data": {
"id": 2,
"name": "山西仓库",
"number": "CK0002",
"frame": 1,
"people": "",
"tel": "",
"add": "",
"burden": false,
"alloc": true,
"state": true,
"data": ""
}
},
"link": {
"type": "buy",
"id": 2
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» type | string | true | none | none | |
»»» name | string | true | none | none | |
»»» form | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» supplier | integer | true | none | none | |
»»»» time | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» discount | integer | true | none | none | |
»»»» actual | integer | true | none | none | |
»»»» money | integer | true | none | none | |
»»»» account | integer | true | none | none | |
»»»» cost | integer | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» person | string | true | none | none | |
»»»» logistic | object | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» amount | integer | true | none | none | |
»»»» examine | integer | true | none | none | |
»»»» check | integer | true | none | none | |
»»»» nucleus | integer | true | none | none | |
»»»» cse | integer | true | none | none | |
»»»» invoice | integer | true | none | none | |
»»»» str | object | true | none | none | |
»»»»» logistic | string | true | none | none | |
»»»»» examine | string | true | none | none | |
»»»»» check | string | true | none | none | |
»»»»» nucleus | string | true | none | none | |
»»»»» cse | string | true | none | none | |
»»»»» invoice | string | true | none | none | |
»»»» supplier_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» classify | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» user | integer | true | none | none | |
»»»»» customer | string | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» title | string | true | none | none | |
»»»»» tax | string | true | none | none | |
»»»»» bank | string | true | none | none | |
»»»»» account | string | true | none | none | |
»»»»» rate | integer | true | none | none | |
»»»»» type | integer | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» contact | [string] | true | none | none | |
»»»»» balance | integer | true | none | none | |
»»»» frame_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» user_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» role | integer | true | none | none | |
»»»»» user | string | true | none | none | |
»»»»» avatar | string | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» account | string | true | none | none | |
»»»»» warehouse | string | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» person_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»» info | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» buy | integer | true | none | none | |
»»»» goods | integer | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» warehouse | integer | true | none | none | |
»»»» price | integer | true | none | none | |
»»»» tpe | integer | true | none | none | |
»»»» nums | number | true | none | none | |
»»»» serial | [string] | true | none | none | |
»»»» batch | string | true | none | none | |
»»»» mfg | string | true | none | none | |
»»»» discount | integer | true | none | none | |
»»»» dsc | integer | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» tax | integer | true | none | none | |
»»»» tat | integer | true | none | none | |
»»»» tpt | integer | true | none | none | |
»»»» cost | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»»» quantity | integer | true | none | none | |
»»»» str | object | true | none | none | |
»»»»» spec | string | true | none | none | |
»»»»» cell | string | true | none | none | |
»»»»» serial | string | true | none | none | |
»»»»» exp | string | true | none | none | |
»»»»» code | string | true | none | none | |
»»»» goods_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» category | integer | true | none | none | |
»»»»» brand | string | true | none | none | |
»»»»» st | boolean | true | none | none | |
»»»»» mdl | string | true | none | none | |
»»»»» spec | string | true | none | none | |
»»»»» ut | boolean | true | none | none | |
»»»»» unit | string | true | none | none | |
»»»»» cell | integer | true | none | none | |
»»»»» code | string | true | none | none | |
»»»»» buy | integer | true | none | none | |
»»»»» sell | integer | true | none | none | |
»»»»» tax | integer | true | none | none | |
»»»»» warehouse | string | true | none | none | |
»»»»» alloc | boolean | true | none | none | |
»»»»» esp | string | true | none | none | |
»»»»» level | boolean | true | none | none | |
»»»»» seq | boolean | true | none | none | |
»»»»» batch | boolean | true | none | none | |
»»»»» pov | boolean | true | none | none | |
»»»»» qgp | integer | true | none | none | |
»»»»» ady | integer | true | none | none | |
»»»»» img | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» detail | string | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» spec_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» cell_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» cell | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» nums | integer | true | none | none | |
»»»» warehouse_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» people | string | true | none | none | |
»»»»» tel | string | true | none | none | |
»»»»» add | string | true | none | none | |
»»»»» burden | boolean | true | none | none | |
»»»»» alloc | boolean | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»» link | object | true | none | none | |
»»»» type | string | true | none | none | |
»»»» id | integer | true | none | none |
GET 导出
GET /api/bst/bltExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品信息 |
number[] | query | array[string] | 否 | 单据编号 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单据类型 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
warehouse[] | query | array[string] | 否 | 仓库 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcf9556b2e0.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
购货汇总表
GET 列表
GET /api/bst/bsy
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
warehouse[] | query | array[string] | 否 | 仓库 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"type": "string",
"info": "string",
"goods": 0,
"spec": "string",
"warehouse": 0,
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": [null],
"detail": "string",
"field": {},
"state": true,
"data": "string",
"category_data": {},
"brand_data": {},
"spec_data": {},
"unit_data": {},
"cell_data": {}
},
"unit": "string",
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": 0,
"alloc": 0,
"state": 0,
"data": "string"
},
"buy": {
"base": 0,
"nums": "string",
"total": 0,
"price": 0
},
"bre": {
"base": 0,
"nums": 0,
"price": 0,
"total": 0
},
"summary": {
"base": 0,
"nums": "string",
"total": 0,
"price": 0
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» type | string | false | none | none | |
»»» info | string | false | none | none | |
»»» goods | integer | false | none | none | |
»»» spec | string | false | none | none | |
»»» warehouse | integer | false | none | none | |
»»» goods_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» category | integer | true | none | none | |
»»»» brand | string | true | none | none | |
»»»» st | boolean | true | none | none | |
»»»» mdl | string | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» ut | boolean | true | none | none | |
»»»» unit | string | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» code | string | true | none | none | |
»»»» buy | integer | true | none | none | |
»»»» sell | integer | true | none | none | |
»»»» tax | integer | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» alloc | boolean | true | none | none | |
»»»» esp | string | true | none | none | |
»»»» level | boolean | true | none | none | |
»»»» seq | boolean | true | none | none | |
»»»» batch | boolean | true | none | none | |
»»»» pov | boolean | true | none | none | |
»»»» qgp | integer | true | none | none | |
»»»» ady | integer | true | none | none | |
»»»» img | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» detail | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» category_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» brand_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» spec_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» unit_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» cell_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»» unit | string | false | none | none | |
»»» warehouse_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» people | string | true | none | none | |
»»»» tel | string | true | none | none | |
»»»» add | string | true | none | none | |
»»»» burden | integer | true | none | none | |
»»»» alloc | integer | true | none | none | |
»»»» state | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» buy | object | false | none | none | |
»»»» base | number | true | none | none | |
»»»» nums | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» price | number | true | none | none | |
»»» bre | object | false | none | none | |
»»»» base | integer | true | none | none | |
»»»» nums | integer | true | none | none | |
»»»» price | integer | true | none | none | |
»»»» total | integer | true | none | none | |
»»» summary | object | false | none | none | |
»»»» base | number | true | none | none | |
»»»» nums | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» price | number | true | none | none |
GET 导出
GET /api/bst/bsyExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
warehouse[] | query | array[string] | 否 | 仓库 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcf98cd1cc6.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
购货付款表
GET 列表
GET /api/bst/bbt
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | string | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单据类型 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
nucleus[] | query | array[string] | 否 | 结算状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"supplier": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0,
"str": {
"logistic": "string",
"examine": "string",
"check": "string",
"nucleus": "string",
"cse": "string",
"invoice": "string"
},
"bill_data": [
{
"id": null,
"buy": null,
"type": null,
"model": null,
"form": null,
"time": null,
"money": null,
"form_data": null
}
],
"supplier_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"classify": "string",
"frame": 0,
"user": 0,
"customer": "string",
"person": "string",
"file": [null],
"title": "string",
"tax": "string",
"bank": "string",
"account": "string",
"rate": 0,
"type": 0,
"field": {},
"state": true,
"data": "string",
"contact": [null],
"balance": 0
},
"frame_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"user_data": {
"id": 0,
"name": "string",
"py": "string",
"frame": 0,
"role": 0,
"user": "string",
"avatar": "string",
"person": "string",
"account": "string",
"warehouse": "string",
"field": {},
"state": true,
"data": "string"
},
"person_data": {
"id": 0
},
"key": "string",
"type": "string",
"name": "string",
"link": {
"type": "string",
"id": 0
},
"balance": 0,
"rate": "string",
"children": ["string"]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» supplier | integer | true | none | none | |
»»» time | string | true | none | none | |
»»» number | string | true | none | none | |
»»» total | integer | true | none | none | |
»»» discount | integer | true | none | none | |
»»» actual | integer | true | none | none | |
»»» money | integer | true | none | none | |
»»» account | integer | true | none | none | |
»»» cost | integer | true | none | none | |
»»» frame | integer | true | none | none | |
»»» user | integer | true | none | none | |
»»» person | string | true | none | none | |
»»» logistic | object | true | none | none | |
»»»» key | string | true | none | none | |
»»»» number | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» data | string | true | none | none | |
»»» amount | integer | true | none | none | |
»»» examine | integer | true | none | none | |
»»» check | integer | true | none | none | |
»»» nucleus | integer | true | none | none | |
»»» cse | integer | true | none | none | |
»»» invoice | integer | true | none | none | |
»»» str | object | true | none | none | |
»»»» logistic | string | true | none | none | |
»»»» examine | string | true | none | none | |
»»»» check | string | true | none | none | |
»»»» nucleus | string | true | none | none | |
»»»» cse | string | true | none | none | |
»»»» invoice | string | true | none | none | |
»»» bill_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» type | string | false | none | none | |
»»»» model | string | false | none | none | |
»»»» form | integer | false | none | none | |
»»»» time | integer | false | none | none | |
»»»» money | integer | false | none | none | |
»»»» form_data | object | false | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» supplier | integer | true | none | none | |
»»»»» time | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» total | integer | true | none | none | |
»»»»» discount | integer | true | none | none | |
»»»»» actual | integer | true | none | none | |
»»»»» money | integer | true | none | none | |
»»»»» account | integer | true | none | none | |
»»»»» cost | integer | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» user | integer | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» logistic | object | true | none | none | |
»»»»»» key | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» amount | integer | true | none | none | |
»»»»» examine | integer | true | none | none | |
»»»»» check | integer | true | none | none | |
»»»»» nucleus | integer | true | none | none | |
»»»»» cse | integer | true | none | none | |
»»»»» invoice | integer | true | none | none | |
»»»»» frame_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» pid | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» sort | integer | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» user_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» role | integer | true | none | none | |
»»»»»» user | string | true | none | none | |
»»»»»» avatar | string | true | none | none | |
»»»»»» person | string | true | none | none | |
»»»»»» account | string | true | none | none | |
»»»»»» warehouse | string | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» person_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»» supplier_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» classify | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» customer | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» title | string | true | none | none | |
»»»» tax | string | true | none | none | |
»»»» bank | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» rate | integer | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» contact | [string] | true | none | none | |
»»»» balance | integer | true | none | none | |
»»» frame_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» user_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» role | integer | true | none | none | |
»»»» user | string | true | none | none | |
»»»» avatar | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» person_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» key | string | true | none | none | |
»»» type | string | true | none | none | |
»»» name | string | true | none | none | |
»»» link | object | true | none | none | |
»»»» type | string | true | none | none | |
»»»» id | integer | true | none | none | |
»»» balance | integer | true | none | none | |
»»» rate | string | true | none | none | |
»»» children | [string] | true | none | none |
GET 导出
GET /api/bst/bbtExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | string | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单据类型 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
nucleus[] | query | array[string] | 否 | 结算状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcf9b20b3ec.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
购货排行表
GET 列表
GET /api/bst/bot
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | string | 否 | 商品名称 |
number[] | query | string | 否 | 商品编号 |
mdl[] | query | string | 否 | 规格型号 |
data[] | query | string | 否 | 备注信息 |
category[] | query | string | 否 | 商品类别 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"info": "string",
"goods": 0,
"spec": "string",
"sum": "string",
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": [null],
"detail": "string",
"field": {},
"state": true,
"data": "string",
"category_data": {},
"brand_data": {},
"spec_data": {},
"unit_data": {},
"cell_data": {}
},
"unit": "string",
"base": 0,
"nums": "string",
"total": 0,
"price": 0
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» info | string | false | none | none | |
»»» goods | integer | false | none | none | |
»»» spec | string | false | none | none | |
»»» sum | string | false | none | none | |
»»» goods_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» category | integer | true | none | none | |
»»»» brand | string | true | none | none | |
»»»» st | boolean | true | none | none | |
»»»» mdl | string | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» ut | boolean | true | none | none | |
»»»» unit | string | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» code | string | true | none | none | |
»»»» buy | integer | true | none | none | |
»»»» sell | integer | true | none | none | |
»»»» tax | integer | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» alloc | boolean | true | none | none | |
»»»» esp | string | true | none | none | |
»»»» level | boolean | true | none | none | |
»»»» seq | boolean | true | none | none | |
»»»» batch | boolean | true | none | none | |
»»»» pov | boolean | true | none | none | |
»»»» qgp | integer | true | none | none | |
»»»» ady | integer | true | none | none | |
»»»» img | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» detail | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» category_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» brand_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» spec_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» unit_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» cell_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»» unit | string | false | none | none | |
»»» base | number | false | none | none | |
»»» nums | string | false | none | none | |
»»» total | integer | false | none | none | |
»»» price | number | false | none | none |
GET 导出
GET /api/bst/botExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | string | 否 | 商品名称 |
number[] | query | string | 否 | 商品编号 |
mdl[] | query | string | 否 | 规格型号 |
data[] | query | string | 否 | 备注信息 |
category[] | query | string | 否 | 商品类别 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcf9f7591bb.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
销货订单跟踪表(单据)
GET 列表
GET /api/sst/sta
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
ment[] | query | array[string] | 否 | 出库状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"actual": 0,
"delivery": "string",
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0,
"ment": 0,
"str": {
"logistic": "string",
"examine": "string",
"ment": "string"
},
"customer_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"assort": "string",
"grade": "string",
"frame": 0,
"user": 0,
"supplier": "string",
"person": "string",
"file": [null],
"title": "string",
"tax": "string",
"bank": "string",
"account": "string",
"type": 0,
"field": {},
"state": true,
"data": "string",
"contact": [null],
"balance": 0
},
"frame_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"user_data": {
"id": 0,
"name": "string",
"py": "string",
"frame": 0,
"role": 0,
"user": "string",
"avatar": "string",
"person": "string",
"account": "string",
"warehouse": "string",
"field": {},
"state": true,
"data": "string"
},
"person_data": {
"id": 0
},
"key": 0,
"link": {
"type": "string",
"id": 0
},
"children": [
{
"key": null,
"link": null,
"info": null
}
]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» customer | integer | false | none | none | |
»»» time | string | false | none | none | |
»»» number | string | false | none | none | |
»»» total | integer | false | none | none | |
»»» discount | integer | false | none | none | |
»»» actual | integer | false | none | none | |
»»» delivery | string | false | none | none | |
»»» frame | integer | false | none | none | |
»»» user | integer | false | none | none | |
»»» person | string | false | none | none | |
»»» logistic | object | false | none | none | |
»»»» key | string | true | none | none | |
»»»» number | string | true | none | none | |
»»» file | [string] | false | none | none | |
»»» field | object | false | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» data | string | false | none | none | |
»»» examine | integer | false | none | none | |
»»» ment | integer | false | none | none | |
»»» str | object | false | none | none | |
»»»» logistic | string | true | none | none | |
»»»» examine | string | true | none | none | |
»»»» ment | string | true | none | none | |
»»» customer_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» assort | string | true | none | none | |
»»»» grade | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» supplier | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» title | string | true | none | none | |
»»»» tax | string | true | none | none | |
»»»» bank | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» contact | [string] | true | none | none | |
»»»» balance | integer | true | none | none | |
»»» frame_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» user_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» role | integer | true | none | none | |
»»»» user | string | true | none | none | |
»»»» avatar | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» person_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»» key | integer | false | none | none | |
»»» link | object | false | none | none | |
»»»» type | string | true | none | none | |
»»»» id | integer | true | none | none | |
»»» children | [object] | false | none | none | |
»»»» key | string | false | none | none | |
»»»» link | object | false | none | none | |
»»»»» type | string | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» info | object | false | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» sor | integer | true | none | none | |
»»»»» goods | integer | true | none | none | |
»»»»» spec | string | true | none | none | |
»»»»» cell | integer | true | none | none | |
»»»»» warehouse | integer | true | none | none | |
»»»»» price | integer | true | none | none | |
»»»»» tpe | integer | true | none | none | |
»»»»» nums | integer | true | none | none | |
»»»»» discount | integer | true | none | none | |
»»»»» dsc | integer | true | none | none | |
»»»»» total | integer | true | none | none | |
»»»»» tax | integer | true | none | none | |
»»»»» tat | integer | true | none | none | |
»»»»» tpt | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» quantity | integer | true | none | none | |
»»»»» str | object | true | none | none | |
»»»»»» spec | string | true | none | none | |
»»»»»» cell | string | true | none | none | |
»»»»»» ment | string | true | none | none | |
»»»»»» code | string | true | none | none | |
»»»»» goods_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»»» category | integer | true | none | none | |
»»»»»» brand | string | true | none | none | |
»»»»»» st | boolean | true | none | none | |
»»»»»» mdl | string | true | none | none | |
»»»»»» spec | string | true | none | none | |
»»»»»» ut | boolean | true | none | none | |
»»»»»» unit | string | true | none | none | |
»»»»»» cell | integer | true | none | none | |
»»»»»» code | string | true | none | none | |
»»»»»» buy | integer | true | none | none | |
»»»»»» sell | integer | true | none | none | |
»»»»»» tax | integer | true | none | none | |
»»»»»» warehouse | string | true | none | none | |
»»»»»» alloc | boolean | true | none | none | |
»»»»»» esp | string | true | none | none | |
»»»»»» level | boolean | true | none | none | |
»»»»»» seq | boolean | true | none | none | |
»»»»»» batch | boolean | true | none | none | |
»»»»»» pov | boolean | true | none | none | |
»»»»»» qgp | integer | true | none | none | |
»»»»»» ady | integer | true | none | none | |
»»»»»» img | string | true | none | none | |
»»»»»» file | [string] | true | none | none | |
»»»»»» detail | string | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» spec_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»» cell_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» cell | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» nums | integer | true | none | none | |
»»»»» warehouse_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» people | string | true | none | none | |
»»»»»» tel | string | true | none | none | |
»»»»»» add | string | true | none | none | |
»»»»»» burden | boolean | true | none | none | |
»»»»»» alloc | boolean | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none |
GET 导出
GET /api/sst/staExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
ment[] | query | array[string] | 否 | 出库状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfa1fa39f5.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
销货订单跟踪表(商品)
GET 列表
GET /api/sst/stb
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
warehouse[] | query | array[string] | 否 | 仓库 |
ment[] | query | array[string] | 否 | 出库状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"key": 0,
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": [null],
"detail": "string",
"field": {},
"state": true,
"data": "string",
"unit_data": {},
"cell_data": {}
},
"spec": "string",
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
},
"cell": "string",
"nums": {
"base": 0,
"nums": "string"
},
"quantity": {
"base": 0,
"nums": 0
},
"ment": "string",
"children": [
{
"link": null,
"form": null
}
]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» key | integer | false | none | none | |
»»» goods_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» category | integer | true | none | none | |
»»»» brand | string | true | none | none | |
»»»» st | boolean | true | none | none | |
»»»» mdl | string | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» ut | boolean | true | none | none | |
»»»» unit | string | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» code | string | true | none | none | |
»»»» buy | integer | true | none | none | |
»»»» sell | integer | true | none | none | |
»»»» tax | integer | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» alloc | boolean | true | none | none | |
»»»» esp | string | true | none | none | |
»»»» level | boolean | true | none | none | |
»»»» seq | boolean | true | none | none | |
»»»» batch | boolean | true | none | none | |
»»»» pov | boolean | true | none | none | |
»»»» qgp | integer | true | none | none | |
»»»» ady | integer | true | none | none | |
»»»» img | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» detail | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» unit_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» cell_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»» spec | string | false | none | none | |
»»» warehouse_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» people | string | true | none | none | |
»»»» tel | string | true | none | none | |
»»»» add | string | true | none | none | |
»»»» burden | boolean | true | none | none | |
»»»» alloc | boolean | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell | string | false | none | none | |
»»» nums | object | false | none | none | |
»»»» base | integer | true | none | none | |
»»»» nums | string | true | none | none | |
»»» quantity | object | false | none | none | |
»»»» base | integer | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» ment | string | false | none | none | |
»»» children | [object] | false | none | none | |
»»»» link | object | false | none | none | |
»»»»» type | string | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» form | object | false | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» customer | integer | true | none | none | |
»»»»» time | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» total | integer | true | none | none | |
»»»»» discount | integer | true | none | none | |
»»»»» actual | integer | true | none | none | |
»»»»» delivery | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» user | integer | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» logistic | object | true | none | none | |
»»»»»» key | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» examine | integer | true | none | none | |
»»»»» ment | integer | true | none | none | |
»»»»» str | object | true | none | none | |
»»»»»» logistic | string | true | none | none | |
»»»»»» examine | string | true | none | none | |
»»»»»» ment | string | true | none | none | |
»»»»» customer_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»»» assort | string | true | none | none | |
»»»»»» grade | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» user | integer | true | none | none | |
»»»»»» supplier | string | true | none | none | |
»»»»»» person | string | true | none | none | |
»»»»»» file | [string] | true | none | none | |
»»»»»» title | string | true | none | none | |
»»»»»» tax | string | true | none | none | |
»»»»»» bank | string | true | none | none | |
»»»»»» account | string | true | none | none | |
»»»»»» type | integer | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»»» contact | [string] | true | none | none | |
»»»»»» balance | integer | true | none | none | |
»»»»» frame_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» pid | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» sort | integer | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» user_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» role | integer | true | none | none | |
»»»»»» user | string | true | none | none | |
»»»»»» avatar | string | true | none | none | |
»»»»»» person | string | true | none | none | |
»»»»»» account | string | true | none | none | |
»»»»»» warehouse | string | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» person_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»» key | string | true | none | none |
GET 导出
GET /api/sst/stbExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
warehouse[] | query | array[string] | 否 | 仓库 |
ment[] | query | array[string] | 否 | 出库状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfa3935cdb.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
销货明细表
GET 列表
GET /api/sst/slt
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单据类型 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
warehouse[] | query | array[string] | 否 | 仓库 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"type": "string",
"name": "string",
"form": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"cbc": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {},
"file": [null],
"field": {},
"data": "string",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0,
"str": {},
"customer_data": {},
"frame_data": {},
"user_data": {},
"person_data": {}
},
"info": {
"id": 0,
"sell": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"price": 0,
"tpe": 0,
"nums": 0,
"serial": [null],
"batch": "string",
"mfg": "string",
"discount": 0,
"dsc": 0,
"total": 0,
"tax": 0,
"tat": 0,
"tpt": 0,
"data": "string",
"quantity": 0,
"str": {},
"goods_data": {},
"spec_data": {},
"cell_data": {},
"warehouse_data": {}
},
"link": {
"type": "string",
"id": 0
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» type | string | true | none | none | |
»»» name | string | true | none | none | |
»»» form | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» customer | integer | true | none | none | |
»»»» time | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» discount | integer | true | none | none | |
»»»» cbc | integer | true | none | none | |
»»»» actual | integer | true | none | none | |
»»»» money | integer | true | none | none | |
»»»» account | integer | true | none | none | |
»»»» cost | integer | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» person | string | true | none | none | |
»»»» logistic | object | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» amount | integer | true | none | none | |
»»»» examine | integer | true | none | none | |
»»»» check | integer | true | none | none | |
»»»» nucleus | integer | true | none | none | |
»»»» cse | integer | true | none | none | |
»»»» invoice | integer | true | none | none | |
»»»» str | object | true | none | none | |
»»»»» logistic | string | true | none | none | |
»»»»» examine | string | true | none | none | |
»»»»» check | string | true | none | none | |
»»»»» nucleus | string | true | none | none | |
»»»»» cse | string | true | none | none | |
»»»»» invoice | string | true | none | none | |
»»»» customer_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» assort | string | true | none | none | |
»»»»» grade | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» user | integer | true | none | none | |
»»»»» supplier | string | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» title | string | true | none | none | |
»»»»» tax | string | true | none | none | |
»»»»» bank | string | true | none | none | |
»»»»» account | string | true | none | none | |
»»»»» type | integer | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» contact | [string] | true | none | none | |
»»»»» balance | integer | true | none | none | |
»»»» frame_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» user_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» role | integer | true | none | none | |
»»»»» user | string | true | none | none | |
»»»»» avatar | string | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» account | string | true | none | none | |
»»»»» warehouse | string | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» person_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»» info | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» sell | integer | true | none | none | |
»»»» goods | integer | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» warehouse | integer | true | none | none | |
»»»» price | integer | true | none | none | |
»»»» tpe | integer | true | none | none | |
»»»» nums | integer | true | none | none | |
»»»» serial | [string] | true | none | none | |
»»»» batch | string | true | none | none | |
»»»» mfg | string | true | none | none | |
»»»» discount | integer | true | none | none | |
»»»» dsc | integer | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» tax | integer | true | none | none | |
»»»» tat | integer | true | none | none | |
»»»» tpt | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»»» quantity | integer | true | none | none | |
»»»» str | object | true | none | none | |
»»»»» spec | string | true | none | none | |
»»»»» cell | string | true | none | none | |
»»»»» serial | string | true | none | none | |
»»»»» exp | string | true | none | none | |
»»»»» code | string | true | none | none | |
»»»» goods_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» category | integer | true | none | none | |
»»»»» brand | string | true | none | none | |
»»»»» st | boolean | true | none | none | |
»»»»» mdl | string | true | none | none | |
»»»»» spec | string | true | none | none | |
»»»»» ut | boolean | true | none | none | |
»»»»» unit | string | true | none | none | |
»»»»» cell | integer | true | none | none | |
»»»»» code | string | true | none | none | |
»»»»» buy | integer | true | none | none | |
»»»»» sell | integer | true | none | none | |
»»»»» tax | integer | true | none | none | |
»»»»» warehouse | string | true | none | none | |
»»»»» alloc | boolean | true | none | none | |
»»»»» esp | string | true | none | none | |
»»»»» level | boolean | true | none | none | |
»»»»» seq | boolean | true | none | none | |
»»»»» batch | boolean | true | none | none | |
»»»»» pov | boolean | true | none | none | |
»»»»» qgp | integer | true | none | none | |
»»»»» ady | integer | true | none | none | |
»»»»» img | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» detail | string | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» spec_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» cell_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» cell | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» nums | integer | true | none | none | |
»»»» warehouse_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» people | string | true | none | none | |
»»»»» tel | string | true | none | none | |
»»»»» add | string | true | none | none | |
»»»»» burden | boolean | true | none | none | |
»»»»» alloc | boolean | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»» link | object | true | none | none | |
»»»» type | string | true | none | none | |
»»»» id | integer | true | none | none |
GET 导出
GET /api/sst/sltExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单据类型 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
warehouse[] | query | array[string] | 否 | 仓库 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfa6e6042a.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
销货汇总表
GET 列表
GET /api/sst/ssy
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
warehouse[] | query | array[string] | 否 | 仓库 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"type": "string",
"info": "string",
"goods": 0,
"spec": "string",
"warehouse": 0,
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": [null],
"detail": "string",
"field": {},
"state": true,
"data": "string",
"category_data": {},
"brand_data": {},
"spec_data": {},
"unit_data": {},
"cell_data": {}
},
"unit": "string",
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": 0,
"alloc": 0,
"state": 0,
"data": "string"
},
"sell": {
"base": 0,
"nums": "string",
"total": 0,
"price": 0
},
"sre": {
"base": 0,
"nums": 0,
"price": 0,
"total": 0
},
"summary": {
"base": 0,
"nums": "string",
"total": 0,
"price": 0
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» type | string | false | none | none | |
»»» info | string | false | none | none | |
»»» goods | integer | false | none | none | |
»»» spec | string | false | none | none | |
»»» warehouse | integer | false | none | none | |
»»» goods_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» category | integer | true | none | none | |
»»»» brand | string | true | none | none | |
»»»» st | boolean | true | none | none | |
»»»» mdl | string | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» ut | boolean | true | none | none | |
»»»» unit | string | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» code | string | true | none | none | |
»»»» buy | integer | true | none | none | |
»»»» sell | integer | true | none | none | |
»»»» tax | integer | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» alloc | boolean | true | none | none | |
»»»» esp | string | true | none | none | |
»»»» level | boolean | true | none | none | |
»»»» seq | boolean | true | none | none | |
»»»» batch | boolean | true | none | none | |
»»»» pov | boolean | true | none | none | |
»»»» qgp | integer | true | none | none | |
»»»» ady | integer | true | none | none | |
»»»» img | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» detail | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» category_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» brand_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» spec_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» unit_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» cell_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»» unit | string | false | none | none | |
»»» warehouse_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» people | string | true | none | none | |
»»»» tel | string | true | none | none | |
»»»» add | string | true | none | none | |
»»»» burden | integer | true | none | none | |
»»»» alloc | integer | true | none | none | |
»»»» state | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» sell | object | false | none | none | |
»»»» base | integer | true | none | none | |
»»»» nums | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» price | number | true | none | none | |
»»» sre | object | false | none | none | |
»»»» base | integer | true | none | none | |
»»»» nums | integer | true | none | none | |
»»»» price | integer | true | none | none | |
»»»» total | integer | true | none | none | |
»»» summary | object | false | none | none | |
»»»» base | integer | true | none | none | |
»»»» nums | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» price | number | true | none | none |
GET 导出
GET /api/sst/ssyExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
warehouse[] | query | array[string] | 否 | 仓库 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfa8f30483.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
销货收款单
GET 列表
GET /api/sst/sbt
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单据类型 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
nucleus[] | query | array[string] | 否 | 结算状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"cbc": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {
"key": "string",
"number": "string"
},
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0,
"str": {
"logistic": "string",
"examine": "string",
"check": "string",
"nucleus": "string",
"cse": "string",
"invoice": "string"
},
"bill_data": [
{
"id": null,
"sell": null,
"type": null,
"model": null,
"form": null,
"time": null,
"money": null,
"form_data": null
}
],
"customer_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"assort": "string",
"grade": "string",
"frame": 0,
"user": 0,
"supplier": "string",
"person": "string",
"file": [null],
"title": "string",
"tax": "string",
"bank": "string",
"account": "string",
"type": 0,
"field": {},
"state": true,
"data": "string",
"contact": [null],
"balance": 0
},
"frame_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"user_data": {
"id": 0,
"name": "string",
"py": "string",
"frame": 0,
"role": 0,
"user": "string",
"avatar": "string",
"person": "string",
"account": "string",
"warehouse": "string",
"field": {},
"state": true,
"data": "string"
},
"person_data": {
"id": 0
},
"key": "string",
"type": "string",
"name": "string",
"link": {
"type": "string",
"id": 0
},
"balance": 0,
"rate": "string",
"children": ["string"]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» customer | integer | true | none | none | |
»»» time | string | true | none | none | |
»»» number | string | true | none | none | |
»»» total | integer | true | none | none | |
»»» discount | integer | true | none | none | |
»»» cbc | integer | true | none | none | |
»»» actual | integer | true | none | none | |
»»» money | integer | true | none | none | |
»»» account | integer | true | none | none | |
»»» cost | integer | true | none | none | |
»»» frame | integer | true | none | none | |
»»» user | integer | true | none | none | |
»»» person | string | true | none | none | |
»»» logistic | object | true | none | none | |
»»»» key | string | true | none | none | |
»»»» number | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» data | string | true | none | none | |
»»» amount | integer | true | none | none | |
»»» examine | integer | true | none | none | |
»»» check | integer | true | none | none | |
»»» nucleus | integer | true | none | none | |
»»» cse | integer | true | none | none | |
»»» invoice | integer | true | none | none | |
»»» str | object | true | none | none | |
»»»» logistic | string | true | none | none | |
»»»» examine | string | true | none | none | |
»»»» check | string | true | none | none | |
»»»» nucleus | string | true | none | none | |
»»»» cse | string | true | none | none | |
»»»» invoice | string | true | none | none | |
»»» bill_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» type | string | false | none | none | |
»»»» model | string | false | none | none | |
»»»» form | integer | false | none | none | |
»»»» time | integer | false | none | none | |
»»»» money | integer | false | none | none | |
»»»» form_data | object | false | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» customer | integer | true | none | none | |
»»»»» time | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» total | integer | true | none | none | |
»»»»» discount | integer | true | none | none | |
»»»»» cbc | integer | true | none | none | |
»»»»» actual | integer | true | none | none | |
»»»»» money | integer | true | none | none | |
»»»»» account | integer | true | none | none | |
»»»»» cost | integer | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» user | integer | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» logistic | object | true | none | none | |
»»»»»» key | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» amount | integer | true | none | none | |
»»»»» examine | integer | true | none | none | |
»»»»» check | integer | true | none | none | |
»»»»» nucleus | integer | true | none | none | |
»»»»» cse | integer | true | none | none | |
»»»»» invoice | integer | true | none | none | |
»»»»» frame_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» pid | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» sort | integer | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» user_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» role | integer | true | none | none | |
»»»»»» user | string | true | none | none | |
»»»»»» avatar | string | true | none | none | |
»»»»»» person | string | true | none | none | |
»»»»»» account | string | true | none | none | |
»»»»»» warehouse | string | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» person_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»» customer_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» assort | string | true | none | none | |
»»»» grade | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» supplier | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» title | string | true | none | none | |
»»»» tax | string | true | none | none | |
»»»» bank | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» contact | [string] | true | none | none | |
»»»» balance | integer | true | none | none | |
»»» frame_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» user_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» role | integer | true | none | none | |
»»»» user | string | true | none | none | |
»»»» avatar | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» person_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» key | string | true | none | none | |
»»» type | string | true | none | none | |
»»» name | string | true | none | none | |
»»» link | object | true | none | none | |
»»»» type | string | true | none | none | |
»»»» id | integer | true | none | none | |
»»» balance | integer | true | none | none | |
»»» rate | string | true | none | none | |
»»» children | [string] | true | none | none |
GET 导出
GET /api/sst/sbtExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单据类型 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
nucleus[] | query | array[string] | 否 | 结算状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://*******/storage/tmp/66fcfad1ba193.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
销货利润表
GET 列表
GET /api/sst/sot
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
category[] | query | array[string] | 否 | 商品类别 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"info": "string",
"goods": 0,
"spec": "string",
"sum": "string",
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": [null],
"detail": "string",
"field": {},
"state": true,
"data": "string",
"category_data": {},
"brand_data": {},
"spec_data": {},
"unit_data": {},
"cell_data": {}
},
"unit": "string",
"base": 0,
"nums": "string",
"total": 0,
"price": 0
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» info | string | false | none | none | |
»»» goods | integer | false | none | none | |
»»» spec | string | false | none | none | |
»»» sum | string | false | none | none | |
»»» goods_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» category | integer | true | none | none | |
»»»» brand | string | true | none | none | |
»»»» st | boolean | true | none | none | |
»»»» mdl | string | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» ut | boolean | true | none | none | |
»»»» unit | string | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» code | string | true | none | none | |
»»»» buy | integer | true | none | none | |
»»»» sell | integer | true | none | none | |
»»»» tax | integer | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» alloc | boolean | true | none | none | |
»»»» esp | string | true | none | none | |
»»»» level | boolean | true | none | none | |
»»»» seq | boolean | true | none | none | |
»»»» batch | boolean | true | none | none | |
»»»» pov | boolean | true | none | none | |
»»»» qgp | integer | true | none | none | |
»»»» ady | integer | true | none | none | |
»»»» img | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» detail | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» category_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» brand_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» spec_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» unit_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» cell_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»» unit | string | false | none | none | |
»»» base | integer | false | none | none | |
»»» nums | string | false | none | none | |
»»» total | integer | false | none | none | |
»»» price | number | false | none | none |
GET 导出
GET /api/sst/sotExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
category[] | query | array[string] | 否 | 商品类别 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfb1d24172.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
销货利润明细表
GET 列表
GET /api/sst/sptb
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单据类型 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"type": "string",
"key": "string",
"name": "string",
"link": {
"type": "string",
"id": 0
},
"form": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"cbc": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {},
"file": [null],
"field": {},
"data": "string",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0,
"str": {},
"customer_data": {},
"frame_data": {},
"user_data": {},
"person_data": {}
},
"cost": 0,
"gpt": 0,
"gan": "string",
"tat": 0,
"fee": 0,
"npt": 0,
"npm": "string",
"data": "string",
"children": [
{
"key": null,
"link": null,
"info": null,
"cost": null,
"gpt": null,
"gan": null,
"tat": null,
"fee": null,
"npt": null,
"npm": null
}
]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» type | string | true | none | none | |
»»» key | string | true | none | none | |
»»» name | string | true | none | none | |
»»» link | object | true | none | none | |
»»»» type | string | true | none | none | |
»»»» id | integer | true | none | none | |
»»» form | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» customer | integer | true | none | none | |
»»»» time | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» discount | integer | true | none | none | |
»»»» cbc | integer | true | none | none | |
»»»» actual | integer | true | none | none | |
»»»» money | integer | true | none | none | |
»»»» account | integer | true | none | none | |
»»»» cost | integer | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» person | string | true | none | none | |
»»»» logistic | object | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» amount | integer | true | none | none | |
»»»» examine | integer | true | none | none | |
»»»» check | integer | true | none | none | |
»»»» nucleus | integer | true | none | none | |
»»»» cse | integer | true | none | none | |
»»»» invoice | integer | true | none | none | |
»»»» str | object | true | none | none | |
»»»»» logistic | string | true | none | none | |
»»»»» examine | string | true | none | none | |
»»»»» check | string | true | none | none | |
»»»»» nucleus | string | true | none | none | |
»»»»» cse | string | true | none | none | |
»»»»» invoice | string | true | none | none | |
»»»» customer_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» assort | string | true | none | none | |
»»»»» grade | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» user | integer | true | none | none | |
»»»»» supplier | string | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» title | string | true | none | none | |
»»»»» tax | string | true | none | none | |
»»»»» bank | string | true | none | none | |
»»»»» account | string | true | none | none | |
»»»»» type | integer | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» contact | [string] | true | none | none | |
»»»»» balance | integer | true | none | none | |
»»»» frame_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» user_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» role | integer | true | none | none | |
»»»»» user | string | true | none | none | |
»»»»» avatar | string | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» account | string | true | none | none | |
»»»»» warehouse | string | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» person_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»» cost | number | true | none | none | |
»»» gpt | number | true | none | none | |
»»» gan | string | true | none | none | |
»»» tat | integer | true | none | none | |
»»» fee | integer | true | none | none | |
»»» npt | number | true | none | none | |
»»» npm | string | true | none | none | |
»»» data | string | true | none | none | |
»»» children | [object] | true | none | none | |
»»»» key | string | true | none | none | |
»»»» link | object | true | none | none | |
»»»»» type | string | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» info | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» sell | integer | true | none | none | |
»»»»» goods | integer | true | none | none | |
»»»»» spec | string | true | none | none | |
»»»»» cell | integer | true | none | none | |
»»»»» warehouse | integer | true | none | none | |
»»»»» price | integer | true | none | none | |
»»»»» tpe | integer | true | none | none | |
»»»»» nums | integer | true | none | none | |
»»»»» serial | [string] | true | none | none | |
»»»»» batch | string | true | none | none | |
»»»»» mfg | string | true | none | none | |
»»»»» discount | integer | true | none | none | |
»»»»» dsc | integer | true | none | none | |
»»»»» total | integer | true | none | none | |
»»»»» tax | integer | true | none | none | |
»»»»» tat | integer | true | none | none | |
»»»»» tpt | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» quantity | integer | true | none | none | |
»»»»» str | object | true | none | none | |
»»»»»» spec | string | true | none | none | |
»»»»»» cell | string | true | none | none | |
»»»»»» serial | string | true | none | none | |
»»»»»» exp | string | true | none | none | |
»»»»»» code | string | true | none | none | |
»»»»» goods_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»»» category | integer | true | none | none | |
»»»»»» brand | string | true | none | none | |
»»»»»» st | boolean | true | none | none | |
»»»»»» mdl | string | true | none | none | |
»»»»»» spec | string | true | none | none | |
»»»»»» ut | boolean | true | none | none | |
»»»»»» unit | string | true | none | none | |
»»»»»» cell | integer | true | none | none | |
»»»»»» code | string | true | none | none | |
»»»»»» buy | integer | true | none | none | |
»»»»»» sell | integer | true | none | none | |
»»»»»» tax | integer | true | none | none | |
»»»»»» warehouse | string | true | none | none | |
»»»»»» alloc | boolean | true | none | none | |
»»»»»» esp | string | true | none | none | |
»»»»»» level | boolean | true | none | none | |
»»»»»» seq | boolean | true | none | none | |
»»»»»» batch | boolean | true | none | none | |
»»»»»» pov | boolean | true | none | none | |
»»»»»» qgp | integer | true | none | none | |
»»»»»» ady | integer | true | none | none | |
»»»»»» img | string | true | none | none | |
»»»»»» file | [string] | true | none | none | |
»»»»»» detail | string | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» spec_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»» cell_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» cell | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» nums | integer | true | none | none | |
»»»»» warehouse_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» people | string | true | none | none | |
»»»»»» tel | string | true | none | none | |
»»»»»» add | string | true | none | none | |
»»»»»» burden | boolean | true | none | none | |
»»»»»» alloc | boolean | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»» cost | number | true | none | none | |
»»»» gpt | number | true | none | none | |
»»»» gan | string | true | none | none | |
»»»» tat | integer | true | none | none | |
»»»» fee | integer | true | none | none | |
»»»» npt | number | true | none | none | |
»»»» npm | string | true | none | none |
GET 导出
GET /api/sst/sptbExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单据类型 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfb3f2acb1.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
商品库存余额表
GET 列表
GET /api/wst/wbs
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
warehouse[] | query | array[string] | 否 | 仓库 |
time | query | string | 否 | 库存日期 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": [null],
"detail": "string",
"field": {},
"state": true,
"data": "string",
"category_data": {},
"brand_data": {},
"spec_data": {},
"unit_data": {},
"cell_data": {}
},
"spec": "string",
"unit": "string",
"base": 0,
"total": 0,
"base_2": 0,
"nums_2": "string",
"price_2": 0,
"total_2": 0,
"nums": "string",
"price": 0
}
],
"column": [
{
"id": 0,
"name": "string",
"base": "string",
"nums": "string",
"price": "string",
"total": "string"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» goods_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» category | integer | true | none | none | |
»»»» brand | string | true | none | none | |
»»»» st | boolean | true | none | none | |
»»»» mdl | string | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» ut | boolean | true | none | none | |
»»»» unit | string | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» code | string | true | none | none | |
»»»» buy | integer | true | none | none | |
»»»» sell | integer | true | none | none | |
»»»» tax | integer | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» alloc | boolean | true | none | none | |
»»»» esp | string | true | none | none | |
»»»» level | boolean | true | none | none | |
»»»» seq | boolean | true | none | none | |
»»»» batch | boolean | true | none | none | |
»»»» pov | boolean | true | none | none | |
»»»» qgp | integer | true | none | none | |
»»»» ady | integer | true | none | none | |
»»»» img | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» detail | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» category_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» brand_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» spec_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» unit_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» cell_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»» spec | string | false | none | none | |
»»» unit | string | false | none | none | |
»»» base | number | false | none | none | |
»»» total | number | false | none | none | |
»»» base_2 | number | false | none | none | |
»»» nums_2 | string | false | none | none | |
»»» price_2 | number | false | none | none | |
»»» total_2 | number | false | none | none | |
»»» nums | string | false | none | none | |
»»» price | number | false | none | none | |
»» column | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» base | string | false | none | none | |
»»» nums | string | false | none | none | |
»»» price | string | false | none | none | |
»»» total | string | false | none | none |
GET 导出
GET /api/wst/wbsExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
warehouse[] | query | array[string] | 否 | 仓库 |
time | query | string | 否 | 库存日期 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfb62ea613.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
商品收发明细表
GET 列表
GET /api/wst/wds
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
warehouse[] | query | array[string] | 否 | 仓库 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
type[] | query | array[string] | 否 | 单据类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": [null],
"detail": "string",
"field": {},
"state": true,
"data": "string",
"category_data": {},
"brand_data": {},
"spec_data": {},
"unit_data": {},
"cell_data": {}
},
"spec": "string",
"unit": "string",
"name": "string",
"summary": {
"base": 0,
"nums": "string",
"price": 0,
"total": 0
},
"id": "string",
"form_data": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"discount": 0,
"cbc": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"frame": 0,
"user": 0,
"person": "string",
"logistic": {},
"file": [null],
"field": {},
"data": "string",
"amount": 0,
"examine": 0,
"check": 0,
"nucleus": 0,
"cse": 0,
"invoice": 0,
"customer_data": {},
"frame_data": {},
"user_data": {},
"person_data": {},
"com_data": {}
},
"link": {
"type": "string",
"id": "string"
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": 0,
"alloc": 0,
"state": 0,
"data": "string"
},
"out": {
"base": 0,
"nums": "string",
"price": 0,
"total": 0
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» goods_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» category | integer | true | none | none | |
»»»» brand | string | true | none | none | |
»»»» st | boolean | true | none | none | |
»»»» mdl | string | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» ut | boolean | true | none | none | |
»»»» unit | string | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» code | string | true | none | none | |
»»»» buy | integer | true | none | none | |
»»»» sell | integer | true | none | none | |
»»»» tax | integer | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» alloc | boolean | true | none | none | |
»»»» esp | string | true | none | none | |
»»»» level | boolean | true | none | none | |
»»»» seq | boolean | true | none | none | |
»»»» batch | boolean | true | none | none | |
»»»» pov | boolean | true | none | none | |
»»»» qgp | integer | true | none | none | |
»»»» ady | integer | true | none | none | |
»»»» img | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» detail | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» category_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» brand_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» spec_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» unit_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» cell_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»» spec | string | false | none | none | |
»»» unit | string | false | none | none | |
»»» name | string | true | none | none | |
»»» summary | object | true | none | none | |
»»»» base | number | true | none | none | |
»»»» nums | string | true | none | none | |
»»»» price | number | true | none | none | |
»»»» total | number | true | none | none | |
»»» id | string | true | none | none | |
»»» form_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» customer | integer | true | none | none | |
»»»» time | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» discount | integer | true | none | none | |
»»»» cbc | integer | true | none | none | |
»»»» actual | integer | true | none | none | |
»»»» money | integer | true | none | none | |
»»»» account | integer | true | none | none | |
»»»» cost | integer | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» person | string | true | none | none | |
»»»» logistic | object | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» amount | integer | true | none | none | |
»»»» examine | integer | true | none | none | |
»»»» check | integer | true | none | none | |
»»»» nucleus | integer | true | none | none | |
»»»» cse | integer | true | none | none | |
»»»» invoice | integer | true | none | none | |
»»»» customer_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» assort | string | true | none | none | |
»»»»» grade | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» user | integer | true | none | none | |
»»»»» supplier | string | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» title | string | true | none | none | |
»»»»» tax | string | true | none | none | |
»»»»» bank | string | true | none | none | |
»»»»» account | string | true | none | none | |
»»»»» type | integer | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» contact | [string] | true | none | none | |
»»»»» balance | integer | true | none | none | |
»»»» frame_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» user_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» role | integer | true | none | none | |
»»»»» user | string | true | none | none | |
»»»»» avatar | string | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» account | string | true | none | none | |
»»»»» warehouse | string | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» person_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» com_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» py | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» assort | string | true | none | none | |
»»»»» grade | string | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» user | integer | true | none | none | |
»»»»» supplier | string | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» title | string | true | none | none | |
»»»»» tax | string | true | none | none | |
»»»»» bank | string | true | none | none | |
»»»»» account | string | true | none | none | |
»»»»» type | integer | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» contact | [string] | true | none | none | |
»»»»» balance | integer | true | none | none | |
»»» link | object | true | none | none | |
»»»» type | string | true | none | none | |
»»»» id | string | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» people | string | true | none | none | |
»»»» tel | string | true | none | none | |
»»»» add | string | true | none | none | |
»»»» burden | integer | true | none | none | |
»»»» alloc | integer | true | none | none | |
»»»» state | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» out | object | true | none | none | |
»»»» base | integer | true | none | none | |
»»»» nums | string | true | none | none | |
»»»» price | number | true | none | none | |
»»»» total | number | true | none | none |
GET 导出
GET /api/wst/wdsExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
warehouse[] | query | array[string] | 否 | 仓库 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
type[] | query | array[string] | 否 | 单据类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfb822906c.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
商品收发汇总表
GET 列表
GET /api/wst/wss
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
warehouse[] | query | array[string] | 否 | 仓库 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": [null],
"detail": "string",
"field": {},
"state": true,
"data": "string",
"category_data": {},
"brand_data": {},
"spec_data": {},
"unit_data": {},
"cell_data": {}
},
"spec": "string",
"unit": "string",
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": 0,
"alloc": 0,
"state": 0,
"data": "string"
},
"init": {
"base": 0,
"nums": 0,
"price": 0,
"total": 0
},
"summary": {
"base": 0,
"total": 0,
"nums": "string",
"price": 0
},
"buy_1": {
"base": 0,
"nums": "string",
"price": 0,
"total": 0
},
"sell_0": {
"base": 0,
"nums": "string",
"price": 0,
"total": 0
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» goods_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» category | integer | true | none | none | |
»»»» brand | string | true | none | none | |
»»»» st | boolean | true | none | none | |
»»»» mdl | string | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» ut | boolean | true | none | none | |
»»»» unit | string | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» code | string | true | none | none | |
»»»» buy | integer | true | none | none | |
»»»» sell | integer | true | none | none | |
»»»» tax | integer | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» alloc | boolean | true | none | none | |
»»»» esp | string | true | none | none | |
»»»» level | boolean | true | none | none | |
»»»» seq | boolean | true | none | none | |
»»»» batch | boolean | true | none | none | |
»»»» pov | boolean | true | none | none | |
»»»» qgp | integer | true | none | none | |
»»»» ady | integer | true | none | none | |
»»»» img | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» detail | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» category_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» brand_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» spec_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» unit_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» cell_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»» spec | string | false | none | none | |
»»» unit | string | false | none | none | |
»»» warehouse_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» people | string | true | none | none | |
»»»» tel | string | true | none | none | |
»»»» add | string | true | none | none | |
»»»» burden | integer | true | none | none | |
»»»» alloc | integer | true | none | none | |
»»»» state | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» init | object | false | none | none | |
»»»» base | integer | true | none | none | |
»»»» nums | integer | true | none | none | |
»»»» price | number | true | none | none | |
»»»» total | integer | true | none | none | |
»»» summary | object | false | none | none | |
»»»» base | number | true | none | none | |
»»»» total | number | true | none | none | |
»»»» nums | string | true | none | none | |
»»»» price | number | true | none | none | |
»»» buy_1 | object | false | none | none | |
»»»» base | number | true | none | none | |
»»»» nums | string | true | none | none | |
»»»» price | number | true | none | none | |
»»»» total | integer | true | none | none | |
»»» sell_0 | object | false | none | none | |
»»»» base | integer | true | none | none | |
»»»» nums | string | true | none | none | |
»»»» price | number | true | none | none | |
»»»» total | number | true | none | none |
GET 导出
GET /api/wst/wssExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
warehouse[] | query | array[string] | 否 | 仓库 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfba3e8d67.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
现金银行报表
GET 列表
GET /api/cst/cbf
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 账户编号 |
account[] | query | array[string] | 否 | 资金账户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"key": "string",
"account_data": {
"id": 0,
"name": "string",
"number": "string",
"time": 0,
"money": "string",
"frame": 0,
"state": 0,
"data": "string",
"balance": "string"
},
"in": 0,
"out": 0,
"summary": 0,
"children": [
{
"key": null,
"name": null,
"summary": null,
"link": null,
"form_data": null,
"time": null,
"direction": null,
"in": null,
"out": null
}
]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» key | string | true | none | none | |
»»» account_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» time | integer | true | none | none | |
»»»» money | string | true | none | none | |
»»»» frame | integer¦null | true | none | none | |
»»»» state | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»»» balance | string | true | none | none | |
»»» in | integer | true | none | none | |
»»» out | integer | true | none | none | |
»»» summary | integer | true | none | none | |
»»» children | [object] | true | none | none | |
»»»» key | string | true | none | none | |
»»»» name | string | true | none | none | |
»»»» summary | integer | true | none | none | |
»»»» link | object | true | none | none | |
»»»»» type | string | true | none | none | |
»»»»» id | string | true | none | none | |
»»»» form_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» customer | integer | true | none | none | |
»»»»» time | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» total | integer | true | none | none | |
»»»»» discount | integer | false | none | none | |
»»»»» cbc | integer | false | none | none | |
»»»»» actual | integer | false | none | none | |
»»»»» money | integer | false | none | none | |
»»»»» account | integer | false | none | none | |
»»»»» cost | integer | false | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» user | integer | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» logistic | object | false | none | none | |
»»»»»» key | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» amount | integer | true | none | none | |
»»»»» examine | integer | true | none | none | |
»»»»» check | integer | false | none | none | |
»»»»» nucleus | integer | true | none | none | |
»»»»» cse | integer | false | none | none | |
»»»»» invoice | integer | false | none | none | |
»»»»» customer_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»»» assort | string | true | none | none | |
»»»»»» grade | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» user | integer | true | none | none | |
»»»»»» supplier | string | true | none | none | |
»»»»»» person | string | true | none | none | |
»»»»»» file | [string] | true | none | none | |
»»»»»» title | string | true | none | none | |
»»»»»» tax | string | true | none | none | |
»»»»»» bank | string | true | none | none | |
»»»»»» account | string | true | none | none | |
»»»»»» type | integer | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»»» contact | [string] | true | none | none | |
»»»»»» balance | integer | true | none | none | |
»»»»» frame_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» pid | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» sort | integer | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» user_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» role | integer | true | none | none | |
»»»»»» user | string | true | none | none | |
»»»»»» avatar | string | true | none | none | |
»»»»»» person | string | true | none | none | |
»»»»»» account | string | true | none | none | |
»»»»»» warehouse | string | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» person_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»» com_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»»» assort | string | true | none | none | |
»»»»»» grade | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» user | integer | true | none | none | |
»»»»»» supplier | string | true | none | none | |
»»»»»» person | string | true | none | none | |
»»»»»» file | [string] | true | none | none | |
»»»»»» title | string | true | none | none | |
»»»»»» tax | string | true | none | none | |
»»»»»» bank | string | true | none | none | |
»»»»»» account | string | true | none | none | |
»»»»»» type | integer | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»»» contact | [string] | true | none | none | |
»»»»»» balance | integer | true | none | none | |
»»»»»» classify | string | false | none | none | |
»»»»»» customer | string | false | none | none | |
»»»»»» rate | integer | false | none | none | |
»»»»» supplier | string | false | none | none | |
»»»»» supplier_data | object | false | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»»» classify | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» user | integer | true | none | none | |
»»»»»» customer | string | true | none | none | |
»»»»»» person | string | true | none | none | |
»»»»»» file | [string] | true | none | none | |
»»»»»» title | string | true | none | none | |
»»»»»» tax | string | true | none | none | |
»»»»»» bank | string | true | none | none | |
»»»»»» account | string | true | none | none | |
»»»»»» rate | integer | true | none | none | |
»»»»»» type | integer | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»»» contact | [string] | true | none | none | |
»»»»»» balance | integer | true | none | none | |
»»»» time | integer | true | none | none | |
»»»» direction | string | true | none | none | |
»»»» in | integer | true | none | none | |
»»»» out | integer | true | none | none |
GET 导出
GET /api/cst/cbfExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 账户编号 |
account[] | query | array[string] | 否 | 资金账户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfbce91ec8.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
应收账款明细表
GET 列表
GET /api/cst/crs
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 客户编号 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
type | query | string | 否 | 客户类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"key": "string",
"customer_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"assort": null,
"grade": null,
"frame": 0,
"user": 0,
"supplier": null,
"person": null,
"file": "string",
"title": "string",
"tax": "string",
"bank": "string",
"account": "string",
"type": 0,
"field": "string",
"state": 0,
"data": "string",
"contact": "string",
"balance": "string"
},
"zero": 0,
"one": 0,
"summary": 0,
"children": [
{
"key": null,
"name": null,
"summary": null,
"link": null,
"form_data": null,
"time": null,
"direction": null,
"zero": null,
"one": null
}
]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» key | string | false | none | none | |
»»» customer_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» assort | null | true | none | none | |
»»»» grade | null | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» supplier | null | true | none | none | |
»»»» person | null | true | none | none | |
»»»» file | string | true | none | none | |
»»»» title | string | true | none | none | |
»»»» tax | string | true | none | none | |
»»»» bank | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» field | string | true | none | none | |
»»»» state | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»»» contact | string | true | none | none | |
»»»» balance | string | true | none | none | |
»»» zero | integer | false | none | none | |
»»» one | integer | false | none | none | |
»»» summary | integer | false | none | none | |
»»» children | [object] | false | none | none | |
»»»» key | string | true | none | none | |
»»»» name | string | true | none | none | |
»»»» summary | integer | true | none | none | |
»»»» link | object | true | none | none | |
»»»»» type | string | true | none | none | |
»»»»» id | string | true | none | none | |
»»»» form_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» customer | integer | true | none | none | |
»»»»» time | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» total | integer | true | none | none | |
»»»»» frame | integer | true | none | none | |
»»»»» user | integer | true | none | none | |
»»»»» person | string | true | none | none | |
»»»»» file | [string] | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» amount | integer | true | none | none | |
»»»»» examine | integer | true | none | none | |
»»»»» nucleus | integer | true | none | none | |
»»»»» frame_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» pid | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» sort | integer | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» user_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» role | integer | true | none | none | |
»»»»»» user | string | true | none | none | |
»»»»»» avatar | string | true | none | none | |
»»»»»» person | string | true | none | none | |
»»»»»» account | string | true | none | none | |
»»»»»» warehouse | string | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» person_data | object | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»» discount | integer | true | none | none | |
»»»»» cbc | integer | true | none | none | |
»»»»» actual | integer | true | none | none | |
»»»»» money | integer | true | none | none | |
»»»»» account | integer | true | none | none | |
»»»»» cost | integer | true | none | none | |
»»»»» logistic | object | true | none | none | |
»»»»»» key | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»» check | integer | true | none | none | |
»»»»» cse | integer | true | none | none | |
»»»»» invoice | integer | true | none | none | |
»»»»» reduction | integer | false | none | none | |
»»»» time | integer | true | none | none | |
»»»» direction | string | true | none | none | |
»»»» zero | integer | true | none | none | |
»»»» one | integer | true | none | none |
GET 导出
GET /api/cst/crsExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 客户编号 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
type | query | string | 否 | 客户类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfbebb2475.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
应付账款明细表
GET 列表
GET /api/cst/cps
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 供应商编号 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
type | query | string | 否 | 供应商类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 1,
"data": [
{
"key": "s_2",
"supplier_data": {
"id": 2,
"name": "点可云",
"py": "dky",
"number": "GYS0004",
"classify": null,
"frame": 1,
"user": 1,
"customer": null,
"person": null,
"file": "[]",
"title": "",
"tax": "",
"bank": "",
"account": "",
"rate": "0.00",
"type": 0,
"field": "{\"a\": \"\", \"b\": \"\", \"c\": \"\", \"d\": \"\", \"e\": \"\"}",
"state": 1,
"data": "",
"contact": "[]",
"balance": "-10.0000"
},
"zero": 10,
"one": 0,
"summary": -10,
"children": [
{
"key": "i_2",
"name": "期初",
"summary": 0
},
{
"key": "buy_1",
"link": {
"type": "buy",
"id": "1"
},
"name": "购货入库单",
"form_data": {
"id": 1,
"supplier": 2,
"time": "2024-09-29",
"number": "GHRKD0001",
"total": 15,
"discount": 0,
"actual": 15,
"money": 15,
"account": 3,
"cost": 0,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 15,
"examine": 1,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 0,
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"person_data": {
"id": 0
}
},
"time": 1727539200,
"direction": "1",
"one": 0,
"summary": 0
},
{
"key": "buy_2",
"link": {
"type": "buy",
"id": "2"
},
"name": "购货入库单",
"form_data": {
"id": 2,
"supplier": 2,
"time": "2024-09-29",
"number": "GHRKD0002",
"total": 0,
"discount": 0,
"actual": 0,
"money": 0,
"account": 3,
"cost": 0,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 0,
"examine": 1,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 3,
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"person_data": {
"id": 0
}
},
"time": 1727539200,
"direction": "1",
"one": 0,
"summary": 0
},
{
"key": "srn_1",
"link": {
"type": "srn",
"id": "1"
},
"name": "应付减免单",
"form_data": {
"id": 1,
"time": "2024-10-01",
"number": "YFJMD0001",
"supplier": 2,
"reduction": 10,
"data": "",
"amount": 0,
"nucleus": 0
},
"time": 1727712000,
"direction": "0",
"zero": 10,
"summary": -10
}
]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» key | string | false | none | none | |
»»» supplier_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» classify | null | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» customer | null | true | none | none | |
»»»» person | null | true | none | none | |
»»»» file | string | true | none | none | |
»»»» title | string | true | none | none | |
»»»» tax | string | true | none | none | |
»»»» bank | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» rate | string | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» field | string | true | none | none | |
»»»» state | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»»» contact | string | true | none | none | |
»»»» balance | string | true | none | none | |
»»» zero | integer | false | none | none | |
»»» one | integer | false | none | none | |
»»» summary | integer | false | none | none | |
»»» children | [object] | false | none | none | |
»»»» key | string | true | none | none | |
»»»» name | string | true | none | none | |
»»»» summary | integer | true | none | none | |
»»»» link | object | true | none | none | |
»»»»» type | string | true | none | none | |
»»»»» id | string | true | none | none | |
»»»» form_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» supplier | integer | true | none | none | |
»»»»» time | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» total | integer | false | none | none | |
»»»»» discount | integer | false | none | none | |
»»»»» actual | integer | false | none | none | |
»»»»» money | integer | false | none | none | |
»»»»» account | integer | false | none | none | |
»»»»» cost | integer | false | none | none | |
»»»»» frame | integer | false | none | none | |
»»»»» user | integer | false | none | none | |
»»»»» person | string | false | none | none | |
»»»»» logistic | object | false | none | none | |
»»»»»» key | string | true | none | none | |
»»»»»» number | string | true | none | none | |
»»»»» file | [string] | false | none | none | |
»»»»» field | object | false | none | none | |
»»»»»» a | string | true | none | none | |
»»»»»» b | string | true | none | none | |
»»»»»» c | string | true | none | none | |
»»»»»» d | string | true | none | none | |
»»»»»» e | string | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» amount | integer | true | none | none | |
»»»»» examine | integer | false | none | none | |
»»»»» check | integer | false | none | none | |
»»»»» nucleus | integer | true | none | none | |
»»»»» cse | integer | false | none | none | |
»»»»» invoice | integer | false | none | none | |
»»»»» frame_data | object | false | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» pid | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» sort | integer | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» user_data | object | false | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» py | string | true | none | none | |
»»»»»» frame | integer | true | none | none | |
»»»»»» role | integer | true | none | none | |
»»»»»» user | string | true | none | none | |
»»»»»» avatar | string | true | none | none | |
»»»»»» person | string | true | none | none | |
»»»»»» account | string | true | none | none | |
»»»»»» warehouse | string | true | none | none | |
»»»»»» field | object | true | none | none | |
»»»»»»» a | string | true | none | none | |
»»»»»»» b | string | true | none | none | |
»»»»»»» c | string | true | none | none | |
»»»»»»» d | string | true | none | none | |
»»»»»»» e | string | true | none | none | |
»»»»»» state | boolean | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»» person_data | object | false | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»» reduction | integer | true | none | none | |
»»»» time | integer | true | none | none | |
»»»» direction | string | true | none | none | |
»»»» one | integer | true | none | none | |
»»»» zero | integer | false | none | none |
GET 导出
GET /api/cst/cpsExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 供应商编号 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
type | query | string | 否 | 供应商类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfc09d52ff.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
客户对账单
GET 列表
GET /api/cst/cct
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
customer | query | string | 是 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": [
{
"key": "string",
"customer_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"assort": "string",
"grade": "string",
"frame": 0,
"user": 0,
"supplier": "string",
"person": "string",
"file": ["string"],
"title": "string",
"tax": "string",
"bank": "string",
"account": "string",
"type": 0,
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"contact": ["string"],
"balance": 0
},
"name": "string",
"zero": 0,
"one": 0,
"summary": 0,
"children": [
{
"key": "string",
"link": {
"type": null,
"id": null
},
"info": {
"name": null,
"total": null,
"link": null,
"spec": null,
"cell": null,
"price": null,
"tpe": null,
"nums": null,
"dsc": null,
"tat": null,
"tpt": null
}
}
],
"link": {
"type": "string",
"id": 0
},
"form_data": {
"id": 0,
"customer": 0,
"time": "string",
"number": "string",
"total": 0,
"frame": 0,
"user": 0,
"person": "string",
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"amount": 0,
"examine": 0,
"nucleus": 0,
"frame_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"user_data": {
"id": 0,
"name": "string",
"py": "string",
"frame": 0,
"role": 0,
"user": "string",
"avatar": "string",
"person": "string",
"account": "string",
"warehouse": "string",
"field": {},
"state": true,
"data": "string"
},
"person_data": {
"id": 0
},
"discount": 0,
"cbc": 0,
"actual": 0,
"money": 0,
"account": 0,
"cost": 0,
"logistic": {
"key": "string",
"number": "string"
},
"check": 0,
"cse": 0,
"invoice": 0,
"reduction": 0
},
"f": {
"total": 0,
"discount": 0,
"cbc": 0,
"actual": 0,
"money": 0
}
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» key | string | true | none | none | |
»» customer_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» assort | string | true | none | none | |
»»» grade | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» user | integer | true | none | none | |
»»» supplier | string | true | none | none | |
»»» person | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» title | string | true | none | none | |
»»» tax | string | true | none | none | |
»»» bank | string | true | none | none | |
»»» account | string | true | none | none | |
»»» type | integer | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» contact | [string] | true | none | none | |
»»» balance | integer | true | none | none | |
»» name | string | true | none | none | |
»» zero | integer | true | none | none | |
»» one | integer | true | none | none | |
»» summary | integer | true | none | none | |
»» children | [object] | true | none | none | |
»»» key | string | true | none | none | |
»»» link | object | true | none | none | |
»»»» type | string | true | none | none | |
»»»» id | integer | true | none | none | |
»»» info | object | true | none | none | |
»»»» name | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» link | object | true | none | none | |
»»»»» type | string | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» cell | string | true | none | none | |
»»»» price | integer | true | none | none | |
»»»» tpe | integer | true | none | none | |
»»»» nums | integer | true | none | none | |
»»»» dsc | integer | true | none | none | |
»»»» tat | integer | true | none | none | |
»»»» tpt | integer | true | none | none | |
»» link | object | true | none | none | |
»»» type | string | true | none | none | |
»»» id | integer | true | none | none | |
»» form_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» customer | integer | true | none | none | |
»»» time | string | true | none | none | |
»»» number | string | true | none | none | |
»»» total | integer | true | none | none | |
»»» frame | integer | true | none | none | |
»»» user | integer | true | none | none | |
»»» person | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» data | string | true | none | none | |
»»» amount | integer | true | none | none | |
»»» examine | integer | true | none | none | |
»»» nucleus | integer | true | none | none | |
»»» frame_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» user_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» role | integer | true | none | none | |
»»»» user | string | true | none | none | |
»»»» avatar | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» person_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» discount | integer | true | none | none | |
»»» cbc | integer | true | none | none | |
»»» actual | integer | true | none | none | |
»»» money | integer | true | none | none | |
»»» account | integer | true | none | none | |
»»» cost | integer | true | none | none | |
»»» logistic | object | true | none | none | |
»»»» key | string | true | none | none | |
»»»» number | string | true | none | none | |
»»» check | integer | true | none | none | |
»»» cse | integer | true | none | none | |
»»» invoice | integer | true | none | none | |
»»» reduction | integer | false | none | none | |
»» f | object | true | none | none | |
»»» total | integer | true | none | none | |
»»» discount | integer | true | none | none | |
»»» cbc | integer | true | none | none | |
»»» actual | integer | true | none | none | |
»»» money | integer | true | none | none |
GET 导出
GET /api/cst/cctExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
customer | query | string | 是 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfc3a88ad3.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
供应商对账单
GET 列表
GET /api/cst/cst
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
supplier | query | string | 是 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": [
{
"key": "s_2",
"supplier_data": {
"id": 2,
"name": "点可云",
"py": "dky",
"number": "GYS0004",
"classify": "",
"frame": 1,
"user": 1,
"customer": "",
"person": "",
"file": [],
"title": "",
"tax": "",
"bank": "",
"account": "",
"rate": 0,
"type": 0,
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"contact": [],
"balance": -10
},
"name": "-",
"zero": 10,
"one": 0,
"summary": -10,
"children": []
},
{
"key": "i_2",
"name": "期初",
"summary": 0,
"children": []
},
{
"key": "buy_1",
"link": {
"type": "buy",
"id": 1
},
"name": "购货入库单",
"form_data": {
"id": 1,
"supplier": 2,
"time": "2024-09-29",
"number": "GHRKD0001",
"total": 15,
"discount": 0,
"actual": 15,
"money": 15,
"account": 3,
"cost": 0,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 15,
"examine": 1,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 0,
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"person_data": {
"id": 0
}
},
"children": [
{
"key": "buy_info_1",
"link": {
"type": "buy",
"id": 1
},
"info": {
"link": {
"type": "buy",
"id": 1
},
"name": "芒果",
"spec": "",
"cell": "斤",
"price": 10,
"tpe": 10,
"nums": 1.5,
"dsc": 0,
"total": 15,
"tat": 0,
"tpt": 15
}
}
],
"f": {
"total": 15,
"discount": 0,
"actual": 15,
"money": 15
},
"one": 0,
"summary": 0
},
{
"key": "buy_2",
"link": {
"type": "buy",
"id": 2
},
"name": "购货入库单",
"form_data": {
"id": 2,
"supplier": 2,
"time": "2024-09-29",
"number": "GHRKD0002",
"total": 0,
"discount": 0,
"actual": 0,
"money": 0,
"account": 3,
"cost": 0,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 0,
"examine": 1,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 3,
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"person_data": {
"id": 0
}
},
"children": [
{
"key": "buy_info_3",
"link": {
"type": "buy",
"id": 2
},
"info": {
"link": {
"type": "buy",
"id": 2
},
"name": "芒果",
"spec": "",
"cell": "箱",
"price": 0,
"tpe": 0,
"nums": 1,
"dsc": 0,
"total": 0,
"tat": 0,
"tpt": 0
}
}
],
"f": {
"total": 0,
"discount": 0,
"actual": 0,
"money": 0
},
"one": 0,
"summary": 0
},
{
"key": "srn_1",
"link": {
"type": "srn",
"id": 1
},
"name": "应付减免单",
"form_data": {
"id": 1,
"time": "2024-10-01",
"number": "YFJMD0001",
"supplier": 2,
"reduction": 10,
"data": "",
"amount": 0,
"nucleus": 0
},
"children": [],
"zero": 10,
"summary": -10
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» key | string | true | none | none | |
»» supplier_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» classify | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» user | integer | true | none | none | |
»»» customer | string | true | none | none | |
»»» person | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» title | string | true | none | none | |
»»» tax | string | true | none | none | |
»»» bank | string | true | none | none | |
»»» account | string | true | none | none | |
»»» rate | integer | true | none | none | |
»»» type | integer | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» contact | [string] | true | none | none | |
»»» balance | integer | true | none | none | |
»» name | string | true | none | none | |
»» zero | integer | true | none | none | |
»» one | integer | true | none | none | |
»» summary | integer | true | none | none | |
»» children | [object] | true | none | none | |
»»» key | string | true | none | none | |
»»» link | object | true | none | none | |
»»»» type | string | true | none | none | |
»»»» id | integer | true | none | none | |
»»» info | object | true | none | none | |
»»»» link | object | true | none | none | |
»»»»» type | string | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» spec | string | true | none | none | |
»»»» cell | string | true | none | none | |
»»»» price | integer | true | none | none | |
»»»» tpe | integer | true | none | none | |
»»»» nums | number | true | none | none | |
»»»» dsc | integer | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» tat | integer | true | none | none | |
»»»» tpt | integer | true | none | none | |
»» link | object | true | none | none | |
»»» type | string | true | none | none | |
»»» id | integer | true | none | none | |
»» form_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» supplier | integer | true | none | none | |
»»» time | string | true | none | none | |
»»» number | string | true | none | none | |
»»» total | integer | false | none | none | |
»»» discount | integer | false | none | none | |
»»» actual | integer | false | none | none | |
»»» money | integer | false | none | none | |
»»» account | integer | false | none | none | |
»»» cost | integer | false | none | none | |
»»» frame | integer | false | none | none | |
»»» user | integer | false | none | none | |
»»» person | string | false | none | none | |
»»» logistic | object | false | none | none | |
»»»» key | string | true | none | none | |
»»»» number | string | true | none | none | |
»»» file | [string] | false | none | none | |
»»» field | object | false | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» data | string | true | none | none | |
»»» amount | integer | true | none | none | |
»»» examine | integer | false | none | none | |
»»» check | integer | false | none | none | |
»»» nucleus | integer | true | none | none | |
»»» cse | integer | false | none | none | |
»»» invoice | integer | false | none | none | |
»»» frame_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» user_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» role | integer | true | none | none | |
»»»» user | string | true | none | none | |
»»»» avatar | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» person_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»» reduction | integer | true | none | none | |
»» f | object | true | none | none | |
»»» total | integer | true | none | none | |
»»» discount | integer | true | none | none | |
»»» actual | integer | true | none | none | |
»»» money | integer | true | none | none |
GET 导出
GET /api/cst/cstExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
supplier | query | string | 是 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfc5c1beeb.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
利润表
GET 列表
GET /api/cst/cpt
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
frame[] | query | array[string] | 否 | 组织架构 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": [
{
"index": 0,
"name": "string",
"money": 0
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» index | integer | true | none | none | |
»» name | string | true | none | none | |
»» money | integer | true | none | none |
GET 导出
GET /api/cst/cptExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
frame[] | query | array[string] | 否 | 组织架构 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfc81ba583.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
其他收支明细表
GET 列表
GET /api/cst/cos
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单据类型 |
inc[] | query | array[string] | 否 | 收入类别 |
exp[] | query | array[string] | 否 | 支出类别 |
account[] | query | array[string] | 否 | 资金账户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"type": "string",
"name": "string",
"form": {
"id": 0,
"supplier": "string",
"time": "string",
"number": "string",
"total": 0,
"actual": 0,
"money": 0,
"account": 0,
"frame": 0,
"user": 0,
"person": "string",
"file": [null],
"field": {},
"data": "string",
"amount": 0,
"examine": 0,
"nucleus": 0,
"str": {},
"supplier_data": {},
"frame_data": {},
"account_data": {}
},
"info": {
"id": 0,
"oce": 0,
"exp": 0,
"money": 0,
"data": "string",
"exp_data": {}
},
"link": {
"type": "string",
"id": 0
},
"current": "string",
"iec": "string",
"in": 0,
"out": 0
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» type | string | false | none | none | |
»»» name | string | false | none | none | |
»»» form | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» supplier | string | true | none | none | |
»»»» time | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» total | integer | true | none | none | |
»»»» actual | integer | true | none | none | |
»»»» money | integer | true | none | none | |
»»»» account | integer | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» person | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» amount | integer | true | none | none | |
»»»» examine | integer | true | none | none | |
»»»» nucleus | integer | true | none | none | |
»»»» str | object | true | none | none | |
»»»»» examine | string | true | none | none | |
»»»»» nucleus | string | true | none | none | |
»»»» supplier_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»» frame_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»»» account_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» number | string | true | none | none | |
»»»»» time | string | true | none | none | |
»»»»» money | integer | true | none | none | |
»»»»» frame | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» balance | integer | true | none | none | |
»»» info | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» oce | integer | true | none | none | |
»»»» exp | integer | true | none | none | |
»»»» money | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»»» exp_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» data | string | true | none | none | |
»»» link | object | false | none | none | |
»»»» type | string | true | none | none | |
»»»» id | integer | true | none | none | |
»»» current | string | false | none | none | |
»»» iec | string | false | none | none | |
»»» in | integer | false | none | none | |
»»» out | integer | false | none | none |
GET 导出
GET /api/cst/cosExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单据类型 |
inc[] | query | array[string] | 否 | 收入类别 |
exp[] | query | array[string] | 否 | 支出类别 |
account[] | query | array[string] | 否 | 资金账户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfca14f0ff.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
往来单位欠款表
GET 列表
GET /api/cst/cds
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 单位名称 |
number[] | query | array[string] | 否 | 单位编号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单位类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"type": "string",
"name": "string",
"model": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"assort": "string",
"grade": "string",
"frame": 0,
"user": 0,
"supplier": "string",
"person": "string",
"file": [null],
"title": "string",
"tax": "string",
"bank": "string",
"account": "string",
"type": 0,
"field": {},
"state": true,
"data": "string",
"contact": [null],
"balance": 0,
"frame_data": {}
},
"link": {
"type": "string",
"id": 0
},
"current": "string",
"collection": 0,
"payment": 0
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» type | string | false | none | none | |
»»» name | string | false | none | none | |
»»» model | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» assort | string | true | none | none | |
»»»» grade | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» user | integer | true | none | none | |
»»»» supplier | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» file | [string] | true | none | none | |
»»»» title | string | true | none | none | |
»»»» tax | string | true | none | none | |
»»»» bank | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» contact | [string] | true | none | none | |
»»»» balance | integer | true | none | none | |
»»»» frame_data | object | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» data | string | true | none | none | |
»»» link | object | false | none | none | |
»»»» type | string | true | none | none | |
»»»» id | integer | true | none | none | |
»»» current | string | false | none | none | |
»»» collection | integer | false | none | none | |
»»» payment | integer | false | none | none |
GET 导出
GET /api/cst/cdsExp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 单位名称 |
number[] | query | array[string] | 否 | 单位编号 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 单位类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://******/storage/tmp/66fcfcc3a46e3.xlsx"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
客户管理
GET 列表
GET /api/customer/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 客户名称 |
number[] | query | array[string] | 否 | 客户编号 |
title[] | query | array[string] | 否 | 开票名称 |
tax[] | query | array[string] | 否 | 开票税号 |
bank[] | query | array[string] | 否 | 开户银行 |
account[] | query | array[string] | 否 | 银行账号 |
data[] | query | array[string] | 否 | 备注信息 |
a[] | query | array[string] | 否 | 扩展字段 a |
b[] | query | array[string] | 否 | 扩展字段 b |
c[] | query | array[string] | 否 | 扩展字段 c |
d[] | query | array[string] | 否 | 扩展字段 d |
e[] | query | array[string] | 否 | 扩展字段 e |
assort[] | query | array[string] | 否 | 客户类别 |
grade[] | query | array[string] | 否 | 价格等级 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 所属用户 |
supplier[] | query | array[string] | 否 | 关联供应商 |
person[] | query | array[string] | 否 | 关联人员 |
type[] | query | array[string] | 否 | 发票类型 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/customer/save
Body 请求参数
{
"id": 2,
"name": "测试客户1",
"number": "KH0002",
"assort": "",
"grade": "",
"frame": 1,
"user": 1,
"supplier": "",
"person": "",
"file": [],
"title": "",
"tax": "",
"bank": "",
"account": "",
"type": 0,
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"contact": []
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» name | body | string | 是 | 客户名称 |
» number | body | string | 是 | 客户编号 |
» assort | body | integer | 否 | 客户类别 |
» grade | body | integer | 否 | 价格等级 |
» frame | body | integer | 否 | 组织架构 |
» user | body | integer | 否 | 所属用户 |
» supplier | body | integer | 否 | 关联供应商 |
» person | body | integer | 否 | 关联人员 |
» file | body | [string] | 是 | 文件附件 |
» title | body | string | 否 | 开票名称 |
» tax | body | string | 否 | 开票税号 |
» bank | body | string | 否 | 开户银行 |
» account | body | string | 否 | 银行账号 |
» type | body | integer | 是 | 开票类型 |
» field | body | object | 否 | 扩展字段 |
»» a | body | string | 否 | 字段 a |
»» b | body | string | 否 | 字段 b |
»» c | body | string | 否 | 字段 c |
»» d | body | string | 否 | 字段 d |
»» e | body | string | 否 | 字段 e |
» state | body | integer | 否 | 启停状态 |
» data | body | string | 否 | 备注信息 |
» contact | body | [string] | 是 | 联系资料 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/customer/info
Body 请求参数
{
"id": "string"
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | array[string] | 是 | none |
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | string | 是 | ID 编号 |
返回示例
{
"state": "success",
"info": {
"id": 2,
"name": "测试客户1",
"py": "cskh1",
"number": "KH0002",
"assort": "",
"grade": "",
"frame": 1,
"user": 1,
"supplier": "",
"person": "",
"file": [],
"title": "",
"tax": "",
"bank": "",
"account": "",
"type": 0,
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"contact": [],
"balance": 0
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» py | string | true | none | none | |
»» number | string | true | none | none | |
»» assort | string | true | none | none | |
»» grade | string | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» supplier | string | true | none | none | |
»» person | string | true | none | none | |
»» file | [string] | true | none | none | |
»» title | string | true | none | none | |
»» tax | string | true | none | none | |
»» bank | string | true | none | none | |
»» account | string | true | none | none | |
»» type | integer | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none | |
»» contact | [string] | true | none | none | |
»» balance | integer | true | none | none |
DELETE 删除
DELETE /api/customer/destroy
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/customer/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
客户类别
GET 列表
GET /api/assort/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 类别名称 |
data[] | query | array[string] | 否 | 类别信息 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"tree": false,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» tree | boolean | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/assort/save
Body 请求参数
{
"id": 0,
"pid": 0,
"name": "测试类别1",
"sort": "0",
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 固定参数 0 |
» pid | body | integer | 是 | 所属 ID |
» name | body | string | 是 | 类别名称 |
» sort | body | integer | 是 | 类别排序 |
» data | body | string | 否 | 备注信息 |
返回示例
200 Response
{
"state": "string",
"info": 0
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/assort/info
Body 请求参数
{
"id": "string"
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | none |
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | string | 是 | ID 编号 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» pid | integer | true | none | none | |
»» name | string | true | none | none | |
»» sort | integer | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/assort/destroy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 全部数据
GET /api/assort/store
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": ["string"]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [string] | true | none | none |
客户期初
GET 列表
GET /api/cit/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 期初编号 |
data[] | query | array[string] | 否 | 备注信息 |
customer[] | query | array[string] | 否 | 客户 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
nucleus | query | string | 否 | 结算状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/cit/save
Body 请求参数
{
"id": 2,
"customer": 3,
"time": "2024-09-29",
"number": "KHQC0001",
"ar": "10000",
"dr": "0",
"data": "",
"balance": 0,
"amount": 0,
"nucleus": 0
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» customer | body | integer | 是 | 客户 |
» time | body | integer | 是 | 期初日期 |
» number | body | string | 是 | 期初编号 |
» ar | body | string | 是 | 应收金额 |
» dr | body | string | 是 | 预收金额 |
» data | body | string | 否 | 备注信息 |
» balance | body | string | 否 | 应收款余额 |
» amount | body | string | 否 | 结算金额 |
» nucleus | body | integer | 否 | 结算状态 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/cit/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | none |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"time": "string",
"number": "string",
"customer": 0,
"ar": 0,
"dr": 0,
"data": "string",
"balance": 0,
"amount": 0,
"nucleus": 0
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» customer | integer | true | none | none | |
»» ar | integer | true | none | none | |
»» dr | integer | true | none | none | |
»» data | string | true | none | none | |
»» balance | integer | true | none | none | |
»» amount | integer | true | none | none | |
»» nucleus | integer | true | none | none |
DELETE 删除
DELETE /api/cit/destroy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
供应商管理
GET 列表
GET /api/supplier/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 供应商名称 |
number[] | query | array[string] | 否 | 供应商编号 |
title[] | query | array[string] | 否 | 开票名称 |
tax[] | query | array[string] | 否 | 开票税号 |
bank[] | query | array[string] | 否 | 开户银行 |
account[] | query | array[string] | 否 | 银行账号 |
data[] | query | array[string] | 否 | 备注信息 |
a[] | query | array[string] | 否 | 扩展字段 a |
b[] | query | array[string] | 否 | 扩展字段 b |
c[] | query | array[string] | 否 | 扩展字段 c |
d[] | query | array[string] | 否 | 扩展字段 d |
e[] | query | array[string] | 否 | 扩展字段 e |
classify[] | query | array[string] | 否 | 供应商类别 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 所属用户 |
customer[] | query | array[string] | 否 | 关联客户 |
person[] | query | array[string] | 否 | 关联人员 |
type[] | query | array[string] | 否 | 发票类型 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/supplier/save
Body 请求参数
{
"id": 0,
"name": "点可云",
"number": "GYS0003",
"classify": "",
"frame": 1,
"user": 1,
"customer": "",
"person": "",
"file": [],
"title": "",
"tax": "",
"bank": "",
"account": "",
"rate": 0,
"type": 0,
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"contact": []
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 固定参数 0 |
» name | body | string | 是 | 供应商名称 |
» number | body | string | 是 | 供应商编号 |
» classify | body | integer | 否 | 供应商类别 |
» frame | body | integer | 否 | 组织架构 |
» user | body | integer | 否 | 所属用户 |
» customer | body | integer | 否 | 关联客户 |
» person | body | integer | 否 | 关联人员 |
» file | body | [string] | 否 | 文件附件 |
» title | body | string | 否 | 开票名称 |
» tax | body | string | 否 | 开票税号 |
» bank | body | string | 否 | 开户银行 |
» account | body | string | 否 | 银行账号 |
» rate | body | string | 是 | 税率 |
» type | body | integer | 是 | 开票类型 |
» field | body | object | 否 | 扩展字段 |
»» a | body | string | 否 | 扩展字段 a |
»» b | body | string | 否 | 扩展字段 b |
»» c | body | string | 否 | 扩展字段 c |
»» d | body | string | 否 | 扩展字段 d |
»» e | body | string | 否 | 扩展字段 e |
» state | body | integer | 否 | 启停状态 |
» data | body | string | 否 | 备注信息 |
» contact | body | [string] | 否 | 联系资料 |
返回示例
{
"state": "success",
"info": 1
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/supplier/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"id": 1,
"name": "点可云",
"py": "dky",
"number": "GYS0003",
"classify": "",
"frame": 1,
"user": 1,
"customer": "",
"person": "",
"file": [],
"title": "",
"tax": "",
"bank": "",
"account": "",
"rate": 0,
"type": 0,
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"contact": [],
"balance": 0
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» py | string | true | none | none | |
»» number | string | true | none | none | |
»» classify | string | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» customer | string | true | none | none | |
»» person | string | true | none | none | |
»» file | [string] | true | none | none | |
»» title | string | true | none | none | |
»» tax | string | true | none | none | |
»» bank | string | true | none | none | |
»» account | string | true | none | none | |
»» rate | integer | true | none | none | |
»» type | integer | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none | |
»» contact | [string] | true | none | none | |
»» balance | integer | true | none | none |
DELETE 删除
DELETE /api/supplier/destroy
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/supplier/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
供应商类别
GET 列表
GET /api/classify/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | string | 否 | 类别名称 |
data[] | query | string | 否 | 备注信息 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"tree": false,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» tree | boolean | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/classify/save
Body 请求参数
{
"id": 1,
"pid": 0,
"name": "食品",
"sort": "0",
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» pid | body | integer | 是 | 所属类别 |
» name | body | string | 是 | 类别名称 |
» sort | body | integer | 是 | 类别排序 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 1
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/classify/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 否 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» pid | integer | true | none | none | |
»» name | string | true | none | none | |
»» sort | integer | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/classify/destroy
Body 请求参数
{
"id": 1
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 全部数据
GET /api/classify/store
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": [
{
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string",
"sub": ["string"]
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» pid | integer | false | none | none | |
»» name | string | false | none | none | |
»» sort | integer | false | none | none | |
»» data | string | false | none | none | |
»» sub | [string] | false | none | none |
供应商期初
GET 列表
GET /api/sit/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 期初编号 |
data[] | query | array[string] | 否 | 备注信息 |
supplier[] | query | array[string] | 否 | 供应商 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
nucleus | query | string | 否 | 结算状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/sit/save
Body 请求参数
{
"id": 1,
"supplier": 2,
"time": "2024-09-29",
"number": "GYSQC0001",
"ap": "20000",
"dp": "0",
"data": "",
"balance": 0,
"amount": 0,
"nucleus": 0
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» supplier | body | integer | 是 | 供应商 |
» time | body | integer | 是 | 期初日期 |
» number | body | string | 是 | 期初编号 |
» ap | body | string | 是 | 应付金额 |
» dp | body | string | 是 | 预付金额 |
» data | body | string | 否 | 备注信息 |
» balance | body | string | 否 | 应付款余额 |
» amount | body | string | 否 | 结算金额 |
» nucleus | body | integer | 否 | 结算状态 |
返回示例
{
"state": "success",
"info": 1
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/sit/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"supplier": 0,
"time": "string",
"number": "string",
"ap": 0,
"dp": 0,
"data": "string",
"balance": 0,
"amount": 0,
"nucleus": 0
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» supplier | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» ap | integer | true | none | none | |
»» dp | integer | true | none | none | |
»» data | string | true | none | none | |
»» balance | integer | true | none | none | |
»» amount | integer | true | none | none | |
»» nucleus | integer | true | none | none |
DELETE 删除
DELETE /api/sit/destroy
Body 请求参数
{
"id": 1
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
资金账户
GET 列表
GET /api/account/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前分页 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 账户名称 |
number[] | query | array[string] | 否 | 账户编号 |
data[] | query | array[string] | 否 | 备注信息 |
frame[] | query | array[string] | 否 | 组织架构 |
state | query | string | 否 | 启用状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 1,
"data": [
{
"id": 1,
"name": "对公",
"number": "ZJ0001",
"time": "2024-09-24",
"money": 10000,
"frame": 1,
"state": true,
"data": "#",
"balance": 10000,
"str": {
"state": "启用"
},
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» number | string | false | none | none | |
»»» time | string | false | none | none | |
»»» money | integer | false | none | none | |
»»» frame | integer | false | none | none | |
»»» state | boolean | false | none | none | |
»»» data | string | false | none | none | |
»»» balance | integer | false | none | none | |
»»» str | object | false | none | none | |
»»»» state | string | true | none | none | |
»»» frame_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none |
GET 数据
GET /api/account/store
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": [
{
"id": 1,
"name": "对公"
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» name | string | false | none | none |
POST 修改
POST /api/account/save
Body 请求参数
{
"id": 1,
"name": "对公",
"number": "ZJ0001",
"time": "2024-09-24",
"money": "10000",
"frame": 1,
"state": true,
"data": "#"
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据 ID |
» name | body | string | 是 | 账户名称 |
» number | body | string | 是 | 账户编号 |
» time | body | string | 是 | 余额日期 |
» money | body | string | 是 | 期初余额 |
» frame | body | integer | 否 | 组织架构 |
» state | body | boolean | 否 | 启停状态 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 1
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
DELETE 删除
DELETE /api/account/destroy
Body 请求参数
{
"id": 1
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据 ID |
返回示例
{
"state": "success"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 获取
GET /api/account/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 数据 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"id": 3,
"name": "对公",
"number": "ZJ0001",
"time": "2024-09-24",
"money": 10000,
"frame": 1,
"state": true,
"data": "#",
"balance": 10000
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» number | string | true | none | none | |
»» time | string | true | none | none | |
»» money | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none | |
»» balance | integer | true | none | none |
收入类别
GET 列表
GET /api/inc/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 收入名称 |
data[] | query | array[string] | 否 | 备注信息 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/inc/save
Body 请求参数
{
"id": 2,
"name": "人工1",
"sort": "0",
"state": true,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» name | body | string | 是 | 类别名称 |
» sort | body | integer | 是 | 类别排序 |
» state | body | integer | 是 | 启停状态 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/inc/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"name": "string",
"sort": 0,
"state": true,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» sort | integer | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/inc/destroy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 全部数据
GET /api/inc/store
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": [
{
"id": 0,
"name": "string"
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» name | string | false | none | none |
支出类别
GET 列表
GET /api/exp/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 支出名称 |
data[] | query | array[string] | 否 | 备注信息 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/exp/save
Body 请求参数
{
"id": 2,
"name": "搬运费",
"sort": "0",
"state": true,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» name | body | string | 是 | 类别名称 |
» sort | body | integer | 是 | 类别排序 |
» state | body | integer | 是 | 启停状态 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/exp/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"name": "string",
"sort": 0,
"state": true,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» sort | integer | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/exp/destroy
Body 请求参数
{
"id": 1
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 全部数据
GET /api/exp/store
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": ["string"]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [string] | true | none | none |
结账管理
GET 列表
GET /api/period/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 结账
POST /api/period/save
Body 请求参数
{
"date": "2024-09-29"
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» date | body | string | 是 | 结算时间 |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST 反结账
POST /api/period/back
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
仓库管理
GET 列表
GET /api/warehouse/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 仓库名称 |
number[] | query | array[string] | 否 | 仓库编号 |
people[] | query | array[string] | 否 | 联系人员 |
tel[] | query | array[string] | 否 | 联系电话 |
add[] | query | array[string] | 否 | 仓库地址 |
data[] | query | array[string] | 否 | 备注信息 |
frame[] | query | array[string] | 否 | 组织架构 |
burden | query | string | 否 | 允许负库存 |
alloc | query | string | 否 | 启用货位 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/warehouse/save
Body 请求参数
{
"id": 2,
"name": "山西仓库",
"number": "CK0002",
"frame": 1,
"people": "",
"tel": "",
"add": "",
"burden": false,
"alloc": false,
"state": true,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» name | body | string | 是 | 仓库名称 |
» number | body | string | 是 | 仓库编号 |
» frame | body | integer | 否 | 组织架构 |
» people | body | string | 否 | 联系人员 |
» tel | body | string | 否 | 联系电话 |
» add | body | string | 否 | 仓库地址 |
» burden | body | integer | 是 | 允许负库存 |
» alloc | body | integer | 是 | 启用货位 |
» state | body | integer | 是 | 启停状态 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/warehouse/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» number | string | true | none | none | |
»» frame | integer | true | none | none | |
»» people | string | true | none | none | |
»» tel | string | true | none | none | |
»» add | string | true | none | none | |
»» burden | boolean | true | none | none | |
»» alloc | boolean | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/warehouse/destroy
Body 请求参数
{
"id": 1
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 全部数据
GET /api/warehouse/store
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": [
{
"id": 0,
"name": "string"
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» name | string | false | none | none |
货位管理
GET 列表
GET /api/alloc/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
warehouse | query | integer | 是 | 所属仓库 |
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 货位名称 |
number[] | query | array[string] | 否 | 货位编号 |
data[] | query | array[string] | 否 | 备注信息 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/alloc/save
Body 请求参数
{
"id": 2,
"warehouse": "2",
"name": "1排001",
"number": "CKHW0001",
"state": true,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» warehouse | body | integer | 是 | 所属仓库 |
» name | body | string | 是 | 货位名称 |
» number | body | string | 是 | 货位编码 |
» state | body | integer | 是 | 启停状态 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/alloc/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"warehouse": 0,
"name": "string",
"number": "string",
"state": true,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» warehouse | integer | true | none | none | |
»» name | string | true | none | none | |
»» number | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/alloc/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
人员管理
GET 列表
GET /api/person/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 人员名称 |
number[] | query | array[string] | 否 | 人员编号 |
tel[] | query | array[string] | 否 | 联系电话 |
data[] | query | array[string] | 否 | 备注信息 |
frame[] | query | array[string] | 否 | 组织架构 |
sex | query | string | 否 | 人员性别 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/person/save
Body 请求参数
{
"id": 2,
"name": "张四",
"number": "002",
"frame": 1,
"sex": 1,
"tel": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» name | body | string | 是 | 人员名称 |
» number | body | string | 是 | 人员编号 |
» frame | body | integer | 否 | 组织架构 |
» sex | body | integer | 是 | 人员性别 |
» tel | body | string | 否 | 联系电话 |
» field | body | object | 是 | 扩展字段 |
»» a | body | string | 否 | 扩展字段 a |
»» b | body | string | 否 | 扩展字段 b |
»» c | body | string | 否 | 扩展字段 c |
»» d | body | string | 否 | 扩展字段 d |
»» e | body | string | 否 | 扩展字段 e |
» state | body | integer | 是 | 启停状态 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/person/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"frame": 0,
"sex": 0,
"tel": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» py | string | true | none | none | |
»» number | string | true | none | none | |
»» frame | integer | true | none | none | |
»» sex | integer | true | none | none | |
»» tel | string | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/person/destroy
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/person/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
物流管理
GET 列表
GET /api/logistic/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 物流名称 |
key[] | query | array[string] | 否 | 物流标识 |
data[] | query | array[string] | 否 | 备注信息 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/logistic/save
Body 请求参数
{
"id": 16,
"name": "顺丰速运",
"key": "SF",
"state": true,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» name | body | string | 是 | 物流名称 |
» key | body | string | 是 | 物流标识 |
» state | body | integer | 是 | 启停状态 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 16
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/logistic/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"name": "string",
"key": "string",
"state": true,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» key | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/logistic/destroy
Body 请求参数
{
"id": 16
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
商品管理
GET 列表
GET /api/goods/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
code[] | query | array[string] | 否 | 商品条码 |
a[] | query | array[string] | 否 | 扩展字段 a |
b[] | query | array[string] | 否 | 扩展字段 b |
c[] | query | array[string] | 否 | 扩展字段 c |
d[] | query | array[string] | 否 | 扩展字段 d |
e[] | query | array[string] | 否 | 扩展字段 e |
data[] | query | array[string] | 否 | 备注信息 |
category[] | query | array[string] | 否 | 商品类别 |
brand[] | query | array[string] | 否 | 商品品牌 |
st | query | string | 否 | 规格类型 |
spec[] | query | array[string] | 否 | 多规格型号 |
ut | query | string | 否 | 单位类型 |
unit[] | query | array[string] | 否 | 计量单位 |
cell[] | query | array[string] | 否 | 多计量单位 |
warehouse[] | query | array[string] | 否 | 默认仓库 |
alloc | query | string | 否 | 仓库货位 |
level | query | string | 否 | 等级折扣 |
seq | query | string | 否 | 序列商品 |
batch | query | string | 否 | 批次商品 |
pov | query | string | 否 | 有效期 |
supplier[] | query | array[string] | 否 | 供应商 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
GET 获取
GET /api/goods/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string"
},
"price": ["string"],
"gs": ["string"],
"ga": ["string"],
"level": ["string"]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» py | string | true | none | none | |
»» number | string | true | none | none | |
»» category | integer | true | none | none | |
»» brand | string | true | none | none | |
»» st | boolean | true | none | none | |
»» mdl | string | true | none | none | |
»» spec | string | true | none | none | |
»» ut | boolean | true | none | none | |
»» unit | string | true | none | none | |
»» cell | integer | true | none | none | |
»» code | string | true | none | none | |
»» buy | integer | true | none | none | |
»» sell | integer | true | none | none | |
»» tax | integer | true | none | none | |
»» warehouse | string | true | none | none | |
»» alloc | boolean | true | none | none | |
»» esp | string | true | none | none | |
»» level | boolean | true | none | none | |
»» seq | boolean | true | none | none | |
»» batch | boolean | true | none | none | |
»» pov | boolean | true | none | none | |
»» qgp | integer | true | none | none | |
»» ady | integer | true | none | none | |
»» img | string | true | none | none | |
»» file | [string] | true | none | none | |
»» detail | string | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none | |
» price | [string] | true | none | none | |
» gs | [string] | true | none | none | |
» ga | [string] | true | none | none | |
» level | [string] | true | none | none |
POST 新增
POST /api/goods/save
Body 请求参数
{
"form": {
"id": 0,
"name": "芒果1",
"number": "SP0004",
"category": 1,
"brand": "",
"st": false,
"mdl": "",
"spec": "",
"ut": true,
"unit": "",
"cell": 1,
"code": "",
"buy": 10,
"sell": 12,
"tax": 0,
"warehouse": "",
"alloc": false,
"esp": "0",
"level": false,
"seq": false,
"batch": false,
"pov": false,
"qgp": "0",
"ady": "0",
"img": "",
"file": [],
"detail": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"py": "mg"
},
"price": [
{
"spec": "",
"cell": 1,
"buy": "10",
"sell": "12",
"code": "123546"
}
],
"ga": [
{
"warehouse": 2,
"alloc": 1,
"data": ""
}
],
"gs": [
{
"supplier": 2,
"data": "123"
}
],
"level": [
{
"grade": 1,
"dre": "90",
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 基础资料 |
»» id | body | integer | 是 | 固定参数 0 |
»» name | body | string | 是 | 商品名称 |
»» number | body | string | 是 | 商品编号 |
»» category | body | integer | 是 | 商品类别 |
»» brand | body | string | 是 | 商品品牌 |
»» st | body | boolean | 是 | 规格类型 |
»» mdl | body | string | 是 | 规格型号 |
»» spec | body | string | 是 | 多规格型号 |
»» ut | body | boolean | 是 | 单位类型 |
»» unit | body | string | 是 | 计量单位 |
»» cell | body | integer | 是 | 多计量单位 |
»» code | body | string | 是 | 商品条码 |
»» buy | body | integer | 是 | 购货价格 |
»» sell | body | integer | 是 | 销货价格 |
»» tax | body | integer | 是 | 商品税率 |
»» warehouse | body | string | 是 | 默认仓库 |
»» alloc | body | boolean | 是 | 仓库货位 |
»» esp | body | string | 是 | 库存预警 |
»» level | body | boolean | 是 | 等级折扣 |
»» seq | body | boolean | 是 | 序列商品 |
»» batch | body | boolean | 是 | 批次商品 |
»» pov | body | boolean | 是 | 有效期 |
»» qgp | body | string | 是 | 保质期 |
»» ady | body | string | 是 | 预警天数 |
»» img | body | string | 是 | 商品图像 |
»» file | body | [string] | 是 | 文件附件 |
»» detail | body | string | 是 | 图文详情 |
»» field | body | object | 是 | 扩展字段 |
»»» a | body | string | 是 | 扩展字段 a |
»»» b | body | string | 是 | 扩展字段 b |
»»» c | body | string | 是 | 扩展字段 c |
»»» d | body | string | 是 | 扩展字段 d |
»»» e | body | string | 是 | 扩展字段 e |
»» state | body | boolean | 是 | 启停状态 |
»» data | body | string | 是 | 备注信息 |
»» py | body | string | 是 | 拼音信息 |
» price | body | [object] | 否 | 等级折扣 |
»» spec | body | string | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» buy | body | string | 是 | 购货价格 |
»» sell | body | string | 是 | 销货价格 |
»» code | body | string | 是 | 商品条码 |
» ga | body | [object] | 否 | 商品货位 |
»» warehouse | body | integer | 是 | 仓库名称 |
»» alloc | body | integer | 是 | 货位名称 |
»» data | body | string | 否 | 备注信息 |
» gs | body | [object] | 否 | 关联供应商 |
»» supplier | body | integer | 是 | 供应商 |
»» data | body | string | 否 | 备注信息 |
» level | body | [object] | 否 | 等级折扣 |
»» grade | body | integer | 是 | 价格等级 |
»» dre | body | string | 是 | 折扣率 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 3
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
DELETE 删除
DELETE /api/goods/destroy
Body 请求参数
{
"id": [3]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST 复制
POST /api/goods/copy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/goods/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
BOM 管理
GET 列表
GET /api/bom/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | BOM 名称 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格型号 |
data[] | query | array[string] | 否 | 备注信息 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/bom/save
Body 请求参数
{
"form": {
"id": 2,
"name": "整装芒果1",
"time": "2024-09-29",
"number": "BOM0002",
"frame": 1,
"user": 1,
"person": "",
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"examine": 0
},
"info": [
{
"goods": 2,
"type": 1,
"spec": "",
"cell": 1,
"nums": 1,
"data": ""
},
{
"goods": 1,
"type": 0,
"spec": "",
"cell": "",
"nums": 1,
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 数据参数 |
»» name | body | string | 是 | BOM 名称 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单人 |
»» person | body | integer | 否 | 关联人员 |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 d |
»» data | body | string | 否 | 备注信息 |
»» examine | body | integer | 否 | 审核状态 |
» info | body | [object] | 是 | 详情明细 |
»» goods | body | integer | 是 | 商品信息 |
»» type | body | integer | 是 | 类型 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» nums | body | number | 是 | 数量 |
»» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/bom/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"time": "string",
"number": "string",
"name": "string",
"frame": 0,
"user": 0,
"person": "string",
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0
},
"info": [
{
"id": 0,
"bom": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"type": 0,
"nums": 0,
"data": "string",
"str": {
"spec": "string",
"cell": "string",
"type": "string"
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": null
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» name | string | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» examine | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | true | none | none | |
»» bom | integer | true | none | none | |
»» goods | integer | true | none | none | |
»» spec | string | true | none | none | |
»» cell | integer | true | none | none | |
»» type | integer | true | none | none | |
»» nums | integer | true | none | none | |
»» data | string | true | none | none | |
»» str | object | true | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» type | string | true | none | none | |
»» goods_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | false | none | none | |
»»»» state | boolean | false | none | none | |
»»»» data | string | false | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» nums | integer | false | none | none | |
»» warehouse_data | null | true | none | none |
DELETE 删除
DELETE /api/bom/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/bom/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/bom/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
商品类别
GET 列表
GET /api/category/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 类别名称 |
data[] | query | array[string] | 否 | 类别信息 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 1,
"tree": true,
"data": [
{
"id": 1,
"pid": 0,
"name": "软件",
"sort": 0,
"data": "",
"sub": []
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» tree | boolean | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» pid | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» sort | integer | false | none | none | |
»»» data | string | false | none | none | |
»»» sub | [string] | false | none | none |
GET 获取
GET /api/category/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» pid | integer | true | none | none | |
»» name | string | true | none | none | |
»» sort | integer | true | none | none | |
»» data | string | true | none | none |
POST 新增
POST /api/category/save
Body 请求参数
{
"id": 0,
"pid": 0,
"name": "软件1",
"sort": 0,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 固定参数 0 |
» pid | body | integer | 是 | 所属类别 |
» name | body | string | 是 | 类别名称 |
» sort | body | integer | 是 | 类别排序 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
DELETE 删除
DELETE /api/category/destroy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 全部数据
GET /api/category/store
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": [
{
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string",
"sub": ["string"]
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» pid | integer | false | none | none | |
»» name | string | false | none | none | |
»» sort | integer | false | none | none | |
»» data | string | false | none | none | |
»» sub | [string] | false | none | none |
商品品牌
GET 列表
GET /api/brand/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 品牌名称 |
data[] | query | array[string] | 否 | 备注信息 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/brand/save
Body 请求参数
{
"id": 2,
"name": "测试",
"state": true,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» name | body | string | 是 | 品牌名称 |
» state | body | integer | 否 | 启停状态 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/brand/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/brand/destroy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
规格属性
GET 列表
GET /api/attr/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 属性名称 |
data[] | query | array[string] | 否 | 备注信息 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/attr/save
Body 请求参数
{
"form": {
"id": 2,
"name": "颜色1",
"state": true,
"data": ""
},
"info": [
{
"name": "红色"
},
{
"name": "蓝色"
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 属性内容 |
»» id | body | integer | 是 | 数据参数 |
»» name | body | string | 是 | 属性名称 |
»» state | body | integer | 否 | 启停状态 |
»» data | body | string | 否 | 备注信息 |
» info | body | [object] | 是 | 属性详情 |
»» name | body | string | 是 | 属性名称 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/attr/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"info": [
{
"id": 0,
"attr": 0,
"name": "string"
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | true | none | none | |
»» attr | integer | true | none | none | |
»» name | string | true | none | none |
DELETE 删除
DELETE /api/attr/destroy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 全部数据
GET /api/attr/store
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": [
{
"id": 0,
"name": "string",
"state": true,
"data": "string",
"info": [
{
"id": 0,
"attr": 0,
"name": "string"
}
]
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» name | string | false | none | none | |
»» state | boolean | false | none | none | |
»» data | string | false | none | none | |
»» info | [object] | false | none | none | |
»»» id | integer | true | none | none | |
»»» attr | integer | true | none | none | |
»»» name | string | true | none | none |
多规格型号
GET 列表
GET /api/spec/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 规格名称 |
data[] | query | array[string] | 否 | 备注信息 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/spec/save
Body 请求参数
{
"form": {
"id": 2,
"name": "颜色1",
"state": true,
"data": "",
"attr": ["1", "2"]
},
"info": [
{
"name": "红色"
},
{
"name": "蓝色"
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 规格内容 |
»» id | body | integer | 是 | 数据参数 |
»» name | body | string | 是 | 规格名称 |
»» state | body | integer | 是 | 启停状态 |
»» data | body | string | 否 | 备注信息 |
»» attr | body | [string] | 是 | 规格属性 |
» info | body | [object] | 是 | 规格详情 |
»» name | body | string | 是 | 规格名称 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/spec/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"name": "string",
"state": true,
"data": "string",
"attr": ["string"]
},
"info": [
{
"id": 0,
"spec": 0,
"name": "string",
"sort": 0
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none | |
»» attr | [string] | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | true | none | none | |
»» spec | integer | true | none | none | |
»» name | string | true | none | none | |
»» sort | integer | true | none | none |
DELETE 删除
DELETE /api/spec/destroy
Body 请求参数
{
"id": 1
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
计量单位
GET 列表
GET /api/unit/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 单位名称 |
data[] | query | array[string] | 否 | 备注信息 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/unit/save
Body 请求参数
{
"id": 2,
"name": "盒",
"state": true,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» name | body | string | 是 | 单位名称 |
» state | body | integer | 否 | 启停状态 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/unit/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/unit/destroy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
多计量单位
GET 列表
GET /api/cell/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 单位名称 |
data[] | query | array[string] | 否 | 备注信息 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 1,
"data": [
{
"id": 1,
"name": "40斤1箱",
"state": true,
"data": "",
"str": {
"state": "启用"
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» state | boolean | false | none | none | |
»»» data | string | false | none | none | |
»»» str | object | false | none | none | |
»»»» state | string | true | none | none |
GET 获取
GET /api/cell/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"info": [
{
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | true | none | none | |
»» cell | integer | true | none | none | |
»» name | string | true | none | none | |
»» nums | integer | true | none | none |
POST 新增
POST /api/cell/save
Body 请求参数
{
"form": {
"id": 0,
"name": "40斤1箱1",
"state": true,
"data": ""
},
"info": [
{
"id": 0,
"cell": 1,
"name": "斤",
"nums": 1
},
{
"id": 0,
"cell": 1,
"name": "箱",
"nums": 40
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 多计量单位内容 |
»» id | body | integer | 是 | 固定参数 0 |
»» name | body | string | 是 | 单位名称 |
»» state | body | integer | 否 | 启停状态 |
»» data | body | string | 否 | 备注信息 |
» info | body | [object] | 是 | 多计量单位详情 |
»» id | body | integer | 是 | 固定参数 0 |
»» cell | body | integer | 是 | 所属数据 |
»» name | body | string | 是 | 单位名称 |
»» nums | body | number | 是 | 单位数量 |
返回示例
{
"state": "success",
"info": 3
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
DELETE 删除
DELETE /api/cell/destroy
Body 请求参数
{
"id": 3
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
价格等级
GET 列表
GET /api/grade/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页面 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 等级名称 |
data[] | query | array[string] | 否 | 备注信息 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 1,
"data": [
{
"id": 1,
"name": "一级",
"state": true,
"data": "",
"str": {
"state": "启用"
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» state | boolean | false | none | none | |
»»» data | string | false | none | none | |
»»» str | object | false | none | none | |
»»»» state | string | true | none | none |
GET 获取
GET /api/grade/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none |
POST 新增
POST /api/grade/save
Body 请求参数
{
"id": 0,
"name": "二级",
"state": true,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 固定参数 0 |
» name | body | string | 是 | 等级名称 |
» state | body | integer | 是 | 启停状态 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 1
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
DELETE 删除
DELETE /api/grade/destroy
Body 请求参数
{
"id": 1
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
条码管理
GET 列表
GET /api/code/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 条码名称 |
text[] | query | array[string] | 否 | 条码内容 |
data[] | query | array[string] | 否 | 备注信息 |
type | query | string | 否 | 条码类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 1,
"data": [
{
"id": 1,
"name": "苹果",
"text": "SP0003",
"type": 0,
"data": "",
"str": {
"type": "条形码"
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» text | string | false | none | none | |
»»» type | integer | false | none | none | |
»»» data | string | false | none | none | |
»»» str | object | false | none | none | |
»»»» type | string | true | none | none |
GET 获取
GET /api/code/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"name": "string",
"text": "string",
"type": 0,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» text | string | true | none | none | |
»» type | integer | true | none | none | |
»» data | string | true | none | none |
POST 新增
POST /api/code/save
Body 请求参数
{
"id": 0,
"name": "梨",
"text": "SP0004",
"type": 0,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 固定参数 0 |
» name | body | string | 是 | 条码名称 |
» text | body | string | 是 | 条码内容 |
» type | body | integer | 是 | 条码类型 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
DELETE 删除
DELETE /api/code/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/code/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
商品期初
GET 列表
GET /api/git/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
goods[] | query | array[string] | 否 | 商品信息 |
spec[] | query | array[string] | 否 | 规格信号 |
data[] | query | array[string] | 否 | 备注信息 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
examine | query | string | 否 | 审核状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/git/save
Body 请求参数
{
"form": {
"id": 0,
"time": "2024-09-29",
"number": "SPQC0002",
"total": 100,
"frame": 1,
"user": 1,
"person": "",
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"examine": 0
},
"info": [
{
"goods": 2,
"spec": "",
"cell": 1,
"warehouse": 2,
"price": 10,
"nums": "10",
"serial": [],
"batch": "",
"mfg": "",
"total": 100,
"data": ""
}
]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» form | body | object | 是 | 单据详情 |
»» id | body | integer | 是 | 固定参数 0 |
»» time | body | integer | 是 | 单据时间 |
»» number | body | string | 是 | 单据编号 |
»» total | body | number | 是 | 单据金额 |
»» frame | body | integer | 否 | 组织架构 |
»» user | body | integer | 否 | 制单用户 |
»» person | body | integer | 否 | 关联人员 |
»» file | body | [string] | 否 | 文件附件 |
»» field | body | object | 否 | 扩展字段 |
»»» a | body | string | 否 | 扩展字段 a |
»»» b | body | string | 否 | 扩展字段 b |
»»» c | body | string | 否 | 扩展字段 c |
»»» d | body | string | 否 | 扩展字段 d |
»»» e | body | string | 否 | 扩展字段 e |
»» data | body | string | 否 | 备注信息 |
»» examine | body | integer | 否 | 审核状态 |
» info | body | [object] | 是 | 详情明细 |
»» goods | body | integer | 否 | 商品信息 |
»» spec | body | integer | 否 | 规格型号 |
»» cell | body | integer | 否 | 计量单位 |
»» warehouse | body | integer | 是 | 仓库 |
»» price | body | number | 是 | 单价 |
»» nums | body | number | 是 | 数量 |
»» serial | body | [string] | 否 | 序列号 |
»» batch | body | string | 否 | 批次号 |
»» mfg | body | integer | 否 | 生产日期 |
»» total | body | number | 否 | 金额 |
»» data | body | string | 否 | 备注信息 |
返回示例
200 Response
{
"state": "string",
"info": 0
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/git/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"form": {
"id": 0,
"time": "string",
"number": "string",
"total": 0,
"frame": 0,
"user": 0,
"person": "string",
"file": ["string"],
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"data": "string",
"examine": 0
},
"info": [
{
"id": 0,
"git": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"warehouse": 0,
"price": 0,
"nums": 0,
"serial": ["string"],
"batch": "string",
"mfg": "string",
"total": 0,
"data": "string",
"str": {
"spec": "string",
"cell": "string",
"serial": "string",
"exp": "string",
"code": "string"
},
"goods_data": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
]
},
"spec_data": {
"id": 0
},
"cell_data": {
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
},
"warehouse_data": {
"id": 0,
"name": "string",
"number": "string",
"frame": 0,
"people": "string",
"tel": "string",
"add": "string",
"burden": true,
"alloc": true,
"state": true,
"data": "string"
}
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» form | object | true | none | none | |
»» id | integer | true | none | none | |
»» time | string | true | none | none | |
»» number | string | true | none | none | |
»» total | integer | true | none | none | |
»» frame | integer | true | none | none | |
»» user | integer | true | none | none | |
»» person | string | true | none | none | |
»» file | [string] | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» data | string | true | none | none | |
»» examine | integer | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» git | integer | false | none | none | |
»» goods | integer | false | none | none | |
»» spec | string | false | none | none | |
»» cell | integer | false | none | none | |
»» warehouse | integer | false | none | none | |
»» price | integer | false | none | none | |
»» nums | integer | false | none | none | |
»» serial | [string] | false | none | none | |
»» batch | string | false | none | none | |
»» mfg | string | false | none | none | |
»» total | integer | false | none | none | |
»» data | string | false | none | none | |
»» str | object | false | none | none | |
»»» spec | string | true | none | none | |
»»» cell | string | true | none | none | |
»»» serial | string | true | none | none | |
»»» exp | string | true | none | none | |
»»» code | string | true | none | none | |
»» goods_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»» spec_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» number | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» people | string | true | none | none | |
»»» tel | string | true | none | none | |
»»» add | string | true | none | none | |
»»» burden | boolean | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none |
DELETE 删除
DELETE /api/git/destroy
Body 请求参数
{
"id": [2]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST (反)审核
POST /api/git/examine
Body 请求参数
{
"id": [1]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/git/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
系统参数
GET 获取
GET /api/sys/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"base": {
"icp": "",
"mps": "",
"time": "2024-09-23",
"title": "点可云进销存",
"notice": "欢迎使用点可云ERP进销存\n官网地址:www.nodcloud.com\n客服电话:400-728-0806",
"slogan": "化繁为简·为高效运作助力",
"company": "山西点可云科技有限公司"
},
"fun": {
"api": true,
"bhw": 0,
"dtc": false,
"etx": false,
"itx": false,
"pmd": "ma",
"rmw": 0,
"tax": 0,
"cell": true,
"cmpt": false,
"data": false,
"time": 31,
"digit": 2,
"range": false,
"voice": false,
"backup": true,
"retain": 7,
"timely": false,
"examine": false,
"watermark": false,
"notification": false
},
"report": {
"app": "cloud",
"type": "local",
"cloud": {
"add": "report.nodcloud.com",
"port": "3676",
"scene": "wss"
},
"local": {
"add": "127.0.0.1",
"port": "3676",
"scene": "ws"
}
}
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» base | object | true | none | none | |
»»» icp | string | true | none | none | |
»»» mps | string | true | none | none | |
»»» time | string | true | none | none | |
»»» title | string | true | none | none | |
»»» notice | string | true | none | none | |
»»» slogan | string | true | none | none | |
»»» company | string | true | none | none | |
»» fun | object | true | none | none | |
»»» api | boolean | true | none | none | |
»»» bhw | integer | true | none | none | |
»»» dtc | boolean | true | none | none | |
»»» etx | boolean | true | none | none | |
»»» itx | boolean | true | none | none | |
»»» pmd | string | true | none | none | |
»»» rmw | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» cell | boolean | true | none | none | |
»»» cmpt | boolean | true | none | none | |
»»» data | boolean | true | none | none | |
»»» time | integer | true | none | none | |
»»» digit | integer | true | none | none | |
»»» range | boolean | true | none | none | |
»»» voice | boolean | true | none | none | |
»»» backup | boolean | true | none | none | |
»»» retain | integer | true | none | none | |
»»» timely | boolean | true | none | none | |
»»» examine | boolean | true | none | none | |
»»» watermark | boolean | true | none | none | |
»»» notification | boolean | true | none | none | |
»» report | object | true | none | none | |
»»» app | string | true | none | none | |
»»» type | string | true | none | none | |
»»» cloud | object | true | none | none | |
»»»» add | string | true | none | none | |
»»»» port | string | true | none | none | |
»»»» scene | string | true | none | none | |
»»» local | object | true | none | none | |
»»»» add | string | true | none | none | |
»»»» port | string | true | none | none | |
»»»» scene | string | true | none | none |
POST 保存
POST /api/sys/save
Body 请求参数
{
"base": {
"icp": "",
"mps": "",
"time": "2024-09-23",
"title": "点可云进销存",
"notice": "欢迎使用点可云ERP进销存\n官网地址:www.nodcloud.com\n客服电话:400-728-0806",
"slogan": "化繁为简·为高效运作助力",
"company": "山西点可云科技有限公司"
},
"fun": {
"api": true,
"bhw": 0,
"dtc": false,
"etx": false,
"itx": false,
"pmd": "ma",
"rmw": 0,
"tax": 0,
"cell": true,
"cmpt": false,
"data": false,
"time": 31,
"digit": 2,
"range": false,
"voice": false,
"backup": true,
"retain": 7,
"timely": false,
"examine": false,
"watermark": false,
"notification": false
},
"report": {
"app": "cloud",
"type": "local",
"cloud": {
"add": "report.nodcloud.com",
"port": "3676",
"scene": "wss"
},
"local": {
"add": "127.0.0.1",
"port": "3676",
"scene": "ws"
}
}
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» base | body | object | 是 | 基础数据 |
»» icp | body | string | 是 | none |
»» mps | body | string | 是 | none |
»» time | body | string | 是 | none |
»» title | body | string | 是 | 系统名称 |
»» notice | body | string | 是 | none |
»» slogan | body | string | 是 | none |
»» company | body | string | 是 | none |
» fun | body | object | 是 | none |
»» api | body | boolean | 是 | none |
»» bhw | body | integer | 是 | none |
»» dtc | body | boolean | 是 | none |
»» etx | body | boolean | 是 | none |
»» itx | body | boolean | 是 | none |
»» pmd | body | string | 是 | none |
»» rmw | body | integer | 是 | none |
»» tax | body | integer | 是 | none |
»» cell | body | boolean | 是 | none |
»» cmpt | body | boolean | 是 | none |
»» data | body | boolean | 是 | none |
»» time | body | integer | 是 | none |
»» digit | body | integer | 是 | none |
»» range | body | boolean | 是 | none |
»» voice | body | boolean | 是 | none |
»» backup | body | boolean | 是 | none |
»» retain | body | integer | 是 | none |
»» timely | body | boolean | 是 | none |
»» examine | body | boolean | 是 | none |
»» watermark | body | boolean | 是 | none |
»» notification | body | boolean | 是 | none |
» report | body | object | 是 | none |
»» app | body | string | 是 | none |
»» type | body | string | 是 | none |
»» cloud | body | object | 是 | none |
»»» add | body | string | 是 | none |
»»» port | body | string | 是 | none |
»»» scene | body | string | 是 | none |
»» local | body | object | 是 | none |
»»» add | body | string | 是 | none |
»»» port | body | string | 是 | none |
»»» scene | body | string | 是 | none |
返回示例
{
"state": "success"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
组织架构
GET 列表
GET /api/frame/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 组织名称 |
data[] | query | array[string] | 否 | 备注信息 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 1,
"tree": true,
"data": [
{
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": "",
"sub": []
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» tree | boolean | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» pid | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» sort | integer | false | none | none | |
»»» data | string | false | none | none | |
»»» sub | [string] | false | none | none |
GET 获取
GET /api/frame/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 否 | 数据 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» pid | integer | true | none | none | |
»» name | string | true | none | none | |
»» sort | integer | true | none | none | |
»» data | string | true | none | none |
POST 修改
POST /api/frame/save
Body 请求参数
{
"id": 2,
"pid": 0,
"name": "办公室",
"sort": "0",
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据 ID |
» pid | body | integer | 是 | 所属组织 |
» name | body | string | 是 | 组织名称 |
» sort | body | integer | 是 | 组织排序 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
DELETE 删除
DELETE /api/frame/destroy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据 ID |
返回示例
{
"state": "success"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 全部数据
GET /api/frame/data
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": [
{
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": "",
"sub": []
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» pid | integer | false | none | none | |
»» name | string | false | none | none | |
»» sort | integer | false | none | none | |
»» data | string | false | none | none | |
»» sub | [string] | false | none | none |
GET 权限数据
GET /api/frame/store
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": [
{
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": "",
"sub": []
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» pid | integer | false | none | none | |
»» name | string | false | none | none | |
»» sort | integer | false | none | none | |
»» data | string | false | none | none | |
»» sub | [string] | false | none | none |
用户角色
GET 列表
GET /api/role/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 角色名称 |
data[] | query | array[string] | 否 | 备注信息 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 1,
"data": [
{
"id": 1,
"name": "管理员",
"state": true,
"data": "#",
"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": [-3],
"user": [-3],
"frame": [-3],
"person": [-3],
"account": [-3],
"customer": [-3],
"supplier": [-3],
"warehouse": [-3]
},
"str": {
"state": "启用"
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» tree | boolean | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» pid | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» sort | integer | false | none | none | |
»»» data | string | false | none | none | |
»»» sub | [string] | false | none | none | |
»»» state | boolean | false | none | none | |
»»» fun | object | false | none | none | |
»»»» adj | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» bbt | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» blt | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» bom | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» bor | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» open | boolean | true | none | none | |
»»»»» close | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» bot | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» bre | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» rck | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» check | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» bsy | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» bta | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» btb | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» buy | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» rck | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» check | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» cbf | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» cct | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» cds | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» cit | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» cos | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» cps | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» cpt | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» crn | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» crs | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» cst | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» exp | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» git | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» ice | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» imy | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» inc | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» log | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» oce | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» omy | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» sbt | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» sit | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» slt | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» sor | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» open | boolean | true | none | none | |
»»»»» close | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» sot | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» sre | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» rck | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» check | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» srn | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» ssy | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» sta | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» stb | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» sys | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»» wbs | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» wds | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» wss | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» attr | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» bill | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» cell | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» code | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» cost | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» home | object | true | none | none | |
»»»»» form | boolean | true | none | none | |
»»»»» fund | boolean | true | none | none | |
»»»»» total | boolean | true | none | none | |
»»»»» assets | boolean | true | none | none | |
»»»»» summary | boolean | true | none | none | |
»»»» make | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» menu | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» role | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» sell | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» rck | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» check | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» spec | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» spta | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» sptb | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» tool | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»» unit | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» user | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» alloc | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» allot | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» batch | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» brand | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» check | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»» entry | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» extry | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» frame | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» goods | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» buy | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» sell | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» grade | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» stock | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» assort | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» backup | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» backup | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» recover | boolean | true | none | none | |
»»»» divide | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» number | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» period | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» back | boolean | true | none | none | |
»»»»» save | boolean | true | none | none | |
»»»» person | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» report | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» serial | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» update | object | true | none | none | |
»»»»» online | boolean | true | none | none | |
»»»» account | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» invoice | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» summary | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»» category | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» classify | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» customer | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» explorer | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» logistic | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» supplier | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» transfer | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» warehouse | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» notification | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»» auth | object | false | none | none | |
»»»» file | [integer] | true | none | none | |
»»»» user | [integer] | true | none | none | |
»»»» frame | [integer] | true | none | none | |
»»»» person | [integer] | true | none | none | |
»»»» account | [integer] | true | none | none | |
»»»» customer | [integer] | true | none | none | |
»»»» supplier | [integer] | true | none | none | |
»»»» warehouse | [integer] | true | none | none | |
»»» str | object | false | none | none | |
»»»» state | string | true | none | none |
POST 修改
POST /api/role/save
Body 请求参数
{
"id": 3,
"name": "测试",
"state": true,
"data": "",
"fun": {
"home": {
"summary": true,
"form": true,
"assets": true,
"fund": true,
"total": true
},
"bor": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true,
"open": true,
"close": true,
"price": true
},
"buy": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true,
"check": true,
"rck": true,
"price": true
},
"bre": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true,
"check": true,
"rck": true,
"price": true
},
"sor": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true,
"open": true,
"close": true,
"price": true
},
"sell": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true,
"check": true,
"rck": true,
"price": true
},
"sre": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true,
"check": true,
"rck": true,
"price": true
},
"stock": {
"see": true,
"export": true
},
"batch": {
"see": true,
"export": true
},
"serial": {
"see": true,
"export": true
},
"check": {
"see": true
},
"transfer": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true,
"price": true
},
"make": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true,
"price": true
},
"divide": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true,
"price": true
},
"entry": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true,
"price": true
},
"extry": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true,
"price": true
},
"adj": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"examine": true,
"reverse": true
},
"omy": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true
},
"imy": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true
},
"allot": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true
},
"bill": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"examine": true,
"reverse": true
},
"crn": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"srn": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"ice": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true
},
"oce": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true
},
"cost": {
"see": true,
"add": true,
"export": true
},
"invoice": {
"see": true,
"add": true,
"destroy": true,
"export": true
},
"bta": {
"see": true,
"export": true
},
"btb": {
"see": true,
"export": true
},
"blt": {
"see": true,
"export": true
},
"bsy": {
"see": true,
"export": true
},
"bbt": {
"see": true,
"export": true
},
"bot": {
"see": true,
"export": true
},
"sta": {
"see": true,
"export": true
},
"stb": {
"see": true,
"export": true
},
"slt": {
"see": true,
"export": true
},
"ssy": {
"see": true,
"export": true
},
"sbt": {
"see": true,
"export": true
},
"sot": {
"see": true,
"export": true
},
"spta": {
"see": true,
"export": true
},
"sptb": {
"see": true,
"export": true
},
"wbs": {
"see": true,
"export": true
},
"wds": {
"see": true,
"export": true
},
"wss": {
"see": true,
"export": true
},
"cbf": {
"see": true,
"export": true
},
"crs": {
"see": true,
"export": true
},
"cps": {
"see": true,
"export": true
},
"cct": {
"see": true,
"export": true
},
"cst": {
"see": true,
"export": true
},
"cpt": {
"see": true,
"export": true
},
"cos": {
"see": true,
"export": true
},
"cds": {
"see": true,
"export": true
},
"goods": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"buy": true,
"sell": true
},
"bom": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true
},
"category": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"brand": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"attr": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"import": true
},
"spec": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"import": true
},
"unit": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"cell": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"code": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true
},
"git": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true,
"examine": true,
"reverse": true,
"price": true
},
"customer": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true
},
"grade": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"assort": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"cit": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"supplier": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true
},
"classify": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"sit": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"account": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"warehouse": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"alloc": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true
},
"person": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true
},
"exp": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"inc": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"logistic": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"period": {
"see": true,
"save": true,
"back": true
},
"summary": {
"see": true
},
"sys": {
"see": true,
"edit": true
},
"frame": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"role": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"user": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"notification": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"log": {
"see": true,
"destroy": true
},
"backup": {
"see": true,
"backup": true,
"recover": true,
"destroy": true
},
"menu": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"report": {
"see": true,
"add": true,
"edit": true,
"destroy": true,
"export": true,
"import": true
},
"field": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"number": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"explorer": {
"see": true,
"add": true,
"edit": true,
"destroy": true
},
"tool": {
"see": true
},
"update": {
"online": true
}
},
"auth": {
"file": [-3],
"user": [-3],
"frame": [-3],
"person": [-3],
"account": [-3],
"customer": [-3],
"supplier": [-3],
"warehouse": [-3]
}
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据 ID |
» name | body | string | 是 | 角色名称 |
» state | body | boolean | 是 | 启停状态 |
» data | body | string | 否 | 备注信息 |
» fun | body | object | 是 | 功能权限 |
»» home | body | object | 是 | none |
»»» summary | body | boolean | 是 | none |
»»» form | body | boolean | 是 | none |
»»» assets | body | boolean | 是 | none |
»»» fund | body | boolean | 是 | none |
»»» total | body | boolean | 是 | none |
»» bor | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»»» open | body | boolean | 是 | none |
»»» close | body | boolean | 是 | none |
»»» price | body | boolean | 是 | none |
»» buy | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»»» check | body | boolean | 是 | none |
»»» rck | body | boolean | 是 | none |
»»» price | body | boolean | 是 | none |
»» bre | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»»» check | body | boolean | 是 | none |
»»» rck | body | boolean | 是 | none |
»»» price | body | boolean | 是 | none |
»» sor | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»»» open | body | boolean | 是 | none |
»»» close | body | boolean | 是 | none |
»»» price | body | boolean | 是 | none |
»» sell | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»»» check | body | boolean | 是 | none |
»»» rck | body | boolean | 是 | none |
»»» price | body | boolean | 是 | none |
»» sre | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»»» check | body | boolean | 是 | none |
»»» rck | body | boolean | 是 | none |
»»» price | body | boolean | 是 | none |
»» stock | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» batch | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» serial | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» check | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»» transfer | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»»» price | body | boolean | 是 | none |
»» make | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»»» price | body | boolean | 是 | none |
»» divide | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»»» price | body | boolean | 是 | none |
»» entry | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»»» price | body | boolean | 是 | none |
»» extry | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»»» price | body | boolean | 是 | none |
»» adj | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»» omy | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»» imy | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»» allot | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»» bill | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»» crn | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» srn | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» ice | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»» oce | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»» cost | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» invoice | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» bta | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» btb | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» blt | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» bsy | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» bbt | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» bot | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» sta | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» stb | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» slt | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» ssy | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» sbt | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» sot | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» spta | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» sptb | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» wbs | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» wds | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» wss | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» cbf | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» crs | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» cps | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» cct | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» cst | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» cpt | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» cos | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» cds | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»» goods | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» buy | body | boolean | 是 | none |
»»» sell | body | boolean | 是 | none |
»» bom | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»» category | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» brand | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» attr | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»» spec | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»» unit | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» cell | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» code | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»» git | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»»» examine | body | boolean | 是 | none |
»»» reverse | body | boolean | 是 | none |
»»» price | body | boolean | 是 | none |
»» customer | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»» grade | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» assort | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» cit | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» supplier | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»» classify | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» sit | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» account | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» warehouse | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» alloc | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»» person | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»» exp | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» inc | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» logistic | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» period | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» save | body | boolean | 是 | none |
»»» back | body | boolean | 是 | none |
»» summary | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»» sys | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»» frame | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» role | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» user | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» notification | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» log | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» backup | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» backup | body | boolean | 是 | none |
»»» recover | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» menu | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» report | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»»» export | body | boolean | 是 | none |
»»» import | body | boolean | 是 | none |
»» field | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» number | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» explorer | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»»» add | body | boolean | 是 | none |
»»» edit | body | boolean | 是 | none |
»»» destroy | body | boolean | 是 | none |
»» tool | body | object | 是 | none |
»»» see | body | boolean | 是 | none |
»» update | body | object | 是 | none |
»»» online | body | boolean | 是 | none |
» auth | body | object | 是 | 数据权限 |
»» file | body | [integer] | 是 | none |
»» user | body | [integer] | 是 | none |
»» frame | body | [integer] | 是 | none |
»» person | body | [integer] | 是 | none |
»» account | body | [integer] | 是 | none |
»» customer | body | [integer] | 是 | none |
»» supplier | body | [integer] | 是 | none |
»» warehouse | body | [integer] | 是 | none |
返回示例
{
"state": "success",
"info": 3
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/role/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | integer | 是 | 数据 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"id": 1,
"name": "管理员",
"state": true,
"data": "#",
"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": [-3],
"user": [-3],
"frame": [-3],
"person": [-3],
"account": [-3],
"customer": [-3],
"supplier": [-3],
"warehouse": [-3]
}
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none | |
»» fun | object | true | none | none | |
»»» adj | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» bbt | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» blt | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» bom | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» bor | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» open | boolean | true | none | none | |
»»»» close | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» bot | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» bre | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» rck | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» check | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» bsy | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» bta | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» btb | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» buy | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» rck | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» check | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» cbf | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» cct | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» cds | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» cit | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» cos | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» cps | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» cpt | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» crn | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» crs | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» cst | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» exp | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» git | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» ice | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» imy | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» inc | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» log | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» oce | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» omy | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» sbt | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» sit | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» slt | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» sor | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» open | boolean | true | none | none | |
»»»» close | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» sot | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» sre | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» rck | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» check | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» srn | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» ssy | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» sta | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» stb | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» sys | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»» wbs | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» wds | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» wss | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» attr | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» bill | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» cell | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» code | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» cost | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» home | object | true | none | none | |
»»»» form | boolean | true | none | none | |
»»»» fund | boolean | true | none | none | |
»»»» total | boolean | true | none | none | |
»»»» assets | boolean | true | none | none | |
»»»» summary | boolean | true | none | none | |
»»» make | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» menu | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» role | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» sell | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» rck | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» check | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» spec | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» spta | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» sptb | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» tool | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»» unit | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» user | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» alloc | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» allot | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» batch | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» brand | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» check | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»» entry | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» extry | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» field | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» frame | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» goods | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» buy | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» sell | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» grade | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» stock | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» assort | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» backup | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» backup | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» recover | boolean | true | none | none | |
»»» divide | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» number | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» period | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» back | boolean | true | none | none | |
»»»» save | boolean | true | none | none | |
»»» person | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» report | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» serial | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» update | object | true | none | none | |
»»»» online | boolean | true | none | none | |
»»» account | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» invoice | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» summary | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»» category | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» classify | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» customer | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» explorer | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» logistic | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» supplier | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» transfer | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» warehouse | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» notification | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»» auth | object | true | none | none | |
»»» file | [integer] | true | none | none | |
»»» user | [integer] | true | none | none | |
»»» frame | [integer] | true | none | none | |
»»» person | [integer] | true | none | none | |
»»» account | [integer] | true | none | none | |
»»» customer | [integer] | true | none | none | |
»»» supplier | [integer] | true | none | none | |
»»» warehouse | [integer] | true | none | none |
DELETE 删除
DELETE /api/role/destroy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据 ID |
返回示例
{
"state": "success"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 登录角色数据
GET /api/role/store
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"id": 1,
"name": "管理员",
"state": true,
"data": "#",
"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": [-3],
"user": [-3],
"frame": [-3],
"person": [-3],
"account": [-3],
"customer": [-3],
"supplier": [-3],
"warehouse": [-3]
}
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none | |
»» fun | object | true | none | none | |
»»» adj | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» bbt | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» blt | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» bom | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» bor | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» open | boolean | true | none | none | |
»»»» close | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» bot | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» bre | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» rck | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» check | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» bsy | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» bta | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» btb | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» buy | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» rck | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» check | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» cbf | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» cct | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» cds | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» cit | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» cos | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» cps | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» cpt | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» crn | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» crs | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» cst | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» exp | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» git | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» ice | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» imy | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» inc | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» log | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» oce | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» omy | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» sbt | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» sit | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» slt | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» sor | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» open | boolean | true | none | none | |
»»»» close | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» sot | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» sre | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» rck | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» check | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» srn | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» ssy | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» sta | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» stb | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» sys | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»» wbs | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» wds | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» wss | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» attr | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» bill | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» cell | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» code | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» cost | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» home | object | true | none | none | |
»»»» form | boolean | true | none | none | |
»»»» fund | boolean | true | none | none | |
»»»» total | boolean | true | none | none | |
»»»» assets | boolean | true | none | none | |
»»»» summary | boolean | true | none | none | |
»»» make | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» menu | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» role | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» sell | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» rck | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» check | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» spec | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» spta | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» sptb | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» tool | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»» unit | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» user | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» alloc | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» allot | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» batch | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» brand | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» check | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»» entry | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» extry | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» field | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» frame | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» goods | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» buy | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» sell | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» grade | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» stock | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» assort | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» backup | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» backup | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» recover | boolean | true | none | none | |
»»» divide | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» number | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» period | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» back | boolean | true | none | none | |
»»»» save | boolean | true | none | none | |
»»» person | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» report | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» serial | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»» update | object | true | none | none | |
»»»» online | boolean | true | none | none | |
»»» account | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» invoice | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» summary | object | true | none | none | |
»»»» see | boolean | true | none | none | |
»»» category | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» classify | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» customer | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» explorer | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» logistic | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» supplier | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» transfer | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» price | boolean | true | none | none | |
»»»» export | boolean | true | none | none | |
»»»» import | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» reverse | boolean | true | none | none | |
»»» warehouse | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»»» notification | object | true | none | none | |
»»»» add | boolean | true | none | none | |
»»»» see | boolean | true | none | none | |
»»»» edit | boolean | true | none | none | |
»»»» destroy | boolean | true | none | none | |
»» auth | object | true | none | none | |
»»» file | [integer] | true | none | none | |
»»» user | [integer] | true | none | none | |
»»» frame | [integer] | true | none | none | |
»»» person | [integer] | true | none | none | |
»»» account | [integer] | true | none | none | |
»»» customer | [integer] | true | none | none | |
»»» supplier | [integer] | true | none | none | |
»»» warehouse | [integer] | true | none | none |
用户管理
GET 列表
GET /api/user/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前分页 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 用户名称 |
number[] | query | array[string] | 否 | 账户账号 |
data[] | query | array[string] | 否 | 备注信息 |
frame[] | query | array[string] | 否 | 组织架构 |
role[] | query | array[string] | 否 | 用户角色 |
person[] | query | array[string] | 否 | 关联人员 |
account[] | query | array[string] | 否 | 关联账户 |
warehouse[] | query | array[string] | 否 | 关联仓库 |
state | query | string | 否 | 启用状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 1,
"data": [
{
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"str": {
"state": "启用"
},
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"role_data": {
"id": 1,
"name": "管理员",
"state": true,
"data": "#",
"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": [-3],
"user": [-3],
"frame": [-3],
"person": [-3],
"account": [-3],
"customer": [-3],
"supplier": [-3],
"warehouse": [-3]
}
},
"person_data": {
"id": 0
},
"account_data": {
"id": 0
},
"warehouse_data": {
"id": 0
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» py | string | false | none | none | |
»»» frame | integer | false | none | none | |
»»» role | integer | false | none | none | |
»»» user | string | false | none | none | |
»»» avatar | string | false | none | none | |
»»» person | string | false | none | none | |
»»» account | string | false | none | none | |
»»» warehouse | string | false | none | none | |
»»» field | object | false | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | false | none | none | |
»»» data | string | false | none | none | |
»»» str | object | false | none | none | |
»»»» state | string | true | none | none | |
»»» frame_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» role_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»»» fun | object | true | none | none | |
»»»»» adj | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» bbt | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» blt | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» bom | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» bor | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» open | boolean | true | none | none | |
»»»»»» close | boolean | true | none | none | |
»»»»»» price | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» bot | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» bre | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» rck | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» check | boolean | true | none | none | |
»»»»»» price | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» bsy | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» bta | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» btb | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» buy | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» rck | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» check | boolean | true | none | none | |
»»»»»» price | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» cbf | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» cct | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» cds | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» cit | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» cos | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» cps | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» cpt | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» crn | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» crs | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» cst | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» exp | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» git | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» price | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» ice | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» imy | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» inc | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» log | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» oce | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» omy | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» sbt | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» sit | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» slt | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» sor | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» open | boolean | true | none | none | |
»»»»»» close | boolean | true | none | none | |
»»»»»» price | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» sot | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» sre | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» rck | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» check | boolean | true | none | none | |
»»»»»» price | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» srn | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» ssy | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» sta | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» stb | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» sys | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»» wbs | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» wds | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» wss | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» attr | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» bill | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» cell | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» code | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» cost | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» home | object | true | none | none | |
»»»»»» form | boolean | true | none | none | |
»»»»»» fund | boolean | true | none | none | |
»»»»»» total | boolean | true | none | none | |
»»»»»» assets | boolean | true | none | none | |
»»»»»» summary | boolean | true | none | none | |
»»»»» make | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» price | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» menu | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» role | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» sell | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» rck | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» check | boolean | true | none | none | |
»»»»»» price | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» spec | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» spta | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» sptb | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» tool | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»» unit | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» user | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» alloc | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» allot | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» batch | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» brand | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» check | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»» entry | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» price | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» extry | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» price | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» field | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» frame | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» goods | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» buy | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» sell | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» grade | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» stock | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» assort | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» backup | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» backup | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» recover | boolean | true | none | none | |
»»»»» divide | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» price | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» number | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» period | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» back | boolean | true | none | none | |
»»»»»» save | boolean | true | none | none | |
»»»»» person | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» report | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» serial | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»» update | object | true | none | none | |
»»»»»» online | boolean | true | none | none | |
»»»»» account | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» invoice | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» summary | object | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»» category | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» classify | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» customer | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» explorer | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» logistic | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» supplier | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» transfer | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» price | boolean | true | none | none | |
»»»»»» export | boolean | true | none | none | |
»»»»»» import | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»»» examine | boolean | true | none | none | |
»»»»»» reverse | boolean | true | none | none | |
»»»»» warehouse | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»»» notification | object | true | none | none | |
»»»»»» add | boolean | true | none | none | |
»»»»»» see | boolean | true | none | none | |
»»»»»» edit | boolean | true | none | none | |
»»»»»» destroy | boolean | true | none | none | |
»»»» auth | object | true | none | none | |
»»»»» file | [integer] | true | none | none | |
»»»»» user | [integer] | true | none | none | |
»»»»» frame | [integer] | true | none | none | |
»»»»» person | [integer] | true | none | none | |
»»»»» account | [integer] | true | none | none | |
»»»»» customer | [integer] | true | none | none | |
»»»»» supplier | [integer] | true | none | none | |
»»»»» warehouse | [integer] | true | none | none | |
»»» person_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»» account_data | object | false | none | none | |
»»»» id | integer | true | none | none | |
»»» warehouse_data | object | false | none | none | |
»»»» id | integer | true | none | none |
POST 修改
POST /api/user/save
Body 请求参数
{
"id": 3,
"name": "测试用户",
"frame": 1,
"role": 4,
"user": "123",
"pwd": "123",
"avatar": "https://erp.nodcloud.cn/storage/avatar/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» name | body | string | 是 | 用户名称 |
» frame | body | integer | 是 | 组织架构 |
» role | body | integer | 是 | 用户角色 |
» user | body | string | 是 | 用户账号 |
» pwd | body | string | 是 | 用户密码 |
» avatar | body | string | 是 | 用户头像 |
» person | body | string | 否 | 关联人员 |
» account | body | string | 否 | 关联账户 |
» warehouse | body | string | 否 | 关联仓库 |
» field | body | object | 否 | 扩展字段 |
»» a | body | string | 否 | 扩展字段 A |
»» b | body | string | 否 | 扩展字段 B |
»» c | body | string | 否 | 扩展字段 C |
»» d | body | string | 否 | 扩展字段 D |
»» e | body | string | 否 | 扩展字段 E |
» state | body | boolean | 是 | 启停状态 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 3
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/user/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 数据 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"id": 3,
"name": "测试用户",
"py": "csyh",
"frame": 1,
"role": 4,
"user": "123",
"avatar": "https://erp.nodcloud.cn/storage/avatar/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» py | string | true | none | none | |
»» frame | integer | true | none | none | |
»» role | integer | true | none | none | |
»» user | string | true | none | none | |
»» avatar | string | true | none | none | |
»» person | string | true | none | none | |
»» account | string | true | none | none | |
»» warehouse | string | true | none | none | |
»» field | object | true | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/user/destroy
Body 请求参数
{
"id": 1
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据 ID |
返回示例
{
"state": "success"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
通知消息
GET 列表
GET /api/notification/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前分页 |
size | query | string | 是 | 数据条数 |
data[] | query | array[string] | 否 | 消息内容 |
time[] | query | array[string] | 否 | 开始时间-结束时间 |
read | query | string | 否 | 消息状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 发布
POST /api/notification/publish
Body 请求参数
{
"type": "user",
"frame": [],
"user": [3],
"title": "测试消息",
"details": "测试消息"
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» type | body | string | 是 | 发送范围 |
» frame | body | [string] | 否 | 组织架构 |
» user | body | [integer] | 否 | 用户 |
» title | body | string | 是 | 消息标题 |
» details | body | string | 是 | 消息内容 |
返回示例
{
"state": "success",
"info": 1
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
POST 已读
POST /api/notification/read
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
DELETE 清空
DELETE /api/notification/clear
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
操作日志
GET 列表
GET /api/log/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前分页 |
size | query | string | 是 | 数据条数 |
info[] | query | array[string] | 否 | 操作内容 |
ip[] | query | array[string] | 否 | 操作 IP |
time[] | query | array[string] | 否 | 开始时间-结束时间 |
user[] | query | array[string] | 否 | 操作用户 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 54,
"data": [
{
"id": 54,
"time": "2024-09-28 14:35:02",
"info": "清空通知消息",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 53,
"time": "2024-09-28 14:34:36",
"info": "清空通知消息",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 52,
"time": "2024-09-28 14:34:03",
"info": "已读消息",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 51,
"time": "2024-09-28 14:32:59",
"info": "已读消息",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 50,
"time": "2024-09-28 14:32:23",
"info": "发布消息:测试消息-测试消息",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 49,
"time": "2024-09-28 14:31:54",
"info": "发布消息:测试消息-测试消息",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 48,
"time": "2024-09-28 14:28:31",
"info": "发布消息:测试消息-测试消息",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 47,
"time": "2024-09-28 14:18:16",
"info": "更新用户-测试用户",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 46,
"time": "2024-09-28 14:18:00",
"info": "更新用户-测试用户",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 45,
"time": "2024-09-28 14:09:21",
"info": "新增用户-测试用户",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 44,
"time": "2024-09-28 14:09:02",
"info": "删除用户-测试用户",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 43,
"time": "2024-09-28 14:02:42",
"info": "新增用户-测试用户",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 42,
"time": "2024-09-28 13:27:51",
"info": "新增用户角色-测试",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 41,
"time": "2024-09-28 13:27:32",
"info": "登录系统",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 40,
"time": "2024-09-28 13:27:08",
"info": "更新用户角色-管理员",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 39,
"time": "2024-09-28 13:21:18",
"info": "删除用户角色-测试",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 38,
"time": "2024-09-28 13:20:41",
"info": "删除用户角色-测试",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 37,
"time": "2024-09-28 13:17:32",
"info": "更新用户角色-测试",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 36,
"time": "2024-09-28 13:17:02",
"info": "登录系统",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 35,
"time": "2024-09-28 13:09:48",
"info": "新增用户角色-测试",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 34,
"time": "2024-09-28 13:09:40",
"info": "新增用户角色-测试",
"user": 1,
"ip": "60.220.122.201",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 33,
"time": "2024-09-24 15:39:38",
"info": "登录系统",
"user": 1,
"ip": "60.220.33.54",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 32,
"time": "2024-09-24 15:31:47",
"info": "删除组织-办公室",
"user": 1,
"ip": "60.220.33.54",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 31,
"time": "2024-09-24 15:30:58",
"info": "删除组织-办公室",
"user": 1,
"ip": "60.220.33.54",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 30,
"time": "2024-09-24 15:30:19",
"info": "更新组织-办公室",
"user": 1,
"ip": "60.220.33.54",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 29,
"time": "2024-09-24 15:29:07",
"info": "更新组织-办公室",
"user": 1,
"ip": "60.220.33.54",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 28,
"time": "2024-09-24 15:28:32",
"info": "新增组织-办公室",
"user": 1,
"ip": "60.220.33.54",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 27,
"time": "2024-09-24 15:27:12",
"info": "新增组织-办公室",
"user": 1,
"ip": "60.220.33.54",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 26,
"time": "2024-09-24 14:59:54",
"info": "删除资金账户-对公1",
"user": 1,
"ip": "60.220.33.54",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
},
{
"id": 25,
"time": "2024-09-24 14:59:25",
"info": "新增资金账户-对公1",
"user": 1,
"ip": "60.220.33.54",
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» time | string | true | none | none | |
»»» info | string | true | none | none | |
»»» user | integer | true | none | none | |
»»» ip | string | true | none | none | |
»»» user_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» py | string | true | none | none | |
»»»» frame | integer | true | none | none | |
»»»» role | integer | true | none | none | |
»»»» user | string | true | none | none | |
»»»» avatar | string | true | none | none | |
»»»» person | string | true | none | none | |
»»»» account | string | true | none | none | |
»»»» warehouse | string | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» a | string | true | none | none | |
»»»»» b | string | true | none | none | |
»»»»» c | string | true | none | none | |
»»»»» d | string | true | none | none | |
»»»»» e | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none |
DELETE 清空
DELETE /api/log/clear
Body 请求参数
{
"id": 1
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
返回示例
{
"state": "success"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
数据备份
GET 列表
GET /api/backup/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前分页 |
size | query | string | 是 | 数据条数 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"name": "string",
"time": "string",
"size": "string"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» name | string | true | none | none | |
»»» time | string | true | none | none | |
»»» size | string | true | none | none |
POST 备份
POST /api/backup/backup
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
DELETE 删除
DELETE /api/backup/destroy
Body 请求参数
{
"name": "8.1.9_auto_66f126caeef86.sql"
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» name | body | string | 是 | 备份数据名称 |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST 恢复
POST /api/backup/recover
Body 请求参数
{
"name": "8.1.9_66f7a91f0ec85.sql"
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» name | body | string | 是 | 备份数据名称 |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
菜单管理
GET 列表
GET /api/menu/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前分页 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 菜单名称 |
key[] | query | array[string] | 否 | 菜单标识 |
data[] | query | array[string] | 否 | 备注信息 |
type[] | query | array[string] | 否 | 菜单类型 |
mold | query | string | 否 | 菜单模式 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 10,
"tree": true,
"data": [
{
"id": 2,
"pid": 0,
"name": "首页",
"key": "home",
"ico": "home",
"path": "/home",
"component": "console/Home.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 173,
"pid": 0,
"name": "购货",
"key": "purchase",
"ico": "shopping",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 1,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 174,
"pid": 173,
"name": "购货订单",
"key": "bor",
"ico": "transaction-order",
"path": "/bor",
"component": "purchase/bor/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 0,
"auth": "bor",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 175,
"pid": 174,
"name": "购货订单详情",
"key": "borDetail",
"ico": "editor",
"path": "/bor/detail",
"component": "purchase/bor/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 176,
"pid": 173,
"name": "购货入库单",
"key": "buy",
"ico": "shopping",
"path": "/buy",
"component": "purchase/buy/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "buy",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 177,
"pid": 176,
"name": "购货入库单详情",
"key": "buyDetail",
"ico": "editor",
"path": "/buy/detail",
"component": "purchase/buy/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 178,
"pid": 173,
"name": "购货退货单",
"key": "bre",
"ico": "shopping-cart-del",
"path": "/bre",
"component": "purchase/bre/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "bre",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 179,
"pid": 178,
"name": "购货退货单详情",
"key": "breDetail",
"ico": "editor",
"path": "/bre/detail",
"component": "purchase/bre/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
}
]
},
{
"id": 180,
"pid": 0,
"name": "销货",
"key": "sale",
"ico": "shopping-cart-one",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 2,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 181,
"pid": 180,
"name": "销货订单",
"key": "sor",
"ico": "transaction-order",
"path": "/sor",
"component": "sale/sor/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 0,
"auth": "sor",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 182,
"pid": 181,
"name": "销货订单详情",
"key": "sorDetail",
"ico": "editor",
"path": "/sor/detail",
"component": "sale/sor/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 183,
"pid": 180,
"name": "销货出库单",
"key": "sell",
"ico": "shopping-cart-one",
"path": "/sell",
"component": "sale/sell/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "sell",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 184,
"pid": 183,
"name": "销货出库单详情",
"key": "sellDetail",
"ico": "editor",
"path": "/sell/detail",
"component": "sale/sell/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 185,
"pid": 180,
"name": "销货退货单",
"key": "sre",
"ico": "shopping-cart-del",
"path": "/sre",
"component": "sale/sre/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "sre",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 186,
"pid": 185,
"name": "销货退货单详情",
"key": "sreDetail",
"ico": "editor",
"path": "/sre/detail",
"component": "sale/sre/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
}
]
},
{
"id": 189,
"pid": 0,
"name": "仓库",
"key": "room",
"ico": "building-three",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 3,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 226,
"pid": 189,
"name": "库存查询",
"key": "stock",
"ico": "building-four",
"path": "/stock",
"component": "room/stock/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "stock",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 227,
"pid": 226,
"name": "库存详情",
"key": "sotckDetail",
"ico": "editor",
"path": "/stock/detail",
"component": "room/stock/detail/Record.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 228,
"pid": 189,
"name": "批次查询",
"key": "batch",
"ico": "mindmap-list",
"path": "/batch",
"component": "room/batch/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "batch",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 229,
"pid": 228,
"name": "批次详情",
"key": "batchDetail",
"ico": "editor",
"path": "/batch/detail",
"component": "room/batch/detail/Record.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 230,
"pid": 189,
"name": "序列查询",
"key": "serial",
"ico": "ordered-list",
"path": "/serial",
"component": "room/serial/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 3,
"auth": "serial",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 231,
"pid": 230,
"name": "序列详情",
"key": "serialDetail",
"ico": "editor",
"path": "/serial/detail",
"component": "room/serial/detail/Record.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 199,
"pid": 189,
"name": "盘点单",
"key": "check",
"ico": "rotate-one",
"path": "/check",
"component": "room/check/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 4,
"auth": "check",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 192,
"pid": 189,
"name": "调拨单",
"key": "transfer",
"ico": "exchange-one",
"path": "/transfer",
"component": "room/transfer/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 5,
"auth": "transfer",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 193,
"pid": 192,
"name": "调拨单详情",
"key": "transferDetail",
"ico": "editor",
"path": "/transfer/detail",
"component": "room/transfer/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 204,
"pid": 189,
"name": "组装单",
"key": "make",
"ico": "group",
"path": "/make",
"component": "room/make/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 6,
"auth": "make",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 205,
"pid": 204,
"name": "组装单详情",
"key": "makeDetail",
"ico": "editor",
"path": "/make/detail",
"component": "room/make/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 208,
"pid": 189,
"name": "拆卸单",
"key": "divide",
"ico": "ungroup",
"path": "/divide",
"component": "room/divide/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 7,
"auth": "divide",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 209,
"pid": 208,
"name": "拆卸单详情",
"key": "divideDetail",
"ico": "editor",
"path": "/divide/detail",
"component": "room/divide/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 190,
"pid": 189,
"name": "其他入库单",
"key": "entry",
"ico": "warehousing",
"path": "/entry",
"component": "room/entry/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 8,
"auth": "entry",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 191,
"pid": 190,
"name": "其他入库单详情",
"key": "entryDetail",
"ico": "editor",
"path": "/entry/detail",
"component": "room/entry/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 197,
"pid": 189,
"name": "其他出库单",
"key": "extry",
"ico": "outbound",
"path": "/extry",
"component": "room/extry/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 9,
"auth": "extry",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 198,
"pid": 197,
"name": "其他出库单详情",
"key": "extryDetail",
"ico": "editor",
"path": "/extry/detail",
"component": "room/extry/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 200,
"pid": 189,
"name": "成本调整单",
"key": "adj",
"ico": "adjustment",
"path": "/adj",
"component": "room/adj/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 10,
"auth": "adj",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 201,
"pid": 200,
"name": "成本调整单详情",
"key": "adjDetail",
"ico": "editor",
"path": "/adj/detail",
"component": "room/adj/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
}
]
},
{
"id": 194,
"pid": 0,
"name": "资金",
"key": "fund",
"ico": "funds",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 4,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 195,
"pid": 194,
"name": "付款单",
"key": "omy",
"ico": "expenses",
"path": "/omy",
"component": "fund/omy/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 0,
"auth": "omy",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 196,
"pid": 195,
"name": "付款单详情",
"key": "omyDetail",
"ico": "editor",
"path": "/omy/detail",
"component": "fund/omy/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 206,
"pid": 194,
"name": "收款单",
"key": "imy",
"ico": "income",
"path": "/imy",
"component": "fund/imy/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "imy",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 207,
"pid": 206,
"name": "收款单详情",
"key": "imyDetail",
"ico": "editor",
"path": "/imy/detail",
"component": "fund/imy/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 211,
"pid": 194,
"name": "转账单",
"key": "allot",
"ico": "bank-transfer",
"path": "/allot",
"component": "fund/allot/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "allot",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 212,
"pid": 211,
"name": "转账单详情",
"key": "allotDetail",
"ico": "editor",
"path": "/allot/detail",
"component": "fund/allot/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 224,
"pid": 194,
"name": "结算单",
"key": "bill",
"ico": "nested-arrows",
"path": "/bill",
"component": "fund/bill/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 3,
"auth": "bill",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 225,
"pid": 224,
"name": "结算单详情",
"key": "billDetail",
"ico": "editor",
"path": "/bill/detail",
"component": "fund/bill/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 264,
"pid": 194,
"name": "应收减免单",
"key": "crn",
"ico": "to-right",
"path": "/crn",
"component": "fund/crn/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 4,
"auth": "crn",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 265,
"pid": 264,
"name": "应收减免单详情",
"key": "crnDetail",
"ico": "editor",
"path": "/crn/detail",
"component": "fund/crn/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 266,
"pid": 194,
"name": "应付减免单",
"key": "srn",
"ico": "to-left",
"path": "/srn",
"component": "fund/srn/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 5,
"auth": "srn",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 267,
"pid": 266,
"name": "应付减免单详情",
"key": "srnDetail",
"ico": "editor",
"path": "/srn/detail",
"component": "fund/srn/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 218,
"pid": 194,
"name": "其他收入单",
"key": "ice",
"ico": "income-one",
"path": "/ice",
"component": "fund/ice/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 6,
"auth": "ice",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 219,
"pid": 218,
"name": "其他收入单详情",
"key": "iceDetail",
"ico": "editor",
"path": "/ice/detail",
"component": "fund/ice/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 220,
"pid": 194,
"name": "其他支出单",
"key": "oce",
"ico": "expenses-one",
"path": "/oce",
"component": "fund/oce/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 7,
"auth": "oce",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 221,
"pid": 220,
"name": "其他支出单详情",
"key": "oceDetail",
"ico": "editor",
"path": "/oce/detail",
"component": "fund/oce/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 222,
"pid": 194,
"name": "单据费用",
"key": "cost",
"ico": "consume",
"path": "/cost",
"component": "fund/cost/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 8,
"auth": "cost",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 223,
"pid": 222,
"name": "费用详情",
"key": "costDetail",
"ico": "view-list",
"path": "/cost/detail",
"component": "fund/cost/detail/Record.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 213,
"pid": 194,
"name": "单据发票",
"key": "invoice",
"ico": "ticket-one",
"path": "/invoice",
"component": "fund/invoice/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 9,
"auth": "invoice",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 217,
"pid": 213,
"name": "发票记录",
"key": "invoiceDetail",
"ico": "editor",
"path": "/invoice/detail",
"component": "fund/invoice/detail/Record.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
}
]
},
{
"id": 232,
"pid": 0,
"name": "报表",
"key": "sheet",
"ico": "table-report",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 5,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 233,
"pid": 232,
"name": "购货报表",
"key": "purchases",
"ico": "shopping",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 1,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 234,
"pid": 233,
"name": "购货订单跟踪表(单据)",
"key": "bta",
"ico": "",
"path": "/bta",
"component": "sheet/purchases/bta/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "bta",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 235,
"pid": 233,
"name": "购货订单跟踪表(商品)",
"key": "btb",
"ico": "",
"path": "/btb",
"component": "sheet/purchases/btb/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "btb",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 236,
"pid": 233,
"name": "购货明细表",
"key": "blt",
"ico": "",
"path": "/blt",
"component": "sheet/purchases/blt/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 3,
"auth": "blt",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 237,
"pid": 233,
"name": "购货汇总表",
"key": "bsy",
"ico": "",
"path": "/bsy",
"component": "sheet/purchases/bsy/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 4,
"auth": "bsy",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 238,
"pid": 233,
"name": "购货付款表",
"key": "bbt",
"ico": "",
"path": "/bbt",
"component": "sheet/purchases/bbt/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 5,
"auth": "bbt",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 239,
"pid": 233,
"name": "购货排行表",
"key": "bot",
"ico": "",
"path": "/bot",
"component": "sheet/purchases/bot/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 6,
"auth": "bot",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 240,
"pid": 232,
"name": "销货报表",
"key": "sales",
"ico": "shopping-cart-one",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 2,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 241,
"pid": 240,
"name": "销货订单跟踪表(单据)",
"key": "sta",
"ico": "",
"path": "/sta",
"component": "sheet/sales/sta/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "sta",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 242,
"pid": 240,
"name": "销货订单跟踪表(商品)",
"key": "stb",
"ico": "",
"path": "/stb",
"component": "sheet/sales/stb/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "stb",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 243,
"pid": 240,
"name": "销货明细表",
"key": "slt",
"ico": "",
"path": "/slt",
"component": "sheet/sales/slt/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 3,
"auth": "slt",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 244,
"pid": 240,
"name": "销货汇总表",
"key": "ssy",
"ico": "",
"path": "/ssy",
"component": "sheet/sales/ssy/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 4,
"auth": "ssy",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 245,
"pid": 240,
"name": "销货收款表",
"key": "sbt",
"ico": "",
"path": "/sbt",
"component": "sheet/sales/sbt/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 5,
"auth": "sbt",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 246,
"pid": 240,
"name": "销货排行表",
"key": "sot",
"ico": "",
"path": "/sot",
"component": "sheet/sales/sot/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 6,
"auth": "sot",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 248,
"pid": 240,
"name": "销售利润表",
"key": "spta",
"ico": "",
"path": "/spta",
"component": "sheet/sales/spta/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 7,
"auth": "spta",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 247,
"pid": 240,
"name": "销售利润明细表",
"key": "sptb",
"ico": "",
"path": "/sptb",
"component": "sheet/sales/sptb/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 8,
"auth": "sptb",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 249,
"pid": 232,
"name": "仓库报表",
"key": "rooms",
"ico": "building-three",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 3,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 250,
"pid": 249,
"name": "商品库存余额表",
"key": "wbs",
"ico": "",
"path": "/wbs",
"component": "sheet/rooms/wbs/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "wbs",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 252,
"pid": 249,
"name": "商品收发明细表",
"key": "wds",
"ico": "",
"path": "/wds",
"component": "sheet/rooms/wds/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "wds",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 251,
"pid": 249,
"name": "商品收发汇总表",
"key": "wss",
"ico": "",
"path": "/wss",
"component": "sheet/rooms/wss/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 3,
"auth": "wss",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 253,
"pid": 232,
"name": "资金报表",
"key": "funds",
"ico": "funds",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 4,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 254,
"pid": 253,
"name": "现金银行报表",
"key": "cbf",
"ico": "",
"path": "/cbf",
"component": "sheet/funds/cbf/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "cbf",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 255,
"pid": 253,
"name": "应收账款明细表",
"key": "crs",
"ico": "",
"path": "/crs",
"component": "sheet/funds/crs/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "crs",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 256,
"pid": 253,
"name": "应付账款明细表",
"key": "cps",
"ico": "",
"path": "/cps",
"component": "sheet/funds/cps/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 3,
"auth": "cps",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 257,
"pid": 253,
"name": "客户对账单",
"key": "cct",
"ico": "",
"path": "/cct",
"component": "sheet/funds/cct/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 4,
"auth": "cct",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 258,
"pid": 253,
"name": "供应商对账单",
"key": "cst",
"ico": "",
"path": "/cst",
"component": "sheet/funds/cst/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 5,
"auth": "cst",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 259,
"pid": 253,
"name": "利润表",
"key": "cpt",
"ico": "",
"path": "/cpt",
"component": "sheet/funds/cpt/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 6,
"auth": "cpt",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 270,
"pid": 253,
"name": "其他收支明细表",
"key": "cos",
"ico": "",
"path": "/cos",
"component": "sheet/funds/cos/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 7,
"auth": "cos",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 271,
"pid": 253,
"name": "往来单位欠款表",
"key": "cds",
"ico": "",
"path": "/cds",
"component": "sheet/funds/cds/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 8,
"auth": "cds",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
}
]
}
]
},
{
"id": 105,
"pid": 0,
"name": "商品",
"key": "group",
"ico": "commodity",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 6,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 126,
"pid": 105,
"name": "商品管理",
"key": "goods",
"ico": "commodity",
"path": "/goods",
"component": "group/goods/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "goods",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 127,
"pid": 126,
"name": "商品详情",
"key": "goodsDetail",
"ico": "editor",
"path": "/goods/detail",
"component": "group/goods/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 202,
"pid": 105,
"name": "BOM管理",
"key": "bom",
"ico": "transaction-order",
"path": "/bom",
"component": "group/bom/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "bom",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 203,
"pid": 202,
"name": "BOM详情",
"key": "bomDetail",
"ico": "editor",
"path": "/bom/detail",
"component": "group/bom/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 110,
"pid": 105,
"name": "商品类别",
"key": "category",
"ico": "category-management",
"path": "/category",
"component": "group/category/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 3,
"auth": "category",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 111,
"pid": 110,
"name": "类别详情",
"key": "categoryDetail",
"ico": "editor",
"path": "/category/detail",
"component": "group/category/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 108,
"pid": 105,
"name": "商品品牌",
"key": "brand",
"ico": "more-app",
"path": "/brand",
"component": "group/brand/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 4,
"auth": "brand",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 109,
"pid": 108,
"name": "品牌详情",
"key": "brandDetail",
"ico": "editor",
"path": "/brand/detail",
"component": "group/brand/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 268,
"pid": 105,
"name": "规格属性",
"key": "attr",
"ico": "tree-diagram",
"path": "/attr",
"component": "group/attr/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 5,
"auth": "attr",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 269,
"pid": 268,
"name": "属性详情",
"key": "attrDetail",
"ico": "editor",
"path": "/attr/detail",
"component": "group/attr/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 168,
"pid": 105,
"name": "多规格型号",
"key": "spec",
"ico": "one-to-many",
"path": "/spec",
"component": "group/spec/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 6,
"auth": "spec",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 169,
"pid": 168,
"name": "规格详情",
"key": "specDetail",
"ico": "editor",
"path": "/spec/detail",
"component": "group/spec/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 106,
"pid": 105,
"name": "计量单位",
"key": "unit",
"ico": "balance-two",
"path": "/unit",
"component": "group/unit/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 7,
"auth": "unit",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 107,
"pid": 106,
"name": "单位详情",
"key": "unitDetail",
"ico": "editor",
"path": "/unit/detail",
"component": "group/unit/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 164,
"pid": 105,
"name": "多计量单位",
"key": "cell",
"ico": "box",
"path": "/cell",
"component": "group/cell/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 8,
"auth": "cell",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 167,
"pid": 164,
"name": "多单位详情",
"key": "cellDetail",
"ico": "editor",
"path": "/cell/detail",
"component": "group/cell/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 140,
"pid": 105,
"name": "价格等级",
"key": "grade",
"ico": "level",
"path": "/grade",
"component": "group/grade/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 9,
"auth": "grade",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 141,
"pid": 140,
"name": "等级详情",
"key": "gradeDetail",
"ico": "editor",
"path": "/grade/detail",
"component": "group/grade/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 128,
"pid": 105,
"name": "条码管理",
"key": "code",
"ico": "bar-code",
"path": "/code",
"component": "group/code/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 10,
"auth": "code",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 129,
"pid": 128,
"name": "条码详情",
"key": "codeDetail",
"ico": "editor",
"path": "/code/detail",
"component": "group/code/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 187,
"pid": 105,
"name": "商品期初",
"key": "git",
"ico": "shopping-cart",
"path": "/git",
"component": "group/git/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 11,
"auth": "git",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 188,
"pid": 187,
"name": "商品期初详情",
"key": "gitDetail",
"ico": "editor",
"path": "/git/detail",
"component": "group/git/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
}
]
},
{
"id": 114,
"pid": 0,
"name": "资料",
"key": "info",
"ico": "document-folder",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 7,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 115,
"pid": 114,
"name": "客户资料",
"key": "customers",
"ico": "file-editing-one",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 1,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 117,
"pid": 115,
"name": "客户管理",
"key": "customer",
"ico": "light-member",
"path": "/customer",
"component": "info/customers/customer/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 0,
"auth": "customer",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 118,
"pid": 117,
"name": "客户详情",
"key": "customerDetail",
"ico": "editor",
"path": "/customer/detail",
"component": "info/customers/customer/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": "[Object]",
"sub": "[Object]"
}
]
},
{
"id": 138,
"pid": 115,
"name": "客户类别",
"key": "assort",
"ico": "more-four",
"path": "/assort",
"component": "info/customers/assort/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "assort",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 139,
"pid": 138,
"name": "类别详情",
"key": "assortDetail",
"ico": "editor",
"path": "/assort/detail",
"component": "info/customers/assort/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": "[Object]",
"sub": "[Object]"
}
]
},
{
"id": 158,
"pid": 115,
"name": "客户期初",
"key": "cit",
"ico": "transfer-data",
"path": "/cit",
"component": "info/customers/cit/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 3,
"auth": "cit",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 159,
"pid": 158,
"name": "期初详情",
"key": "citDetail",
"ico": "editor",
"path": "/cit/detail",
"component": "info/customers/cit/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": "[Object]",
"sub": "[Object]"
}
]
}
]
},
{
"id": 142,
"pid": 114,
"name": "供应商资料",
"key": "suppliers",
"ico": "document-folder",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 2,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 145,
"pid": 142,
"name": "供应商管理",
"key": "supplier",
"ico": "weixin-market",
"path": "/supplier",
"component": "info/suppliers/supplier/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "supplier",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 146,
"pid": 145,
"name": "供应商详情",
"key": "supplierDetail",
"ico": "editor",
"path": "/supplier/detail",
"component": "info/suppliers/supplier/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": "[Object]",
"sub": "[Object]"
}
]
},
{
"id": 143,
"pid": 142,
"name": "供应商类别",
"key": "classify",
"ico": "application-two",
"path": "/classify",
"component": "info/suppliers/classify/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "classify",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 144,
"pid": 143,
"name": "类别详情",
"key": "classifyDetail",
"ico": "editor",
"path": "/classify/detail",
"component": "info/suppliers/classify/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": "[Object]",
"sub": "[Object]"
}
]
},
{
"id": 171,
"pid": 142,
"name": "供应商期初",
"key": "sit",
"ico": "transfer-data",
"path": "/sit",
"component": "info/suppliers/sit/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 3,
"auth": "sit",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 172,
"pid": 171,
"name": "期初详情",
"key": "sitDetail",
"ico": "editor",
"path": "/sit/detail",
"component": "info/suppliers/sit/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": "[Object]",
"sub": "[Object]"
}
]
}
]
},
{
"id": 170,
"pid": 114,
"name": "财务资料",
"key": "finance",
"ico": "bank-transfer",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 3,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 136,
"pid": 170,
"name": "资金账户",
"key": "account",
"ico": "funds",
"path": "/account",
"component": "info/finance/account/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "account",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 137,
"pid": 136,
"name": "账户详情",
"key": "accountDetail",
"ico": "funds",
"path": "/account/detail",
"component": "info/finance/account/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": "[Object]",
"sub": "[Object]"
}
]
},
{
"id": 154,
"pid": 170,
"name": "收入类别",
"key": "inc",
"ico": "income-one",
"path": "/inc",
"component": "info/finance/inc/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "inc",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 155,
"pid": 154,
"name": "收入详情",
"key": "incDetail",
"ico": "editor",
"path": "/inc/detail",
"component": "info/finance/inc/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": "[Object]",
"sub": "[Object]"
}
]
},
{
"id": 147,
"pid": 170,
"name": "支出类别",
"key": "exp",
"ico": "expenses-one",
"path": "/exp",
"component": "info/finance/exp/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 3,
"auth": "exp",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 148,
"pid": 147,
"name": "支出详情",
"key": "expDetail",
"ico": "editor",
"path": "/exp/detail",
"component": "info/finance/exp/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": "[Object]",
"sub": "[Object]"
}
]
},
{
"id": 151,
"pid": 170,
"name": "结账管理",
"key": "period",
"ico": "income",
"path": "/period",
"component": "info/finance/period/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 4,
"auth": "period",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 210,
"pid": 170,
"name": "数据校准",
"key": "summary",
"ico": "arithmetic",
"path": "/summary",
"component": "info/finance/summary/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 5,
"auth": "summary",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 134,
"pid": 114,
"name": "仓库管理",
"key": "warehouse",
"ico": "building-four",
"path": "/warehouse",
"component": "info/warehouse/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 4,
"auth": "warehouse",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 135,
"pid": 134,
"name": "仓库详情",
"key": "warehouseDetail",
"ico": "building-four",
"path": "/warehouse/detail",
"component": "info/warehouse/detail/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 157,
"pid": 134,
"name": "仓库货位",
"key": "warehouseAlloc",
"ico": "grid-two",
"path": "/warehouse/alloc",
"component": "info/warehouse/alloc/Record.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 149,
"pid": 114,
"name": "人员管理",
"key": "person",
"ico": "people",
"path": "/person",
"component": "info/person/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 5,
"auth": "person",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 150,
"pid": 149,
"name": "人员详情",
"key": "personDetail",
"ico": "building-four",
"path": "/person/detail",
"component": "info/person/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 162,
"pid": 114,
"name": "物流管理",
"key": "logistic",
"ico": "truck",
"path": "/logistic",
"component": "info/logistic/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 6,
"auth": "logistic",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 163,
"pid": 162,
"name": "物流详情",
"key": "logisticDetail",
"ico": "editor",
"path": "/logistic/detail",
"component": "info/logistic/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
}
]
},
{
"id": 31,
"pid": 0,
"name": "系统",
"key": "system",
"ico": "system",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 8,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 32,
"pid": 31,
"name": "系统参数",
"key": "sys",
"ico": "setting-one",
"path": "/sys",
"component": "system/sys/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 0,
"auth": "sys",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 37,
"pid": 31,
"name": "组织架构",
"key": "frame",
"ico": "chart-graph",
"path": "/frame",
"component": "system/frame/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "frame",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 38,
"pid": 37,
"name": "组织详情",
"key": "frameDetail",
"ico": "editor",
"path": "/frame/detail",
"component": "system/frame/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 39,
"pid": 31,
"name": "用户角色",
"key": "role",
"ico": "permissions",
"path": "/role",
"component": "system/role/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "role",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 40,
"pid": 39,
"name": "角色详情",
"key": "roleDetail",
"ico": "editor",
"path": "/role/detail",
"component": "system/role/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 33,
"pid": 31,
"name": "用户管理",
"key": "user",
"ico": "avatar",
"path": "/user",
"component": "system/user/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 3,
"auth": "user",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 34,
"pid": 33,
"name": "用户详情",
"key": "userDetail",
"ico": "editor",
"path": "/user/detail",
"component": "system/user/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 41,
"pid": 31,
"name": "通知消息",
"key": "notification",
"ico": "remind",
"path": "/notification",
"component": "system/notification/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 5,
"auth": "notification",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 48,
"pid": 41,
"name": "发布消息",
"key": "notificationDetail",
"ico": "broadcast",
"path": "/notification/detail",
"component": "system/notification/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 35,
"pid": 31,
"name": "操作日志",
"key": "log",
"ico": "log",
"path": "/log",
"component": "system/log/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 6,
"auth": "log",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 156,
"pid": 31,
"name": "数据备份",
"key": "backup",
"ico": "database-sync",
"path": "/backup",
"component": "system/backup/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 7,
"auth": "backup",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 100,
"pid": 0,
"name": "配置",
"key": "config",
"ico": "config",
"path": "",
"component": "",
"query": "{}",
"type": 1,
"mold": 0,
"sort": 99,
"auth": "",
"data": "",
"str": {
"type": "常规分类",
"mold": "标签模式"
},
"sub": [
{
"id": 101,
"pid": 100,
"name": "菜单管理",
"key": "menu",
"ico": "application-menu",
"path": "/menu",
"component": "config/menu/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 0,
"auth": "menu",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 102,
"pid": 101,
"name": "菜单详情",
"key": "menuDetail",
"ico": "editor",
"path": "/menu/detail",
"component": "config/menu/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 16,
"pid": 100,
"name": "报表模板",
"key": "report",
"ico": "printer",
"path": "/report",
"component": "config/report/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 1,
"auth": "report",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 30,
"pid": 16,
"name": "报表详情",
"key": "reportDetail",
"ico": "editor",
"path": "/report/detail",
"component": "config/report/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 152,
"pid": 100,
"name": "扩展字段",
"key": "field",
"ico": "repair",
"path": "/field",
"component": "config/field/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 2,
"auth": "field",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 153,
"pid": 152,
"name": "字段详情",
"key": "fieldDetail",
"ico": "editor",
"path": "/field/detail",
"component": "config/field/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 160,
"pid": 100,
"name": "编号规则",
"key": "number",
"ico": "list-numbers",
"path": "/number",
"component": "config/number/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 3,
"auth": "number",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": [
{
"id": 161,
"pid": 160,
"name": "编号详情",
"key": "numberDetail",
"ico": "editor",
"path": "/number/detail",
"component": "config/number/Detail.vue",
"query": "{}",
"type": 2,
"mold": 0,
"sort": 0,
"auth": "",
"data": "",
"str": {
"type": "扩展菜单",
"mold": "标签模式"
},
"sub": []
}
]
},
{
"id": 49,
"pid": 100,
"name": "文件管理",
"key": "explorer",
"ico": "folder-close",
"path": "/explorer",
"component": "config/explorer/Detail.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 4,
"auth": "explorer",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
},
{
"id": 262,
"pid": 100,
"name": "系统工具",
"key": "tool",
"ico": "tool",
"path": "/tool",
"component": "config/tool/Record.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": 5,
"auth": "tool",
"data": "",
"str": {
"type": "常规菜单",
"mold": "标签模式"
},
"sub": []
}
]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» tree | boolean | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» pid | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» key | string | true | none | none | |
»»» ico | string | true | none | none | |
»»» path | string | true | none | none | |
»»» component | string | true | none | none | |
»»» query | string | true | none | none | |
»»» type | integer | true | none | none | |
»»» mold | integer | true | none | none | |
»»» sort | integer | true | none | none | |
»»» auth | string | true | none | none | |
»»» data | string | true | none | none | |
»»» str | object | true | none | none | |
»»»» type | string | true | none | none | |
»»»» mold | string | true | none | none | |
»»» sub | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» key | string | true | none | none | |
»»»» ico | string | true | none | none | |
»»»» path | string | true | none | none | |
»»»» component | string | true | none | none | |
»»»» query | string | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» mold | integer | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» auth | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» str | object | true | none | none | |
»»»»» type | string | true | none | none | |
»»»»» mold | string | true | none | none | |
»»»» sub | [object] | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» ico | string | true | none | none | |
»»»»» path | string | true | none | none | |
»»»»» component | string | true | none | none | |
»»»»» query | string | true | none | none | |
»»»»» type | integer | true | none | none | |
»»»»» mold | integer | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» auth | string | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» str | object | true | none | none | |
»»»»»» type | string | true | none | none | |
»»»»»» mold | string | true | none | none | |
»»»»» sub | [object] | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» pid | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» key | string | true | none | none | |
»»»»»» ico | string | true | none | none | |
»»»»»» path | string | true | none | none | |
»»»»»» component | string | true | none | none | |
»»»»»» query | string | true | none | none | |
»»»»»» type | integer | true | none | none | |
»»»»»» mold | integer | true | none | none | |
»»»»»» sort | integer | true | none | none | |
»»»»»» auth | string | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»»» str | object | true | none | none | |
»»»»»»» type | string | true | none | none | |
»»»»»»» mold | string | true | none | none | |
»»»»»» sub | [string] | true | none | none |
POST 更新
POST /api/menu/save
Body 请求参数
{
"id": 272,
"pid": 173,
"name": "测试",
"key": "cs",
"ico": "add-text",
"path": "/home",
"component": "console/Home.vue",
"query": "{}",
"type": 0,
"mold": 0,
"sort": "0",
"auth": "",
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» pid | body | integer | 是 | 所属菜单 |
» name | body | string | 是 | 菜单名称 |
» key | body | string | 是 | 菜单标识 |
» ico | body | string | 否 | 菜单图标 |
» path | body | string | 是 | 菜单路径 |
» component | body | string | 否 | 组件路径 |
» query | body | string | 否 | 组件参数 |
» type | body | integer | 是 | 菜单类型 |
» mold | body | integer | 是 | 菜单模式 |
» sort | body | integer | 是 | 菜单排序 |
» auth | body | string | 否 | 权限标识 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 272
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
DELETE 删除
DELETE /api/menu/destroy
Body 请求参数
{
"id": 272
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 获取
GET /api/menu/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 数据 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"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"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» pid | integer | true | none | none | |
»» name | string | true | none | none | |
»» key | string | true | none | none | |
»» ico | string | true | none | none | |
»» path | string | true | none | none | |
»» component | string | true | none | none | |
»» query | string | true | none | none | |
»» type | integer | true | none | none | |
»» mold | integer | true | none | none | |
»» sort | integer | true | none | none | |
»» auth | string | true | none | none | |
»» data | string | true | none | none |
GET 全部数据
GET /api/menu/data
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": [
{
"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": [{}]
}
]
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | true | none | none | |
»» pid | integer | true | none | none | |
»» name | string | true | none | none | |
»» key | string | true | none | none | |
»» ico | string | true | none | none | |
»» path | string | true | none | none | |
»» component | string | true | none | none | |
»» query | string | true | none | none | |
»» type | integer | true | none | none | |
»» mold | integer | true | none | none | |
»» sort | integer | true | none | none | |
»» auth | string | true | none | none | |
»» data | string | true | none | none | |
»» sub | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» pid | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» key | string | true | none | none | |
»»» ico | string | true | none | none | |
»»» path | string | true | none | none | |
»»» component | string | true | none | none | |
»»» query | string | true | none | none | |
»»» type | integer | true | none | none | |
»»» mold | integer | true | none | none | |
»»» sort | integer | true | none | none | |
»»» auth | string | true | none | none | |
»»» data | string | true | none | none | |
»»» sub | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» key | string | true | none | none | |
»»»» ico | string | true | none | none | |
»»»» path | string | true | none | none | |
»»»» component | string | true | none | none | |
»»»» query | string | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» mold | integer | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» auth | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» sub | [object] | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» ico | string | true | none | none | |
»»»»» path | string | true | none | none | |
»»»»» component | string | true | none | none | |
»»»»» query | string | true | none | none | |
»»»»» type | integer | true | none | none | |
»»»»» mold | integer | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» auth | string | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» sub | [string] | true | none | none |
GET 角色数据
GET /api/menu/store
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": [
{
"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": [{}]
}
]
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | true | none | none | |
»» pid | integer | true | none | none | |
»» name | string | true | none | none | |
»» key | string | true | none | none | |
»» ico | string | true | none | none | |
»» path | string | true | none | none | |
»» component | string | true | none | none | |
»» query | string | true | none | none | |
»» type | integer | true | none | none | |
»» mold | integer | true | none | none | |
»» sort | integer | true | none | none | |
»» auth | string | true | none | none | |
»» data | string | true | none | none | |
»» sub | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» pid | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» key | string | true | none | none | |
»»» ico | string | true | none | none | |
»»» path | string | true | none | none | |
»»» component | string | true | none | none | |
»»» query | string | true | none | none | |
»»» type | integer | true | none | none | |
»»» mold | integer | true | none | none | |
»»» sort | integer | true | none | none | |
»»» auth | string | true | none | none | |
»»» data | string | true | none | none | |
»»» sub | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» key | string | true | none | none | |
»»»» ico | string | true | none | none | |
»»»» path | string | true | none | none | |
»»»» component | string | true | none | none | |
»»»» query | string | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» mold | integer | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» auth | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» sub | [object] | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» ico | string | true | none | none | |
»»»»» path | string | true | none | none | |
»»»»» component | string | true | none | none | |
»»»»» query | string | true | none | none | |
»»»»» type | integer | true | none | none | |
»»»»» mold | integer | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» auth | string | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» sub | [string] | true | none | none |
报表模板
GET 列表
GET /api/report/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前分页 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 报表名称 |
key[] | query | array[string] | 否 | 报表标识 |
auth[] | query | array[string] | 否 | 权限标识 |
data[] | query | array[string] | 否 | 备注信息 |
state | query | string | 否 | 启停状态 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 97,
"data": [
{
"id": 146,
"name": "转账单-A4",
"key": "allot",
"source": [
{
"key": "allot",
"url": "/sheet/allot",
"parm": "{\"id\":0}"
}
],
"template": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48UmVwb3J0IFNjcmlwdExhbmd1YWdlPSJDU2hhcnAiIERvdWJsZVBhc3M9InRydWUiIFJlcG9ydEluZm8uQ3JlYXRlZD0iMDkvMjUvMjAyMyAxNzo1NDoxMCIgUmVwb3J0SW5mby5Nb2RpZmllZD0iMTIvMTMvMjAyMyAxNzozODoyNSIgUmVwb3J0SW5mby5DcmVhdG9yVmVyc2lvbj0iMjAyMy4zLjEyLjAiPjxSZXBvcnRQYWdlIE5hbWU9IlBhZ2UxIiBSYXdQYXBlclNpemU9IjkiIFdhdGVybWFyay5Gb250PSLlrovkvZMsIDYwcHQiPjxSZXBvcnRUaXRsZUJhbmQgTmFtZT0iUmVwb3J0VGl0bGUxIiBXaWR0aD0iNzE4LjIiIEhlaWdodD0iNzUuNiI+PFRleHRPYmplY3QgTmFtZT0iVGV4dDQiIExlZnQ9IjMxMS44NSIgVG9wPSI5LjQ1IiBXaWR0aD0iOTQuNSIgSGVpZ2h0PSIyMi42OCIgVGV4dD0i6L2s6LSm5Y2VIiBIb3J6QWxpZ249IkNlbnRlciIgVmVydEFsaWduPSJDZW50ZXIiIFdvcmRXcmFwPSJmYWxzZSIgRm9udD0i5a6L5L2TLCAxMnB0LCBzdHlsZT1Cb2xkIi8+PFRleHRPYmplY3QgTmFtZT0iVGV4dDMiIExlZnQ9IjE3MC45MSIgVG9wPSI0Ny44IiBXaWR0aD0iMjA3LjkiIEhlaWdodD0iMTguOSIgVGV4dD0i5Y2V5o2u57yW5Y+377yaW0pTT04uaXRlbS5hbGxvdC5mb3JtLm51bWJlcl0iIFZlcnRBbGlnbj0iQ2VudGVyIiBXb3JkV3JhcD0iZmFsc2UiIEZvbnQ9IuWui+S9kywgMTBwdCIvPjxUZXh0T2JqZWN0IE5hbWU9IlRleHQyIiBMZWZ0PSIwLjk4IiBUb3A9IjQ3LjgiIFdpZHRoPSIxNjkuMTIiIEhlaWdodD0iMTguOSIgVGV4dD0i5Y2V5o2u5pel5pyf77yaW0pTT04uaXRlbS5hbGxvdC5mb3JtLnRpbWVdIiBWZXJ0QWxpZ249IkNlbnRlciIgV29yZFdyYXA9ImZhbHNlIiBGb250PSLlrovkvZMsIDEwcHQiLz48L1JlcG9ydFRpdGxlQmFuZD48RGF0YUJhbmQgTmFtZT0iRGF0YTEiIFRvcD0iOTkuMDciIFdpZHRoPSI3MTguMiIgSGVpZ2h0PSIxOC45IiBEYXRhU291cmNlPSJpbmZvIj48VGFibGVPYmplY3QgTmFtZT0iVGFibGUyIiBXaWR0aD0iNzE4LjIiIEhlaWdodD0iMTguOSI+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjE1IiBXaWR0aD0iMTE2LjY5Ii8+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjE5IiBXaWR0aD0iMTE5LjA3Ii8+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjE2IiBXaWR0aD0iMTczLjQxIi8+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjE3IiBXaWR0aD0iMTU0LjUyIi8+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjE4IiBXaWR0aD0iMTU0LjUxIi8+PFRhYmxlUm93IE5hbWU9IlJvdzIiPjxUYWJsZUNlbGwgTmFtZT0iQ2VsbDMxIiBCb3JkZXIuTGluZXM9IkFsbCIgVGV4dD0iW0pTT04uaXRlbS5hbGxvdC5pbmZvLml0ZW0ub3V0X2RhdGEubmFtZV0iIFBhZGRpbmc9IjAsIDAsIDAsIDAiIEF1dG9TaHJpbms9IkZvbnRTaXplIiBIb3J6QWxpZ249IkNlbnRlciIgVmVydEFsaWduPSJDZW50ZXIiIEZvbnQ9IuWui+S9kywgOHB0Ii8+PFRhYmxlQ2VsbCBOYW1lPSJDZWxsMzUiIEJvcmRlci5MaW5lcz0iQWxsIiBUZXh0PSJbSlNPTi5pdGVtLmFsbG90LmluZm8uaXRlbS5pbl9kYXRhLm5hbWVdIiBIb3J6QWxpZ249IkNlbnRlciIgVmVydEFsaWduPSJDZW50ZXIiIEZvbnQ9IuWui+S9kywgOHB0Ii8+PFRhYmxlQ2VsbCBOYW1lPSJDZWxsMzIiIEJvcmRlci5MaW5lcz0iQWxsIiBUZXh0PSJbSlNPTi5pdGVtLmFsbG90LmluZm8uaXRlbS5tb25leV0iIFBhZGRpbmc9IjAsIDAsIDAsIDAiIEF1dG9TaHJpbms9IkZvbnRTaXplIiBIb3J6QWxpZ249IkNlbnRlciIgVmVydEFsaWduPSJDZW50ZXIiIEZvbnQ9IuWui+S9kywgOHB0Ii8+PFRhYmxlQ2VsbCBOYW1lPSJDZWxsMzMiIEJvcmRlci5MaW5lcz0iQWxsIiBUZXh0PSJbSlNPTi5pdGVtLmFsbG90LmluZm8uaXRlbS5zZXR0bGVdIiBQYWRkaW5nPSIwLCAwLCAwLCAwIiBBdXRvU2hyaW5rPSJGb250U2l6ZSIgSG9yekFsaWduPSJDZW50ZXIiIFZlcnRBbGlnbj0iQ2VudGVyIiBGb250PSLlrovkvZMsIDhwdCIvPjxUYWJsZUNlbGwgTmFtZT0iQ2VsbDM0IiBCb3JkZXIuTGluZXM9IkFsbCIgVGV4dD0iW0pTT04uaXRlbS5hbGxvdC5pbmZvLml0ZW0uZGF0YV0iIFBhZGRpbmc9IjAsIDAsIDAsIDAiIEF1dG9TaHJpbms9IkZvbnRTaXplIiBIb3J6QWxpZ249IkNlbnRlciIgVmVydEFsaWduPSJDZW50ZXIiIEZvbnQ9IuWui+S9kywgOHB0Ii8+PC9UYWJsZVJvdz48L1RhYmxlT2JqZWN0PjxEYXRhSGVhZGVyQmFuZCBOYW1lPSJEYXRhSGVhZGVyMSIgVG9wPSI3Ny44OSIgV2lkdGg9IjcxOC4yIiBIZWlnaHQ9IjE4LjkiIFJlcGVhdE9uRXZlcnlQYWdlPSJ0cnVlIj48VGFibGVPYmplY3QgTmFtZT0iVGFibGUxIiBXaWR0aD0iNzE4LjIxIiBIZWlnaHQ9IjE4LjkiPjxUYWJsZUNvbHVtbiBOYW1lPSJDb2x1bW4xIiBXaWR0aD0iMTE2LjY2Ii8+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjIwIiBXaWR0aD0iMTE5LjA3Ii8+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjIiIFdpZHRoPSIxNzMuMzgiLz48VGFibGVDb2x1bW4gTmFtZT0iQ29sdW1uMyIgV2lkdGg9IjE1NC41NSIvPjxUYWJsZUNvbHVtbiBOYW1lPSJDb2x1bW40IiBXaWR0aD0iMTU0LjU1Ii8+PFRhYmxlUm93IE5hbWU9IlJvdzEiPjxUYWJsZUNlbGwgTmFtZT0iQ2VsbDEiIEJvcmRlci5MaW5lcz0iQWxsIiBUZXh0PSLovazlh7rotKbmiLciIFBhZGRpbmc9IjAsIDAsIDAsIDAiIEhvcnpBbGlnbj0iQ2VudGVyIiBWZXJ0QWxpZ249IkNlbnRlciIgRm9udD0i5a6L5L2TLCA4cHQiLz48VGFibGVDZWxsIE5hbWU9IkNlbGwzNiIgQm9yZGVyLkxpbmVzPSJBbGwiIFRleHQ9Iui9rOWFpei0puaItyIgSG9yekFsaWduPSJDZW50ZXIiIFZlcnRBbGlnbj0iQ2VudGVyIiBGb250PSLlrovkvZMsIDhwdCIvPjxUYWJsZUNlbGwgTmFtZT0iQ2VsbDIiIEJvcmRlci5MaW5lcz0iQWxsIiBUZXh0PSLph5Hpop0iIFBhZGRpbmc9IjAsIDAsIDAsIDAiIEhvcnpBbGlnbj0iQ2VudGVyIiBWZXJ0QWxpZ249IkNlbnRlciIgRm9udD0i5a6L5L2TLCA4cHQiLz48VGFibGVDZWxsIE5hbWU9IkNlbGwzIiBCb3JkZXIuTGluZXM9IkFsbCIgVGV4dD0i57uT566X5Y+3IiBQYWRkaW5nPSIwLCAwLCAwLCAwIiBIb3J6QWxpZ249IkNlbnRlciIgVmVydEFsaWduPSJDZW50ZXIiIEZvbnQ9IuWui+S9kywgOHB0Ii8+PFRhYmxlQ2VsbCBOYW1lPSJDZWxsNCIgQm9yZGVyLkxpbmVzPSJBbGwiIFRleHQ9IuWkh+azqOS/oeaBryIgUGFkZGluZz0iMCwgMCwgMCwgMCIgSG9yekFsaWduPSJDZW50ZXIiIFZlcnRBbGlnbj0iQ2VudGVyIiBGb250PSLlrovkvZMsIDhwdCIvPjwvVGFibGVSb3c+PC9UYWJsZU9iamVjdD48L0RhdGFIZWFkZXJCYW5kPjwvRGF0YUJhbmQ+PFJlcG9ydFN1bW1hcnlCYW5kIE5hbWU9IlJlcG9ydFN1bW1hcnkxIiBUb3A9IjEyMC4yNiIgV2lkdGg9IjcxOC4yIiBIZWlnaHQ9Ijc1LjYiIENhbkJyZWFrPSJ0cnVlIj48VGV4dE9iamVjdCBOYW1lPSJUZXh0NSIgVG9wPSI5LjQ1IiBXaWR0aD0iMTcwLjEiIEhlaWdodD0iMTguOSIgVGV4dD0i5Y2V5o2u6YeR6aKd77yaW0pTT04uaXRlbS5hbGxvdC5mb3JtLnRvdGFsXSIgVmVydEFsaWduPSJDZW50ZXIiIFdvcmRXcmFwPSJmYWxzZSIgRm9udD0i5a6L5L2TLCAxMHB0Ii8+PFRleHRPYmplY3QgTmFtZT0iVGV4dDkiIExlZnQ9IjE3MC4xIiBUb3A9IjkuNDUiIFdpZHRoPSIxNzAuMSIgSGVpZ2h0PSIxOC45IiBUZXh0PSLnu4Tnu4fmnrbmnoTvvJpbUmVwb3J0LkdldENvbHVtblZhbHVlKCZxdW90O0pTT04uaXRlbS5hbGxvdC5mb3JtLmZyYW1lX2RhdGEubmFtZSZxdW90OyldIiBWZXJ0QWxpZ249IkNlbnRlciIgV29yZFdyYXA9ImZhbHNlIiBGb250PSLlrovkvZMsIDEwcHQiLz48VGV4dE9iamVjdCBOYW1lPSJUZXh0MTAiIExlZnQ9IjM0MC4yIiBUb3A9IjkuNDUiIFdpZHRoPSIxNzAuMSIgSGVpZ2h0PSIxOC45IiBUZXh0PSLliLbljZXnlKjmiLfvvJpbUmVwb3J0LkdldENvbHVtblZhbHVlKCZxdW90O0pTT04uaXRlbS5hbGxvdC5mb3JtLnVzZXJfZGF0YS5uYW1lJnF1b3Q7KV0iIFZlcnRBbGlnbj0iQ2VudGVyIiBXb3JkV3JhcD0iZmFsc2UiIEZvbnQ9IuWui+S9kywgMTBwdCIvPjxUZXh0T2JqZWN0IE5hbWU9IlRleHQxMSIgTGVmdD0iNTEwLjMiIFRvcD0iOS40NSIgV2lkdGg9IjE3MC4xIiBIZWlnaHQ9IjE4LjkiIFRleHQ9IuWFs+iBlOS6uuWRmO+8mltSZXBvcnQuR2V0Q29sdW1uVmFsdWUoJnF1b3Q7SlNPTi5pdGVtLmFsbG90LmZvcm0ucGVyc29uX2RhdGEubmFtZSZxdW90OyldIiBWZXJ0QWxpZ249IkNlbnRlciIgV29yZFdyYXA9ImZhbHNlIiBGb250PSLlrovkvZMsIDEwcHQiLz48VGV4dE9iamVjdCBOYW1lPSJUZXh0MTMiIFRvcD0iNDcuMjUiIFdpZHRoPSI2ODAuNCIgSGVpZ2h0PSIxOC45IiBUZXh0PSLlpIfms6jkv6Hmga/vvJpbSlNPTi5pdGVtLmFsbG90LmZvcm0uZGF0YV0iIFZlcnRBbGlnbj0iQ2VudGVyIiBXb3JkV3JhcD0iZmFsc2UiIEZvbnQ9IuWui+S9kywgMTBwdCIvPjwvUmVwb3J0U3VtbWFyeUJhbmQ+PFBhZ2VGb290ZXJCYW5kIE5hbWU9IlBhZ2VGb290ZXIxIiBUb3A9IjE5OC4xNCIgV2lkdGg9IjcxOC4yIiBIZWlnaHQ9IjE4LjkiPjxUZXh0T2JqZWN0IE5hbWU9IlRleHQxOCIgTGVmdD0iNTEwLjMiIFdpZHRoPSIyMDcuOSIgSGVpZ2h0PSIxOC45IiBUZXh0PSLnrKxbUGFnZV3pobUv5YWxW1RvdGFsUGFnZXNd6aG1IiBIb3J6QWxpZ249IlJpZ2h0IiBWZXJ0QWxpZ249IkNlbnRlciIgV29yZFdyYXA9ImZhbHNlIiBGb250PSLlrovkvZMsIDEwcHQiPjxGb3JtYXRzPjxHZW5lcmFsRm9ybWF0Lz48R2VuZXJhbEZvcm1hdC8+PC9Gb3JtYXRzPjwvVGV4dE9iamVjdD48L1BhZ2VGb290ZXJCYW5kPjwvUmVwb3J0UGFnZT48L1JlcG9ydD4NCg==",
"size": "210mm*297mm",
"auth": "",
"sort": 1,
"state": true,
"data": "",
"str": {
"state": "启用"
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» key | string | true | none | none | |
»»» source | [object] | true | none | none | |
»»»» key | string | true | none | none | |
»»»» url | string | true | none | none | |
»»»» parm | string | true | none | none | |
»»» template | string | true | none | none | |
»»» size | string | true | none | none | |
»»» auth | string | true | none | none | |
»»» sort | integer | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» str | object | true | none | none | |
»»»» state | string | true | none | none |
POST 修改
POST /api/report/save
Body 请求参数
{
"id": 156,
"name": "测试报表",
"key": "buy",
"source": [
{
"key": "buy",
"url": "/sheet/buy",
"parm": "{\"id\":1}"
}
],
"template": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48UmVwb3J0IFNjcmlwdExhbmd1YWdlPSJDU2hhcnAiIERvdWJsZVBhc3M9InRydWUiIFJlcG9ydEluZm8uQ3JlYXRlZD0iMDkvMjUvMjAyMyAxNzo1NDoxMCIgUmVwb3J0SW5mby5Nb2RpZmllZD0iMTIvMTMvMjAyMyAxNzozODoyNSIgUmVwb3J0SW5mby5DcmVhdG9yVmVyc2lvbj0iMjAyMy4zLjEyLjAiPjxSZXBvcnRQYWdlIE5hbWU9IlBhZ2UxIiBSYXdQYXBlclNpemU9IjkiIFdhdGVybWFyay5Gb250PSLlrovkvZMsIDYwcHQiPjxSZXBvcnRUaXRsZUJhbmQgTmFtZT0iUmVwb3J0VGl0bGUxIiBXaWR0aD0iNzE4LjIiIEhlaWdodD0iNzUuNiI+PFRleHRPYmplY3QgTmFtZT0iVGV4dDQiIExlZnQ9IjMxMS44NSIgVG9wPSI5LjQ1IiBXaWR0aD0iOTQuNSIgSGVpZ2h0PSIyMi42OCIgVGV4dD0i6L2s6LSm5Y2VIiBIb3J6QWxpZ249IkNlbnRlciIgVmVydEFsaWduPSJDZW50ZXIiIFdvcmRXcmFwPSJmYWxzZSIgRm9udD0i5a6L5L2TLCAxMnB0LCBzdHlsZT1Cb2xkIi8+PFRleHRPYmplY3QgTmFtZT0iVGV4dDMiIExlZnQ9IjE3MC45MSIgVG9wPSI0Ny44IiBXaWR0aD0iMjA3LjkiIEhlaWdodD0iMTguOSIgVGV4dD0i5Y2V5o2u57yW5Y+377yaW0pTT04uaXRlbS5hbGxvdC5mb3JtLm51bWJlcl0iIFZlcnRBbGlnbj0iQ2VudGVyIiBXb3JkV3JhcD0iZmFsc2UiIEZvbnQ9IuWui+S9kywgMTBwdCIvPjxUZXh0T2JqZWN0IE5hbWU9IlRleHQyIiBMZWZ0PSIwLjk4IiBUb3A9IjQ3LjgiIFdpZHRoPSIxNjkuMTIiIEhlaWdodD0iMTguOSIgVGV4dD0i5Y2V5o2u5pel5pyf77yaW0pTT04uaXRlbS5hbGxvdC5mb3JtLnRpbWVdIiBWZXJ0QWxpZ249IkNlbnRlciIgV29yZFdyYXA9ImZhbHNlIiBGb250PSLlrovkvZMsIDEwcHQiLz48L1JlcG9ydFRpdGxlQmFuZD48RGF0YUJhbmQgTmFtZT0iRGF0YTEiIFRvcD0iOTkuMDciIFdpZHRoPSI3MTguMiIgSGVpZ2h0PSIxOC45IiBEYXRhU291cmNlPSJpbmZvIj48VGFibGVPYmplY3QgTmFtZT0iVGFibGUyIiBXaWR0aD0iNzE4LjIiIEhlaWdodD0iMTguOSI+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjE1IiBXaWR0aD0iMTE2LjY5Ii8+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjE5IiBXaWR0aD0iMTE5LjA3Ii8+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjE2IiBXaWR0aD0iMTczLjQxIi8+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjE3IiBXaWR0aD0iMTU0LjUyIi8+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjE4IiBXaWR0aD0iMTU0LjUxIi8+PFRhYmxlUm93IE5hbWU9IlJvdzIiPjxUYWJsZUNlbGwgTmFtZT0iQ2VsbDMxIiBCb3JkZXIuTGluZXM9IkFsbCIgVGV4dD0iW0pTT04uaXRlbS5hbGxvdC5pbmZvLml0ZW0ub3V0X2RhdGEubmFtZV0iIFBhZGRpbmc9IjAsIDAsIDAsIDAiIEF1dG9TaHJpbms9IkZvbnRTaXplIiBIb3J6QWxpZ249IkNlbnRlciIgVmVydEFsaWduPSJDZW50ZXIiIEZvbnQ9IuWui+S9kywgOHB0Ii8+PFRhYmxlQ2VsbCBOYW1lPSJDZWxsMzUiIEJvcmRlci5MaW5lcz0iQWxsIiBUZXh0PSJbSlNPTi5pdGVtLmFsbG90LmluZm8uaXRlbS5pbl9kYXRhLm5hbWVdIiBIb3J6QWxpZ249IkNlbnRlciIgVmVydEFsaWduPSJDZW50ZXIiIEZvbnQ9IuWui+S9kywgOHB0Ii8+PFRhYmxlQ2VsbCBOYW1lPSJDZWxsMzIiIEJvcmRlci5MaW5lcz0iQWxsIiBUZXh0PSJbSlNPTi5pdGVtLmFsbG90LmluZm8uaXRlbS5tb25leV0iIFBhZGRpbmc9IjAsIDAsIDAsIDAiIEF1dG9TaHJpbms9IkZvbnRTaXplIiBIb3J6QWxpZ249IkNlbnRlciIgVmVydEFsaWduPSJDZW50ZXIiIEZvbnQ9IuWui+S9kywgOHB0Ii8+PFRhYmxlQ2VsbCBOYW1lPSJDZWxsMzMiIEJvcmRlci5MaW5lcz0iQWxsIiBUZXh0PSJbSlNPTi5pdGVtLmFsbG90LmluZm8uaXRlbS5zZXR0bGVdIiBQYWRkaW5nPSIwLCAwLCAwLCAwIiBBdXRvU2hyaW5rPSJGb250U2l6ZSIgSG9yekFsaWduPSJDZW50ZXIiIFZlcnRBbGlnbj0iQ2VudGVyIiBGb250PSLlrovkvZMsIDhwdCIvPjxUYWJsZUNlbGwgTmFtZT0iQ2VsbDM0IiBCb3JkZXIuTGluZXM9IkFsbCIgVGV4dD0iW0pTT04uaXRlbS5hbGxvdC5pbmZvLml0ZW0uZGF0YV0iIFBhZGRpbmc9IjAsIDAsIDAsIDAiIEF1dG9TaHJpbms9IkZvbnRTaXplIiBIb3J6QWxpZ249IkNlbnRlciIgVmVydEFsaWduPSJDZW50ZXIiIEZvbnQ9IuWui+S9kywgOHB0Ii8+PC9UYWJsZVJvdz48L1RhYmxlT2JqZWN0PjxEYXRhSGVhZGVyQmFuZCBOYW1lPSJEYXRhSGVhZGVyMSIgVG9wPSI3Ny44OSIgV2lkdGg9IjcxOC4yIiBIZWlnaHQ9IjE4LjkiIFJlcGVhdE9uRXZlcnlQYWdlPSJ0cnVlIj48VGFibGVPYmplY3QgTmFtZT0iVGFibGUxIiBXaWR0aD0iNzE4LjIxIiBIZWlnaHQ9IjE4LjkiPjxUYWJsZUNvbHVtbiBOYW1lPSJDb2x1bW4xIiBXaWR0aD0iMTE2LjY2Ii8+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjIwIiBXaWR0aD0iMTE5LjA3Ii8+PFRhYmxlQ29sdW1uIE5hbWU9IkNvbHVtbjIiIFdpZHRoPSIxNzMuMzgiLz48VGFibGVDb2x1bW4gTmFtZT0iQ29sdW1uMyIgV2lkdGg9IjE1NC41NSIvPjxUYWJsZUNvbHVtbiBOYW1lPSJDb2x1bW40IiBXaWR0aD0iMTU0LjU1Ii8+PFRhYmxlUm93IE5hbWU9IlJvdzEiPjxUYWJsZUNlbGwgTmFtZT0iQ2VsbDEiIEJvcmRlci5MaW5lcz0iQWxsIiBUZXh0PSLovazlh7rotKbmiLciIFBhZGRpbmc9IjAsIDAsIDAsIDAiIEhvcnpBbGlnbj0iQ2VudGVyIiBWZXJ0QWxpZ249IkNlbnRlciIgRm9udD0i5a6L5L2TLCA4cHQiLz48VGFibGVDZWxsIE5hbWU9IkNlbGwzNiIgQm9yZGVyLkxpbmVzPSJBbGwiIFRleHQ9Iui9rOWFpei0puaItyIgSG9yekFsaWduPSJDZW50ZXIiIFZlcnRBbGlnbj0iQ2VudGVyIiBGb250PSLlrovkvZMsIDhwdCIvPjxUYWJsZUNlbGwgTmFtZT0iQ2VsbDIiIEJvcmRlci5MaW5lcz0iQWxsIiBUZXh0PSLph5Hpop0iIFBhZGRpbmc9IjAsIDAsIDAsIDAiIEhvcnpBbGlnbj0iQ2VudGVyIiBWZXJ0QWxpZ249IkNlbnRlciIgRm9udD0i5a6L5L2TLCA4cHQiLz48VGFibGVDZWxsIE5hbWU9IkNlbGwzIiBCb3JkZXIuTGluZXM9IkFsbCIgVGV4dD0i57uT566X5Y+3IiBQYWRkaW5nPSIwLCAwLCAwLCAwIiBIb3J6QWxpZ249IkNlbnRlciIgVmVydEFsaWduPSJDZW50ZXIiIEZvbnQ9IuWui+S9kywgOHB0Ii8+PFRhYmxlQ2VsbCBOYW1lPSJDZWxsNCIgQm9yZGVyLkxpbmVzPSJBbGwiIFRleHQ9IuWkh+azqOS/oeaBryIgUGFkZGluZz0iMCwgMCwgMCwgMCIgSG9yekFsaWduPSJDZW50ZXIiIFZlcnRBbGlnbj0iQ2VudGVyIiBGb250PSLlrovkvZMsIDhwdCIvPjwvVGFibGVSb3c+PC9UYWJsZU9iamVjdD48L0RhdGFIZWFkZXJCYW5kPjwvRGF0YUJhbmQ+PFJlcG9ydFN1bW1hcnlCYW5kIE5hbWU9IlJlcG9ydFN1bW1hcnkxIiBUb3A9IjEyMC4yNiIgV2lkdGg9IjcxOC4yIiBIZWlnaHQ9Ijc1LjYiIENhbkJyZWFrPSJ0cnVlIj48VGV4dE9iamVjdCBOYW1lPSJUZXh0NSIgVG9wPSI5LjQ1IiBXaWR0aD0iMTcwLjEiIEhlaWdodD0iMTguOSIgVGV4dD0i5Y2V5o2u6YeR6aKd77yaW0pTT04uaXRlbS5hbGxvdC5mb3JtLnRvdGFsXSIgVmVydEFsaWduPSJDZW50ZXIiIFdvcmRXcmFwPSJmYWxzZSIgRm9udD0i5a6L5L2TLCAxMHB0Ii8+PFRleHRPYmplY3QgTmFtZT0iVGV4dDkiIExlZnQ9IjE3MC4xIiBUb3A9IjkuNDUiIFdpZHRoPSIxNzAuMSIgSGVpZ2h0PSIxOC45IiBUZXh0PSLnu4Tnu4fmnrbmnoTvvJpbUmVwb3J0LkdldENvbHVtblZhbHVlKCZxdW90O0pTT04uaXRlbS5hbGxvdC5mb3JtLmZyYW1lX2RhdGEubmFtZSZxdW90OyldIiBWZXJ0QWxpZ249IkNlbnRlciIgV29yZFdyYXA9ImZhbHNlIiBGb250PSLlrovkvZMsIDEwcHQiLz48VGV4dE9iamVjdCBOYW1lPSJUZXh0MTAiIExlZnQ9IjM0MC4yIiBUb3A9IjkuNDUiIFdpZHRoPSIxNzAuMSIgSGVpZ2h0PSIxOC45IiBUZXh0PSLliLbljZXnlKjmiLfvvJpbUmVwb3J0LkdldENvbHVtblZhbHVlKCZxdW90O0pTT04uaXRlbS5hbGxvdC5mb3JtLnVzZXJfZGF0YS5uYW1lJnF1b3Q7KV0iIFZlcnRBbGlnbj0iQ2VudGVyIiBXb3JkV3JhcD0iZmFsc2UiIEZvbnQ9IuWui+S9kywgMTBwdCIvPjxUZXh0T2JqZWN0IE5hbWU9IlRleHQxMSIgTGVmdD0iNTEwLjMiIFRvcD0iOS40NSIgV2lkdGg9IjE3MC4xIiBIZWlnaHQ9IjE4LjkiIFRleHQ9IuWFs+iBlOS6uuWRmO+8mltSZXBvcnQuR2V0Q29sdW1uVmFsdWUoJnF1b3Q7SlNPTi5pdGVtLmFsbG90LmZvcm0ucGVyc29uX2RhdGEubmFtZSZxdW90OyldIiBWZXJ0QWxpZ249IkNlbnRlciIgV29yZFdyYXA9ImZhbHNlIiBGb250PSLlrovkvZMsIDEwcHQiLz48VGV4dE9iamVjdCBOYW1lPSJUZXh0MTMiIFRvcD0iNDcuMjUiIFdpZHRoPSI2ODAuNCIgSGVpZ2h0PSIxOC45IiBUZXh0PSLlpIfms6jkv6Hmga/vvJpbSlNPTi5pdGVtLmFsbG90LmZvcm0uZGF0YV0iIFZlcnRBbGlnbj0iQ2VudGVyIiBXb3JkV3JhcD0iZmFsc2UiIEZvbnQ9IuWui+S9kywgMTBwdCIvPjwvUmVwb3J0U3VtbWFyeUJhbmQ+PFBhZ2VGb290ZXJCYW5kIE5hbWU9IlBhZ2VGb290ZXIxIiBUb3A9IjE5OC4xNCIgV2lkdGg9IjcxOC4yIiBIZWlnaHQ9IjE4LjkiPjxUZXh0T2JqZWN0IE5hbWU9IlRleHQxOCIgTGVmdD0iNTEwLjMiIFdpZHRoPSIyMDcuOSIgSGVpZ2h0PSIxOC45IiBUZXh0PSLnrKxbUGFnZV3pobUv5YWxW1RvdGFsUGFnZXNd6aG1IiBIb3J6QWxpZ249IlJpZ2h0IiBWZXJ0QWxpZ249IkNlbnRlciIgV29yZFdyYXA9ImZhbHNlIiBGb250PSLlrovkvZMsIDEwcHQiPjxGb3JtYXRzPjxHZW5lcmFsRm9ybWF0Lz48R2VuZXJhbEZvcm1hdC8+PC9Gb3JtYXRzPjwvVGV4dE9iamVjdD48L1BhZ2VGb290ZXJCYW5kPjwvUmVwb3J0UGFnZT48L1JlcG9ydD4NCg==",
"size": "210mm*297mm",
"auth": "",
"sort": "0",
"state": true,
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» name | body | string | 是 | 报表名称 |
» key | body | string | 是 | 报表标识 |
» source | body | [object] | 是 | 数据配置 |
»» key | body | string | 是 | 数据名称 |
»» url | body | string | 是 | 数据接口 |
»» parm | body | string | 是 | 数据参数 |
» template | body | string | 是 | 报表代码 |
» size | body | string | 否 | 报表尺寸 |
» auth | body | string | 否 | 权限标识 |
» sort | body | string | 否 | 报表排序 |
» state | body | integer | 是 | 启停状态 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 156
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/report/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | none |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"name": "string",
"key": "string",
"source": [
{
"key": "string",
"url": "string",
"parm": "string"
}
],
"template": "string",
"size": "string",
"auth": "string",
"sort": 0,
"state": true,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» key | string | true | none | none | |
»» source | [object] | true | none | none | |
»»» key | string | false | none | none | |
»»» url | string | false | none | none | |
»»» parm | string | false | none | none | |
»» template | string | true | none | none | |
»» size | string | true | none | none | |
»» auth | string | true | none | none | |
»» sort | integer | true | none | none | |
»» state | boolean | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/report/destroy
Body 请求参数
{
"id": [20]
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | [integer] | 是 | 数据组 |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 导出
GET /api/report/exp
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id[] | query | string | 是 | none |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": "https://*******/storage/tmp/66f7bd6ab492b.zip"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
POST 复制
POST /api/report/copy
Body 请求参数
{
"id": 157
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据 ID |
返回示例
{
"state": "success"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
扩展字段
GET 列表
GET /api/field/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
data[] | query | array[string] | 否 | 备注信息 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 0,
"data": []
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
POST 修改
POST /api/field/save
Body 请求参数
{
"id": 2,
"module": "person",
"config": {
"a": {
"alias": "测试字段1",
"state": true
},
"b": {
"alias": "测试字段2",
"state": true
},
"c": {
"alias": "测试字段3",
"state": true
},
"d": {
"alias": "",
"state": false
},
"e": {
"alias": "",
"state": false
}
},
"data": "备注"
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» module | body | string | 是 | 模块名称 |
» config | body | object | 是 | 字段配置 |
»» a | body | object | 否 | 字段 A |
»»» alias | body | string | 是 | none |
»»» state | body | boolean | 是 | none |
»» b | body | object | 否 | 字段 B |
»»» alias | body | string | 是 | none |
»»» state | body | boolean | 是 | none |
»» c | body | object | 否 | 字段 C |
»»» alias | body | string | 是 | none |
»»» state | body | boolean | 是 | none |
»» d | body | object | 否 | 字段 D |
»»» alias | body | string | 是 | none |
»»» state | body | boolean | 是 | none |
»» e | body | object | 否 | 字段 E |
»»» alias | body | string | 是 | none |
»»» state | body | boolean | 是 | none |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 2
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 获取
GET /api/field/info
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | none |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"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"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» module | string | true | none | none | |
»» config | object | true | none | none | |
»»» a | object | true | none | none | |
»»»» alias | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»» b | object | true | none | none | |
»»»» alias | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»» c | object | true | none | none | |
»»»» alias | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»» d | object | true | none | none | |
»»»» alias | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»» e | object | true | none | none | |
»»»» alias | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/field/destroy
Body 请求参数
{
"id": 2
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 参数 ID |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 全部数据
GET /api/field/store
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": [
{
"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"
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» module | string | false | none | none | |
»» config | object | false | none | none | |
»»» a | object | true | none | none | |
»»»» alias | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»» b | object | true | none | none | |
»»»» alias | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»» c | object | true | none | none | |
»»»» alias | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»» d | object | true | none | none | |
»»»» alias | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»» e | object | true | none | none | |
»»»» alias | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»» data | string | false | none | none |
编号规则
POST 修改
POST /api/number/save
Body 请求参数
{
"id": 32,
"module": "person",
"config": {
"list": {
"state": true,
"text": "RY",
"digit": 4,
"nums": 1
},
"time": {
"state": false,
"text": "",
"format": "ymdhis",
"digit": 2
}
},
"data": ""
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | 数据参数 |
» module | body | string | 是 | 模块名称 |
» config | body | object | 是 | 规则配置 |
»» list | body | object | 否 | 连续规则 |
»»» state | body | boolean | 否 | 状态 |
»»» text | body | string | 否 | 前缀 |
»»» digit | body | integer | 否 | 位数 |
»»» nums | body | integer | 否 | 数值 |
»» time | body | object | 否 | 时间规则 |
»»» state | body | boolean | 否 | 状态 |
»»» text | body | string | 否 | 前缀 |
»»» format | body | string | 否 | 格式 |
»»» digit | body | integer | 否 | 随机数 |
» data | body | string | 否 | 备注信息 |
返回示例
{
"state": "success",
"info": 32
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | integer | true | none | none |
GET 列表
GET /api/number/record
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
data[] | query | array[string] | 否 | 备注信息 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 31,
"data": [
{
"id": 32,
"module": "person",
"config": {
"list": {
"nums": 1,
"text": "RY",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "人员"
}
},
{
"id": 31,
"module": "srn",
"config": {
"list": {
"nums": 1,
"text": "YFJMD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "应付减免单"
}
},
{
"id": 30,
"module": "crn",
"config": {
"list": {
"nums": 1,
"text": "YSJMD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "应收减免单"
}
},
{
"id": 29,
"module": "alloc",
"config": {
"list": {
"nums": 1,
"text": "CKHW",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "仓库货位"
}
},
{
"id": 28,
"module": "omy",
"config": {
"list": {
"nums": 1,
"text": "FKD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "付款单"
}
},
{
"id": 27,
"module": "oce",
"config": {
"list": {
"nums": 1,
"text": "QTZCD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "其他支出单"
}
},
{
"id": 26,
"module": "ice",
"config": {
"list": {
"nums": 1,
"text": "QTSRD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "其他收入单"
}
},
{
"id": 25,
"module": "bill",
"config": {
"list": {
"nums": 1,
"text": "JSD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "结算单"
}
},
{
"id": 24,
"module": "allot",
"config": {
"list": {
"nums": 1,
"text": "ZZD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "转账单"
}
},
{
"id": 23,
"module": "imy",
"config": {
"list": {
"nums": 1,
"text": "SKD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "收款单"
}
},
{
"id": 22,
"module": "adj",
"config": {
"list": {
"nums": 1,
"text": "CBTZD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "成本调整单"
}
},
{
"id": 21,
"module": "extry",
"config": {
"list": {
"nums": 1,
"text": "QTCKD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "其他出库单"
}
},
{
"id": 20,
"module": "entry",
"config": {
"list": {
"nums": 1,
"text": "QTRKD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "其他入库单"
}
},
{
"id": 19,
"module": "divide",
"config": {
"list": {
"nums": 1,
"text": "CXD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "拆卸单"
}
},
{
"id": 18,
"module": "make",
"config": {
"list": {
"nums": 1,
"text": "ZZD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "组装单"
}
},
{
"id": 17,
"module": "transfer",
"config": {
"list": {
"nums": 1,
"text": "DBD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "调拨单"
}
},
{
"id": 16,
"module": "sre",
"config": {
"list": {
"nums": 1,
"text": "XHTHD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "销货退货单"
}
},
{
"id": 15,
"module": "sell",
"config": {
"list": {
"nums": 1,
"text": "XHCKD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "销货出库单"
}
},
{
"id": 14,
"module": "sor",
"config": {
"list": {
"nums": 1,
"text": "XHDD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "销货订单"
}
},
{
"id": 13,
"module": "bre",
"config": {
"list": {
"nums": 1,
"text": "GHTHD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "购货退货单"
}
},
{
"id": 12,
"module": "buy",
"config": {
"list": {
"nums": 1,
"text": "GHRKD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "购货入库单"
}
},
{
"id": 11,
"module": "bor",
"config": {
"list": {
"nums": 1,
"text": "GHDD",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "购货订单"
}
},
{
"id": 10,
"module": "warehouse",
"config": {
"list": {
"nums": 1,
"text": "CK",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "仓库"
}
},
{
"id": 9,
"module": "account",
"config": {
"list": {
"nums": 5,
"text": "ZJ",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "结算账户"
}
},
{
"id": 8,
"module": "sit",
"config": {
"list": {
"nums": 1,
"text": "GYSQC",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "供应商期初"
}
},
{
"id": 7,
"module": "supplier",
"config": {
"list": {
"nums": 3,
"text": "GYS",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "供应商"
}
},
{
"id": 6,
"module": "cit",
"config": {
"list": {
"nums": 1,
"text": "KHQC",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "客户期初"
}
},
{
"id": 5,
"module": "customer",
"config": {
"list": {
"nums": 1,
"text": "KH",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "客户"
}
},
{
"id": 4,
"module": "git",
"config": {
"list": {
"nums": 1,
"text": "SPQC",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "商品期初"
}
},
{
"id": 3,
"module": "bom",
"config": {
"list": {
"nums": 1,
"text": "BOM",
"digit": 4,
"state": true
},
"time": {
"text": "",
"digit": 2,
"state": false,
"format": "ymdhis"
}
},
"data": "",
"str": {
"module": "BOM单"
}
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» module | string | true | none | none | |
»»» config | object | true | none | none | |
»»»» list | object | true | none | none | |
»»»»» nums | integer | true | none | none | |
»»»»» text | string | true | none | none | |
»»»»» digit | integer | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»» time | object | true | none | none | |
»»»»» text | string | true | none | none | |
»»»»» digit | integer | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»»» format | string | true | none | none | |
»»» data | string | true | none | none | |
»»» str | object | true | none | none | |
»»»» module | string | true | none | none |
GET 获取
GET /api/number/info
Body 请求参数
{
"id": "string"
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | none |
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | string | 是 | ID 编号 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"module": "string",
"config": {
"list": {
"nums": 0,
"text": "string",
"digit": 0,
"state": true
},
"time": {
"text": "string",
"digit": 0,
"state": true,
"format": "string"
}
},
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» module | string | true | none | none | |
»» config | object | true | none | none | |
»»» list | object | true | none | none | |
»»»» nums | integer | true | none | none | |
»»»» text | string | true | none | none | |
»»»» digit | integer | true | none | none | |
»»»» state | boolean | true | none | none | |
»»» time | object | true | none | none | |
»»»» text | string | true | none | none | |
»»»» digit | integer | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» format | string | true | none | none | |
»» data | string | true | none | none |
DELETE 删除
DELETE /api/number/destroy
Body 请求参数
{
"id": 32
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» id | body | integer | 是 | none |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
公用接口
GET 运行数据
GET /api/service/base
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"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": null,
"port": null,
"scene": null
},
"local": {
"add": null,
"port": null,
"scene": null
}
}
},
"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": null,
"pid": null,
"name": null,
"key": null,
"ico": null,
"path": null,
"component": null,
"query": null,
"type": null,
"mold": null,
"sort": null,
"auth": null,
"data": null,
"sub": null
}
]
}
],
"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": null,
"see": null,
"edit": null,
"export": null,
"destroy": null,
"examine": null,
"reverse": null
},
"bbt": {
"see": null,
"export": null
},
"blt": {
"see": null,
"export": null
},
"bom": {
"add": null,
"see": null,
"edit": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"bor": {
"add": null,
"see": null,
"edit": null,
"open": null,
"close": null,
"price": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"bot": {
"see": null,
"export": null
},
"bre": {
"add": null,
"rck": null,
"see": null,
"edit": null,
"check": null,
"price": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"bsy": {
"see": null,
"export": null
},
"bta": {
"see": null,
"export": null
},
"btb": {
"see": null,
"export": null
},
"buy": {
"add": null,
"rck": null,
"see": null,
"edit": null,
"check": null,
"price": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"cbf": {
"see": null,
"export": null
},
"cct": {
"see": null,
"export": null
},
"cds": {
"see": null,
"export": null
},
"cit": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"cos": {
"see": null,
"export": null
},
"cps": {
"see": null,
"export": null
},
"cpt": {
"see": null,
"export": null
},
"crn": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"crs": {
"see": null,
"export": null
},
"cst": {
"see": null,
"export": null
},
"exp": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"git": {
"add": null,
"see": null,
"edit": null,
"price": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"ice": {
"add": null,
"see": null,
"edit": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"imy": {
"add": null,
"see": null,
"edit": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"inc": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"log": {
"see": null,
"destroy": null
},
"oce": {
"add": null,
"see": null,
"edit": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"omy": {
"add": null,
"see": null,
"edit": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"sbt": {
"see": null,
"export": null
},
"sit": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"slt": {
"see": null,
"export": null
},
"sor": {
"add": null,
"see": null,
"edit": null,
"open": null,
"close": null,
"price": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"sot": {
"see": null,
"export": null
},
"sre": {
"add": null,
"rck": null,
"see": null,
"edit": null,
"check": null,
"price": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"srn": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"ssy": {
"see": null,
"export": null
},
"sta": {
"see": null,
"export": null
},
"stb": {
"see": null,
"export": null
},
"sys": {
"see": null,
"edit": null
},
"wbs": {
"see": null,
"export": null
},
"wds": {
"see": null,
"export": null
},
"wss": {
"see": null,
"export": null
},
"attr": {
"add": null,
"see": null,
"edit": null,
"import": null,
"destroy": null
},
"bill": {
"add": null,
"see": null,
"edit": null,
"export": null,
"destroy": null,
"examine": null,
"reverse": null
},
"cell": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"code": {
"add": null,
"see": null,
"edit": null,
"export": null,
"import": null,
"destroy": null
},
"cost": {
"add": null,
"see": null,
"export": null
},
"home": {
"form": null,
"fund": null,
"total": null,
"assets": null,
"summary": null
},
"make": {
"add": null,
"see": null,
"edit": null,
"price": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"menu": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"role": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"sell": {
"add": null,
"rck": null,
"see": null,
"edit": null,
"check": null,
"price": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"spec": {
"add": null,
"see": null,
"edit": null,
"import": null,
"destroy": null
},
"spta": {
"see": null,
"export": null
},
"sptb": {
"see": null,
"export": null
},
"tool": {
"see": null
},
"unit": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"user": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"alloc": {
"add": null,
"see": null,
"edit": null,
"export": null,
"import": null,
"destroy": null
},
"allot": {
"add": null,
"see": null,
"edit": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"batch": {
"see": null,
"export": null
},
"brand": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"check": {
"see": null
},
"entry": {
"add": null,
"see": null,
"edit": null,
"price": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"extry": {
"add": null,
"see": null,
"edit": null,
"price": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"field": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"frame": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"goods": {
"add": null,
"buy": null,
"see": null,
"edit": null,
"sell": null,
"export": null,
"import": null,
"destroy": null
},
"grade": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"stock": {
"see": null,
"export": null
},
"assort": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"backup": {
"see": null,
"backup": null,
"destroy": null,
"recover": null
},
"divide": {
"add": null,
"see": null,
"edit": null,
"price": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"number": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"period": {
"see": null,
"back": null,
"save": null
},
"person": {
"add": null,
"see": null,
"edit": null,
"export": null,
"import": null,
"destroy": null
},
"report": {
"add": null,
"see": null,
"edit": null,
"export": null,
"import": null,
"destroy": null
},
"serial": {
"see": null,
"export": null
},
"update": {
"online": null
},
"account": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"invoice": {
"add": null,
"see": null,
"export": null,
"destroy": null
},
"summary": {
"see": null
},
"category": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"classify": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"customer": {
"add": null,
"see": null,
"edit": null,
"export": null,
"import": null,
"destroy": null
},
"explorer": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"logistic": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"supplier": {
"add": null,
"see": null,
"edit": null,
"export": null,
"import": null,
"destroy": null
},
"transfer": {
"add": null,
"see": null,
"edit": null,
"price": null,
"export": null,
"import": null,
"destroy": null,
"examine": null,
"reverse": null
},
"warehouse": {
"add": null,
"see": null,
"edit": null,
"destroy": null
},
"notification": {
"add": null,
"see": null,
"edit": null,
"destroy": null
}
},
"auth": {
"file": [0],
"user": [0],
"frame": [0],
"person": [0],
"account": [0],
"customer": [0],
"supplier": [0],
"warehouse": [0]
}
},
"field": [
{
"id": 0,
"module": "string",
"config": {
"a": {},
"b": {},
"c": {},
"d": {},
"e": {}
},
"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
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» sys | object | true | none | none | |
»»» base | object | true | none | none | |
»»»» icp | string | true | none | none | |
»»»» mps | string | true | none | none | |
»»»» time | string | true | none | none | |
»»»» title | string | true | none | none | |
»»»» notice | string | true | none | none | |
»»»» slogan | string | true | none | none | |
»»»» company | string | true | none | none | |
»»» fun | object | true | none | none | |
»»»» api | boolean | true | none | none | |
»»»» bhw | integer | true | none | none | |
»»»» dtc | boolean | true | none | none | |
»»»» etx | boolean | true | none | none | |
»»»» itx | boolean | true | none | none | |
»»»» pmd | string | true | none | none | |
»»»» rmw | integer | true | none | none | |
»»»» tax | integer | true | none | none | |
»»»» cell | boolean | true | none | none | |
»»»» cmpt | boolean | true | none | none | |
»»»» data | boolean | true | none | none | |
»»»» time | integer | true | none | none | |
»»»» digit | integer | true | none | none | |
»»»» range | boolean | true | none | none | |
»»»» voice | boolean | true | none | none | |
»»»» backup | boolean | true | none | none | |
»»»» retain | integer | true | none | none | |
»»»» timely | boolean | true | none | none | |
»»»» examine | boolean | true | none | none | |
»»»» watermark | boolean | true | none | none | |
»»»» notification | boolean | true | none | none | |
»»» report | object | true | none | none | |
»»»» app | string | true | none | none | |
»»»» type | string | true | none | none | |
»»»» cloud | object | true | none | none | |
»»»»» add | string | true | none | none | |
»»»»» port | string | true | none | none | |
»»»»» scene | string | true | none | none | |
»»»» local | object | true | none | none | |
»»»»» add | string | true | none | none | |
»»»»» port | string | true | none | none | |
»»»»» scene | string | true | none | none | |
»» user | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» frame | integer | true | none | none | |
»»» role | integer | true | none | none | |
»»» user | string | true | none | none | |
»»» avatar | string | true | none | none | |
»»» person | string | true | none | none | |
»»» account | string | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» frame_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» account_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»» message | [string] | true | none | none | |
»» menu | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» pid | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» key | string | true | none | none | |
»»» ico | string | true | none | none | |
»»» path | string | true | none | none | |
»»» component | string | true | none | none | |
»»» query | string | true | none | none | |
»»» type | integer | true | none | none | |
»»» mold | integer | true | none | none | |
»»» sort | integer | true | none | none | |
»»» auth | string | true | none | none | |
»»» data | string | true | none | none | |
»»» sub | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» key | string | true | none | none | |
»»»» ico | string | true | none | none | |
»»»» path | string | true | none | none | |
»»»» component | string | true | none | none | |
»»»» query | string | true | none | none | |
»»»» type | integer | true | none | none | |
»»»» mold | integer | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» auth | string | true | none | none | |
»»»» data | string | true | none | none | |
»»»» sub | [object] | true | none | none | |
»»»»» id | integer | true | none | none | |
»»»»» pid | integer | true | none | none | |
»»»»» name | string | true | none | none | |
»»»»» key | string | true | none | none | |
»»»»» ico | string | true | none | none | |
»»»»» path | string | true | none | none | |
»»»»» component | string | true | none | none | |
»»»»» query | string | true | none | none | |
»»»»» type | integer | true | none | none | |
»»»»» mold | integer | true | none | none | |
»»»»» sort | integer | true | none | none | |
»»»»» auth | string | true | none | none | |
»»»»» data | string | true | none | none | |
»»»»» sub | [object] | true | none | none | |
»»»»»» id | integer | true | none | none | |
»»»»»» pid | integer | true | none | none | |
»»»»»» name | string | true | none | none | |
»»»»»» key | string | true | none | none | |
»»»»»» ico | string | true | none | none | |
»»»»»» path | string | true | none | none | |
»»»»»» component | string | true | none | none | |
»»»»»» query | string | true | none | none | |
»»»»»» type | integer | true | none | none | |
»»»»»» mold | integer | true | none | none | |
»»»»»» sort | integer | true | none | none | |
»»»»»» auth | string | true | none | none | |
»»»»»» data | string | true | none | none | |
»»»»»» sub | [string] | true | none | none | |
»» frame | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» pid | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» sort | integer | false | none | none | |
»»» data | string | false | none | none | |
»»» sub | [string] | false | none | none | |
»» category | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» pid | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» sort | integer | false | none | none | |
»»» data | string | false | none | none | |
»»» sub | [string] | false | none | none | |
»» assort | [string] | true | none | none | |
»» classify | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» pid | integer | false | none | none | |
»»» name | string | false | none | none | |
»»» sort | integer | false | none | none | |
»»» data | string | false | none | none | |
»»» sub | [string] | false | none | none | |
»» account | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»» inc | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none | |
»» exp | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none | |
»» warehouse | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»» role | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» fun | object | true | none | none | |
»»»» adj | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» bbt | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» blt | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» bom | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» bor | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» open | boolean | true | none | none | |
»»»»» close | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» bot | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» bre | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» rck | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» check | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» bsy | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» bta | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» btb | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» buy | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» rck | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» check | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» cbf | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» cct | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» cds | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» cit | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» cos | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» cps | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» cpt | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» crn | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» crs | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» cst | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» exp | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» git | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» ice | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» imy | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» inc | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» log | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» oce | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» omy | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» sbt | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» sit | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» slt | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» sor | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» open | boolean | true | none | none | |
»»»»» close | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» sot | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» sre | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» rck | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» check | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» srn | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» ssy | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» sta | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» stb | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» sys | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»» wbs | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» wds | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» wss | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» attr | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» bill | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» cell | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» code | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» cost | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» home | object | true | none | none | |
»»»»» form | boolean | true | none | none | |
»»»»» fund | boolean | true | none | none | |
»»»»» total | boolean | true | none | none | |
»»»»» assets | boolean | true | none | none | |
»»»»» summary | boolean | true | none | none | |
»»»» make | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» menu | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» role | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» sell | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» rck | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» check | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» spec | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» spta | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» sptb | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» tool | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»» unit | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» user | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» alloc | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» allot | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» batch | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» brand | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» check | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»» entry | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» extry | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» field | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» frame | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» goods | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» buy | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» sell | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» grade | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» stock | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» assort | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» backup | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» backup | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» recover | boolean | true | none | none | |
»»»» divide | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» number | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» period | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» back | boolean | true | none | none | |
»»»»» save | boolean | true | none | none | |
»»»» person | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» report | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» serial | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»» update | object | true | none | none | |
»»»»» online | boolean | true | none | none | |
»»»» account | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» invoice | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» summary | object | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»» category | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» classify | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» customer | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» explorer | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» logistic | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» supplier | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» transfer | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» price | boolean | true | none | none | |
»»»»» export | boolean | true | none | none | |
»»»»» import | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»»» examine | boolean | true | none | none | |
»»»»» reverse | boolean | true | none | none | |
»»»» warehouse | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»»» notification | object | true | none | none | |
»»»»» add | boolean | true | none | none | |
»»»»» see | boolean | true | none | none | |
»»»»» edit | boolean | true | none | none | |
»»»»» destroy | boolean | true | none | none | |
»»» auth | object | true | none | none | |
»»»» file | [integer] | true | none | none | |
»»»» user | [integer] | true | none | none | |
»»»» frame | [integer] | true | none | none | |
»»»» person | [integer] | true | none | none | |
»»»» account | [integer] | true | none | none | |
»»»» customer | [integer] | true | none | none | |
»»»» supplier | [integer] | true | none | none | |
»»»» warehouse | [integer] | true | none | none | |
»» field | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» module | string | false | none | none | |
»»» config | object | false | none | none | |
»»»» a | object | true | none | none | |
»»»»» alias | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»» b | object | true | none | none | |
»»»»» alias | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»» c | object | true | none | none | |
»»»»» alias | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»» d | object | true | none | none | |
»»»»» alias | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»»» e | object | true | none | none | |
»»»»» alias | string | true | none | none | |
»»»»» state | boolean | true | none | none | |
»»» data | string | false | none | none | |
»» about | object | true | none | none | |
»»» soft | object | true | none | none | |
»»»» product | string | true | none | none | |
»»»» edition | string | true | none | none | |
»»»» version | string | true | none | none | |
»»»» number | string | true | none | none | |
»»»» key | string | true | none | none | |
»»» system | object | true | none | none | |
»»»» os | string | true | none | none | |
»»»» protocol | string | true | none | none | |
»»»» software | string | true | none | none | |
»»»» php | string | true | none | none | |
»»»» database | string | true | none | none | |
»»»» dbSize | string | true | none | none | |
»»»» storageSize | string | true | none | none | |
»»»» laravel | string | true | none | none | |
»» saas | boolean | true | none | none |
POST 已读消息
POST /api/service/messageClear
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST 解锁屏幕
POST /api/service/unlock
Body 请求参数
{
"pwd": "admin888"
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
body | body | object | 否 | none |
» pwd | body | string | 是 | 登录密码 |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
GET 客户|数据接口
GET /api/service/userElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | query | string | 是 | 参数 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"name": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none |
GET 供应商|数据接口
GET /api/service/supplierElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
query | query | string | 否 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
{
"state": "success",
"info": {
"total": 1,
"data": [
{
"id": 2,
"name": "点可云"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none |
GET 价格等级|数据接口
GET /api/service/gradeElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
query | query | string | 否 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
GET 计量单位|数据接口
GET /api/service/unitElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
query | query | string | 否 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"name": "string"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none |
GET 多计量单位|数据接口
GET /api/service/cellElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
query | query | string | 否 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"name": "string"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none |
GET 商品品牌|数据接口
GET /api/service/brandElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
query | query | string | 否 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"name": "string"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none |
GET 仓库|数据接口
GET /api/service/warehouseElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
query | query | string | 否 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"name": "string"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none |
GET 人员|数据接口
GET /api/service/personElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
query | query | string | 否 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"name": "string"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none |
GET 多规格型号|数据接口
GET /api/service/specElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
query | query | string | 否 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
GET 资金账户|数据接口
GET /api/service/accountElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
query | query | string | 否 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"name": "string"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none |
GET BOM|数据接口
GET /api/service/bomElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
query | query | string | 否 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
GET 支出类别|数据接口
GET /api/service/expElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
query | query | string | 否 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"name": "string"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none |
GET 收入类别|数据接口
GET /api/service/incElect
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
query | query | string | 否 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"name": "string"
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | false | none | none | |
»»» name | string | false | none | none |
GET 商品列表
GET /api/service/goodsList
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
name[] | query | array[string] | 否 | 商品名称 |
number[] | query | array[string] | 否 | 商品编号 |
mdl[] | query | array[string] | 否 | 规格型号 |
code[] | query | array[string] | 否 | 商品条码 |
data[] | query | array[string] | 否 | 备注信息 |
category[] | query | array[string] | 否 | 商品类别 |
brand[] | query | array[string] | 否 | 商品品牌 |
supplier[] | query | array[string] | 否 | 供应商 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"str": {
"st": "string",
"ut": "string",
"alloc": "string",
"level": "string",
"seq": "string",
"batch": "string",
"pov": "string",
"state": "string"
},
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": null,
"cell": null,
"name": null,
"nums": null
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": null,
"goods": null,
"spec": null,
"cell": null,
"buy": null,
"sell": null,
"code": null
}
],
"level_data": ["string"]
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» str | object | true | none | none | |
»»»» st | string | true | none | none | |
»»»» ut | string | true | none | none | |
»»»» alloc | string | true | none | none | |
»»»» level | string | true | none | none | |
»»»» seq | string | true | none | none | |
»»»» batch | string | true | none | none | |
»»»» pov | string | true | none | none | |
»»»» state | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | false | none | none | |
»»»» state | boolean | false | none | none | |
»»»» data | string | false | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»»» level_data | [string] | true | none | none |
GET 商品查找
GET /api/service/goodsFind
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
value | query | string | 是 | 综合搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": [
{
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"str": {
"st": "string",
"ut": "string",
"alloc": "string",
"level": "string",
"seq": "string",
"batch": "string",
"pov": "string",
"state": "string"
},
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"buy": 0,
"sell": 0,
"code": "string"
}
],
"level_data": ["string"]
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | [object] | true | none | none | |
»» id | integer | false | none | none | |
»» name | string | false | none | none | |
»» py | string | false | none | none | |
»» number | string | false | none | none | |
»» category | integer | false | none | none | |
»» brand | string | false | none | none | |
»» st | boolean | false | none | none | |
»» mdl | string | false | none | none | |
»» spec | string | false | none | none | |
»» ut | boolean | false | none | none | |
»» unit | string | false | none | none | |
»» cell | integer | false | none | none | |
»» code | string | false | none | none | |
»» buy | integer | false | none | none | |
»» sell | integer | false | none | none | |
»» tax | integer | false | none | none | |
»» warehouse | string | false | none | none | |
»» alloc | boolean | false | none | none | |
»» esp | string | false | none | none | |
»» level | boolean | false | none | none | |
»» seq | boolean | false | none | none | |
»» batch | boolean | false | none | none | |
»» pov | boolean | false | none | none | |
»» qgp | integer | false | none | none | |
»» ady | integer | false | none | none | |
»» img | string | false | none | none | |
»» file | [string] | false | none | none | |
»» detail | string | false | none | none | |
»» field | object | false | none | none | |
»»» a | string | true | none | none | |
»»» b | string | true | none | none | |
»»» c | string | true | none | none | |
»»» d | string | true | none | none | |
»»» e | string | true | none | none | |
»» state | boolean | false | none | none | |
»» data | string | false | none | none | |
»» str | object | false | none | none | |
»»» st | string | true | none | none | |
»»» ut | string | true | none | none | |
»»» alloc | string | true | none | none | |
»»» level | string | true | none | none | |
»»» seq | string | true | none | none | |
»»» batch | string | true | none | none | |
»»» pov | string | true | none | none | |
»»» state | string | true | none | none | |
»» category_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» pid | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» sort | integer | true | none | none | |
»»» data | string | true | none | none | |
»» brand_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» spec_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» spec_list | [string] | false | none | none | |
»» unit_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» cell_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»» cell_list | [object] | false | none | none | |
»»» id | integer | true | none | none | |
»»» cell | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | integer | true | none | none | |
»» warehouse_data | object | false | none | none | |
»»» id | integer | true | none | none | |
»» price_data | [object] | false | none | none | |
»»» id | integer | false | none | none | |
»»» goods | integer | false | none | none | |
»»» spec | string | false | none | none | |
»»» cell | integer | false | none | none | |
»»» buy | integer | false | none | none | |
»»» sell | integer | false | none | none | |
»»» code | string | false | none | none | |
»» level_data | [string] | false | none | none |
GET 商品扫码
GET /api/service/goodsScan
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
value | query | string | 是 | 条码搜索 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"goods": {
"id": 0,
"name": "string",
"py": "string",
"number": "string",
"category": 0,
"brand": "string",
"st": true,
"mdl": "string",
"spec": "string",
"ut": true,
"unit": "string",
"cell": 0,
"code": "string",
"buy": 0,
"sell": 0,
"tax": 0,
"warehouse": "string",
"alloc": true,
"esp": "string",
"level": true,
"seq": true,
"batch": true,
"pov": true,
"qgp": 0,
"ady": 0,
"img": "string",
"file": ["string"],
"detail": "string",
"field": {
"a": "string",
"b": "string",
"c": "string",
"d": "string",
"e": "string"
},
"state": true,
"data": "string",
"str": {
"st": "string",
"ut": "string",
"alloc": "string",
"level": "string",
"seq": "string",
"batch": "string",
"pov": "string",
"state": "string"
},
"category_data": {
"id": 0,
"pid": 0,
"name": "string",
"sort": 0,
"data": "string"
},
"brand_data": {
"id": 0
},
"spec_data": {
"id": 0
},
"spec_list": ["string"],
"unit_data": {
"id": 0
},
"cell_data": {
"id": 0,
"name": "string",
"state": true,
"data": "string"
},
"cell_list": [
{
"id": 0,
"cell": 0,
"name": "string",
"nums": 0
}
],
"warehouse_data": {
"id": 0
},
"price_data": [
{
"id": 0,
"goods": 0,
"spec": "string",
"cell": 0,
"buy": 0,
"sell": 0,
"code": "string"
}
],
"level_data": ["string"]
},
"price": {}
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» goods | object | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» py | string | true | none | none | |
»»» number | string | true | none | none | |
»»» category | integer | true | none | none | |
»»» brand | string | true | none | none | |
»»» st | boolean | true | none | none | |
»»» mdl | string | true | none | none | |
»»» spec | string | true | none | none | |
»»» ut | boolean | true | none | none | |
»»» unit | string | true | none | none | |
»»» cell | integer | true | none | none | |
»»» code | string | true | none | none | |
»»» buy | integer | true | none | none | |
»»» sell | integer | true | none | none | |
»»» tax | integer | true | none | none | |
»»» warehouse | string | true | none | none | |
»»» alloc | boolean | true | none | none | |
»»» esp | string | true | none | none | |
»»» level | boolean | true | none | none | |
»»» seq | boolean | true | none | none | |
»»» batch | boolean | true | none | none | |
»»» pov | boolean | true | none | none | |
»»» qgp | integer | true | none | none | |
»»» ady | integer | true | none | none | |
»»» img | string | true | none | none | |
»»» file | [string] | true | none | none | |
»»» detail | string | true | none | none | |
»»» field | object | true | none | none | |
»»»» a | string | true | none | none | |
»»»» b | string | true | none | none | |
»»»» c | string | true | none | none | |
»»»» d | string | true | none | none | |
»»»» e | string | true | none | none | |
»»» state | boolean | true | none | none | |
»»» data | string | true | none | none | |
»»» str | object | true | none | none | |
»»»» st | string | true | none | none | |
»»»» ut | string | true | none | none | |
»»»» alloc | string | true | none | none | |
»»»» level | string | true | none | none | |
»»»» seq | string | true | none | none | |
»»»» batch | string | true | none | none | |
»»»» pov | string | true | none | none | |
»»»» state | string | true | none | none | |
»»» category_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» pid | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» sort | integer | true | none | none | |
»»»» data | string | true | none | none | |
»»» brand_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» spec_list | [string] | true | none | none | |
»»» unit_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» cell_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» state | boolean | true | none | none | |
»»»» data | string | true | none | none | |
»»» cell_list | [object] | true | none | none | |
»»»» id | integer | true | none | none | |
»»»» cell | integer | true | none | none | |
»»»» name | string | true | none | none | |
»»»» nums | integer | true | none | none | |
»»» warehouse_data | object | true | none | none | |
»»»» id | integer | true | none | none | |
»»» price_data | [object] | true | none | none | |
»»»» id | integer | false | none | none | |
»»»» goods | integer | false | none | none | |
»»»» spec | string | false | none | none | |
»»»» cell | integer | false | none | none | |
»»»» buy | integer | false | none | none | |
»»»» sell | integer | false | none | none | |
»»»» code | string | false | none | none | |
»»» level_data | [string] | true | none | none | |
»» price | object | true | none | none |
GET 库存信息
GET /api/service/stockList
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
goods | query | string | 是 | 商品 ID |
spec | query | string | 否 | 规格型号 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": [
{
"id": 0,
"name": "string",
"nums": "string",
"sort": 0
}
]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [object] | true | none | none | |
»»» id | integer | true | none | none | |
»»» name | string | true | none | none | |
»»» nums | string | true | none | none | |
»»» sort | number | true | none | none |
GET 批次信息
GET /api/service/batchList
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
goods | query | string | 是 | 商品 ID |
spec | query | string | 否 | 规格型号 |
warehouse | query | string | 是 | 仓库 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
GET 关联单据
GET /api/service/relationList
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
type | query | string | 是 | 单据类型 |
id | query | string | 是 | 单据 ID |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"list": [
{
"type": "string",
"name": "string",
"id": 0,
"time": "string",
"number": "string",
"sort": 0
}
]
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» list | [object] | true | none | none | |
»» type | string | false | none | none | |
»» name | string | false | none | none | |
»» id | integer | false | none | none | |
»» time | string | false | none | none | |
»» number | string | false | none | none | |
»» sort | integer | false | none | none |
GET 物流匹配
GET /api/service/logisticFind
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
key | query | string | 是 | 物料标识 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"id": 0,
"name": "string",
"key": "string",
"state": 0,
"data": "string"
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» id | integer | true | none | none | |
»» name | string | true | none | none | |
»» key | string | true | none | none | |
»» state | integer | true | none | none | |
»» data | string | true | none | none |
GET 结算单据
GET /api/service/bill
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
page | query | string | 是 | 当前页数 |
size | query | string | 是 | 数据条数 |
number[] | query | array[string] | 否 | 单据编号 |
data[] | query | array[string] | 否 | 备注信息 |
time[] | query | array[string] | 否 | 起始时间-结束时间 |
frame[] | query | array[string] | 否 | 组织架构 |
user[] | query | array[string] | 否 | 制单用户 |
person[] | query | array[string] | 否 | 关联人员 |
nucleus | query | string | 否 | 结算状态 |
mold | query | string | 否 | 结算类型 |
type | query | string | 否 | 单据类型 |
customer | query | string | 否 | 客户 |
supplier | query | string | 否 | 供应商 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"total": 0,
"data": ["string"]
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» total | integer | true | none | none | |
»» data | [string] | true | none | none |
GET 单据价格
GET /api/service/price
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
type | query | string | 是 | 单据类型 |
com | query | string | 是 | 往来单位 |
tax | query | string | 是 | 是否含税 |
goods | query | string | 是 | 商品 ID |
spec | query | string | 否 | 规格型号 |
cell | query | string | 否 | 计量单位 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": {
"default": 0,
"bill": 0,
"com": 0
}
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | object | true | none | none | |
»» default | integer | true | none | none | |
»» bill | integer | true | none | none | |
»» com | integer | true | none | none |
GET 模块编号
GET /api/service/number
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
module | query | string | 是 | 单据类型 |
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
POST 数据备份
POST /api/service/backup
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |
POST 清理缓存
POST /api/service/clearStorage
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string",
"info": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none | |
» info | string | true | none | none |
POST 退出登录
POST /api/service/out
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
Authorization | header | string | 是 | API 密钥 |
返回示例
200 Response
{
"state": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» state | string | true | none | none |