- 开放平台对接说明
- 登录
- 路由管理
- 客户端管理
- 字典管理
- 菜单管理
- 省市区管理
- 客户管理
- 角色管理
- 系统版本管理
- 用户管理
- 常用功能管理
- 会员管理
- 基础管理
- 机构管理
- 餐次管理
- 机构餐次管理
- 支付方式
- 支付宝直连管理
- 聚合支付通道
- 支付宝小程序
- 微信小程序
- 微信直连
- 产品单位
- 产品分类
- 做法类别
- 做法档案
- 产品关联做法
- 菜谱管理
- 产品管理
- 餐盘管理
- 机构大厅
- 桌台档案
- 开台必点
- 厨房打印机定义
- 厨单管理
- 数据同步
- 机构设备
- 系统设置
- 导入导出日志
- 支付宝ISV第三方
- 微信服务商表
- 订单管理
- 文件管理
- 支付服务
- 手机验证码管理
- 服务商管理
- POS服务
- 业务日志管理
- 消息通知管 理
- 特殊餐管理
- 费控管理
- 餐券管理
- 人脸特征值
- AI需求相关接口
列表查询
开发中
GET
/base/bsProduct/page
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
current
string
可选
示例值:
1
size
string
可选
示例值:
10
name
string
名称
code
string
编码
branchId
string
机构ID
示例值:
0
productCategoryId
string
产品类别
示例值:
0
productType
string
可选
示例值:
99
allowPackage
string
可选
示例值:
99
enable
string
可选
示例值:
99
orderByColumn
string
按照字段排序
示例值:
createTime,name,code,branchId,productCategoryId,productType,enable
orderByAsc
string
字段排序方式
示例值:
desc,asc,asc,asc,asc,asc,asc
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/bsProduct/page?current=1&size=10&name&code&branchId=0&productCategoryId=0&productType=99&allowPackage=99&enable=99&orderByColumn=createTime,name,code,branchId,productCategoryId,productType,enable&orderByAsc=desc,asc,asc,asc,asc,asc,asc' \
--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
object
必需
records
array [object {47}]
必需
total
integer
必需
size
integer
必需
current
integer
必需
pages
integer
必需
ok
boolean
必需
示例
{
"code": 0,
"msg": null,
"data": {
"records": [
{
"productId": "1826105089432281089",
"code": "202408211800",
"name": "青椒炒肉",
"branchId": "1823902540268584961",
"branchName": "小笼包店",
"englishName": "qjcr",
"barcode": "965211010",
"multigraph": null,
"productCategoryId": "1825465968061874177",
"productCategoryCode": "001",
"productCategoryName": "荤菜",
"mnemonicCode": null,
"unitArchivesName": "份",
"productType": 1,
"price": 16.00,
"packingFee": 0.00,
"memberPrice1": 16.00,
"memberPrice2": 16.00,
"memberPrice3": 16.00,
"privateRoomPrice1": 16.00,
"privateRoomPrice2": 16.00,
"privateRoomPrice3": 16.00,
"privateRoomPrice4": 16.00,
"discountsType": 1,
"minimumDiscountRate": 0.00,
"costPrice": 9.00,
"allowPackage": 0,
"packagePriceType": 1,
"numberStarting": 1,
"allowTemporaryDish": 1,
"allowEmenuDownload": 1,
"allowPrintLabel": 1,
"allowPriceChange": 1,
"allowParticipationPoints": 1,
"allowTakeOut": 1,
"allowWeigh": 1,
"allowRealInputQuantity": 1,
"allowRealEntryAttendant": 1,
"detailed": "non nostrud dolor velit",
"enable": 1,
"remarks": "in do consequat",
"createUserId": "1",
"createName": "管理员",
"createTime": "2024-08-21 11:52:35",
"updateUserId": null,
"updateName": null,
"updateTime": null
},
{
"productId": "1826131651930116097",
"code": "202408211220",
"name": "红烧肉",
"branchId": "1823902540268584961",
"branchName": "小笼包店",
"englishName": "hsr",
"barcode": "965211320",
"multigraph": null,
"productCategoryId": "1825465968061874177",
"productCategoryCode": "001",
"productCategoryName": "荤菜",
"mnemonicCode": null,
"unitArchivesName": "份",
"productType": 1,
"price": 30.00,
"packingFee": 0.00,
"memberPrice1": 30.00,
"memberPrice2": 30.00,
"memberPrice3": 30.00,
"privateRoomPrice1": 30.00,
"privateRoomPrice2": 30.00,
"privateRoomPrice3": 30.00,
"privateRoomPrice4": 30.00,
"discountsType": 1,
"minimumDiscountRate": 0.00,
"costPrice": 12.00,
"allowPackage": 0,
"packagePriceType": 1,
"numberStarting": 1,
"allowTemporaryDish": 1,
"allowEmenuDownload": 1,
"allowPrintLabel": 1,
"allowPriceChange": 1,
"allowParticipationPoints": 1,
"allowTakeOut": 1,
"allowWeigh": 1,
"allowRealInputQuantity": 1,
"allowRealEntryAttendant": 1,
"detailed": "non nostrud dolor velit",
"enable": 1,
"remarks": "in do consequat",
"createUserId": "1",
"createName": "管理员",
"createTime": "2024-08-21 13:38:08",
"updateUserId": null,
"updateName": null,
"updateTime": null
},
{
"productId": "1826132047373291521",
"code": "202406111220",
"name": "回锅肉",
"branchId": "1823902540268584961",
"branchName": "小笼包店",
"englishName": "hgr",
"barcode": "965221370",
"multigraph": null,
"productCategoryId": "1825465968061874177",
"productCategoryCode": "001",
"productCategoryName": "荤菜",
"mnemonicCode": null,
"unitArchivesName": "份",
"productType": 1,
"price": 26.00,
"packingFee": 0.00,
"memberPrice1": 26.00,
"memberPrice2": 26.00,
"memberPrice3": 26.00,
"privateRoomPrice1": 26.00,
"privateRoomPrice2": 26.00,
"privateRoomPrice3": 26.00,
"privateRoomPrice4": 26.00,
"discountsType": 1,
"minimumDiscountRate": 0.00,
"costPrice": 12.00,
"allowPackage": 0,
"packagePriceType": 1,
"numberStarting": 1,
"allowTemporaryDish": 1,
"allowEmenuDownload": 1,
"allowPrintLabel": 1,
"allowPriceChange": 1,
"allowParticipationPoints": 1,
"allowTakeOut": 1,
"allowWeigh": 1,
"allowRealInputQuantity": 1,
"allowRealEntryAttendant": 1,
"detailed": "non nostrud dolor velit",
"enable": 1,
"remarks": "in do consequat",
"createUserId": "1",
"createName": "管理员",
"createTime": "2024-08-21 13:39:43",
"updateUserId": null,
"updateName": null,
"updateTime": null
},
{
"productId": "1826132440845144065",
"code": "202406331220",
"name": "青椒炒蛋",
"branchId": "1823902540268584961",
"branchName": "小笼包店",
"englishName": "hgr",
"barcode": "965226670",
"multigraph": null,
"productCategoryId": "1825465968061874177",
"productCategoryCode": "001",
"productCategoryName": "荤菜",
"mnemonicCode": null,
"unitArchivesName": "份",
"productType": 1,
"price": 13.00,
"packingFee": 0.00,
"memberPrice1": 13.00,
"memberPrice2": 13.00,
"memberPrice3": 13.00,
"privateRoomPrice1": 13.00,
"privateRoomPrice2": 13.00,
"privateRoomPrice3": 13.00,
"privateRoomPrice4": 13.00,
"discountsType": 1,
"minimumDiscountRate": 0.00,
"costPrice": 6.00,
"allowPackage": 0,
"packagePriceType": 1,
"numberStarting": 1,
"allowTemporaryDish": 1,
"allowEmenuDownload": 1,
"allowPrintLabel": 1,
"allowPriceChange": 1,
"allowParticipationPoints": 1,
"allowTakeOut": 1,
"allowWeigh": 1,
"allowRealInputQuantity": 1,
"allowRealEntryAttendant": 1,
"detailed": "non nostrud dolor velit",
"enable": 1,
"remarks": "in do consequat",
"createUserId": "1",
"createName": "管理员",
"createTime": "2024-08-21 13:41:16",
"updateUserId": null,
"updateName": null,
"updateTime": null
},
{
"productId": "1826136630879322114",
"code": "202406331666",
"name": "荤菜套餐1",
"branchId": "1823902540268585000",
"branchName": null,
"englishName": "hctc",
"barcode": "965226666",
"multigraph": "",
"productCategoryId": "1825465968061874200",
"productCategoryCode": "001",
"productCategoryName": null,
"mnemonicCode": "",
"unitArchivesName": "份",
"productType": 1,
"price": 36.00,
"packingFee": 2.00,
"memberPrice1": 36.00,
"memberPrice2": 36.00,
"memberPrice3": 36.00,
"privateRoomPrice1": 36.00,
"privateRoomPrice2": 36.00,
"privateRoomPrice3": 36.00,
"privateRoomPrice4": 36.00,
"discountsType": 1,
"minimumDiscountRate": 0.00,
"costPrice": 20.00,
"allowPackage": 1,
"packagePriceType": 1,
"numberStarting": 1,
"allowTemporaryDish": 1,
"allowEmenuDownload": 1,
"allowPrintLabel": 1,
"allowPriceChange": 1,
"allowParticipationPoints": 1,
"allowTakeOut": 1,
"allowWeigh": 1,
"allowRealInputQuantity": 1,
"allowRealEntryAttendant": 1,
"detailed": "non nostrud dolor velit",
"enable": 1,
"remarks": "in do consequat",
"createUserId": "1",
"createName": "管理员",
"createTime": "2024-08-21 13:57:55",
"updateUserId": "1",
"updateName": "管理员",
"updateTime": "2024-08-21 14:12:46"
}
],
"total": 5,
"size": 10,
"current": 1,
"pages": 1
},
"ok": true
}