- 开放平台对接说明
- 登录
- 路由管理
- 客户端管理
- 字典管理
- 菜单管理
- 省市区管理
- 客户管理
- 角色管理
- 系统版本管理
- 用户管理
- 常用功能管理
- 会员管理
- 基础管理
- 机构管理
- 餐次管理
- 机构餐次管理
- 支付方式
- 支付宝直连管理
- 聚合支付通道
- 支付宝小程序
- 微信小程序
- 微信直连
- 产品单位
- 产品分类
- 做法类别
- 做法档案
- 产品关联做法
- 菜谱管理
- 产品管理
- 餐盘管理
- 机构大厅
- 桌台档案
- 开台必点
- 厨房打印机定义
- 厨单管理
- 数据同步
- 机构设备
- 系统设置
- 导入导出日志
- 支付宝ISV第三方
- 微信服务商表
- 订单管理
- 文件管理
- 支付服务
- 手机验证码管理
- 服务商管理
- POS服务
- 业务日志管理
- 消息通知管理
- 特殊餐管理
- 费控管理
- 餐券管理
- 人脸特征值
- AI需求相关接口
获得大类(字典)
开发中
GET
/base/bsProductCategory/getBigList
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Header 参数
Authorization
string
可选
示例值:
1938227f-d47b-47d6-bfce-38729900cfba
TENANT-ID
string
可选
示例值:
1
Body 参数application/json
object {0}
示例
{}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://devapi.maicanbao.com/base/bsProductCategory/getBigList' \
--header 'Authorization: 1938227f-d47b-47d6-bfce-38729900cfba' \
--header 'TENANT-ID: 1' \
--header 'Content-Type: application/json' \
--data-raw '{}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
null
必需
data
array [object {21}]
必需
productCategoryId
string
主键
name
string
名称
code
string
编码
parentId
string
必需
parentCode
null
必需
parentName
null
必需
sort
integer
必需
imageUrl
string
必需
allowServiceCharge
integer
必需
allowMinConsumption
integer
必需
allowIscount
integer
必需
allowPrintingList
integer
必需
allowPrintTableList
integer
必需
remarks
string
必需
createUserId
string
必需
createName
string
必需
createTime
string
必需
updateUserId
null
必需
updateName
null
必需
updateTime
null
必需
tenantId
string
必需
ok
boolean
必需
示例
{
"code": 0,
"msg": null,
"data": [
{
"productCategoryId": "1825465968061874177",
"name": "荤菜",
"code": "001",
"parentId": "0",
"parentCode": null,
"parentName": null,
"sort": 1,
"imageUrl": "http://dummyimage.com/400x400",
"allowServiceCharge": 1,
"allowMinConsumption": 1,
"allowIscount": 1,
"allowPrintingList": 1,
"allowPrintTableList": 1,
"remarks": "测试",
"createUserId": "1",
"createName": "管理员",
"createTime": "2024-08-19 17:32:57",
"updateUserId": null,
"updateName": null,
"updateTime": null,
"tenantId": "1"
},
{
"productCategoryId": "1825466264116822018",
"name": "素菜",
"code": "002",
"parentId": "0",
"parentCode": null,
"parentName": null,
"sort": 1,
"imageUrl": "http://dummyimage.com/400x400",
"allowServiceCharge": 1,
"allowMinConsumption": 1,
"allowIscount": 1,
"allowPrintingList": 1,
"allowPrintTableList": 1,
"remarks": "测试",
"createUserId": "1",
"createName": "管理员",
"createTime": "2024-08-19 17:34:08",
"updateUserId": null,
"updateName": null,
"updateTime": null,
"tenantId": "1"
},
{
"productCategoryId": "1825466326607757313",
"name": "汤类",
"code": "003",
"parentId": "0",
"parentCode": null,
"parentName": null,
"sort": 1,
"imageUrl": "http://dummyimage.com/400x400",
"allowServiceCharge": 1,
"allowMinConsumption": 1,
"allowIscount": 1,
"allowPrintingList": 1,
"allowPrintTableList": 1,
"remarks": "测试",
"createUserId": "1",
"createName": "管理员",
"createTime": "2024-08-19 17:34:22",
"updateUserId": null,
"updateName": null,
"updateTime": null,
"tenantId": "1"
},
{
"productCategoryId": "1825466349806452738",
"name": "海鲜",
"code": "004",
"parentId": "0",
"parentCode": null,
"parentName": null,
"sort": 1,
"imageUrl": "http://dummyimage.com/400x400",
"allowServiceCharge": 1,
"allowMinConsumption": 1,
"allowIscount": 1,
"allowPrintingList": 1,
"allowPrintTableList": 1,
"remarks": "测试",
"createUserId": "1",
"createName": "管理员",
"createTime": "2024-08-19 17:34:28",
"updateUserId": null,
"updateName": null,
"updateTime": null,
"tenantId": "1"
}
],
"ok": true
}