- 开放平台对接说明
- 登录
- 路由管理
- 客户端管理
- 字典管理
- 菜单管理
- 省市区管理
- 客户管理
- 角色管理
- 系统版本管理
- 用户管理
- 常用功能管理
- 会员管理
- 基础管理
- 机构管理
- 餐次管理
- 机构餐次管理
- 支付方式
- 支付宝直连管理
- 聚合支付通道
- 支付宝小程序
- 微信小程序
- 微信直连
- 产品单位
- 产品分类
- 做法类别
- 做法档案
- 产品关联做法
- 菜谱管理
- 产品管理
- 餐盘管理
- 机构大厅
- 桌台档案
- 开台必点
- 厨房打印机定义
- 厨单管理
- 数据同步
- 机构设备
- 系统设置
- 导入导出日志
- 支付宝ISV第三方
- 微信服务商表
- 订单管理
- 文件管理
- 支付服务
- 手机验证码管理
- 服务商管理
- POS服务
- 业务日志管理
- 消息通知管 理
- 特殊餐管理
- 费控管理
- 餐券管理
- 人脸特征值
- AI需求相关接口
获得明细
开发中
GET
/base/bsProduct/{productId}
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
productId
string
必需
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/' \
--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
必需
productId
string
主键
code
string
编码
name
string
名称
branchId
string
机构ID
branchName
string
机构名称
englishName
string
英文名称
barcode
string
条码
multigraph
string
产品图片
productCategoryId
number
出品小类ID
productCategoryCode
string
出品小类编码
mnemonicCode
string
助记码
unitArchivesName
string
产品单位
productType
integer
出品类型
price
integer
价格
packingFee
integer
外卖包装费
memberPrice1
integer
会员价格1
memberPrice2
integer
会员价格2
memberPrice3
integer
会员价格3
privateRoomPrice1
integer
包房价格1
privateRoomPrice2
integer
包房价格2
privateRoomPrice3
integer
包房价格3
privateRoomPrice4
integer
包房价格4
discountsType
integer
参与折扣
minimumDiscountRate
integer
折扣最低折率
costPrice
integer
成本价
allowPackage
integer
是否套餐
packagePriceType
integer
套餐价型
numberStarting
integer
起点数量
allowTemporaryDish
integer
是否临时菜
allowEmenuDownload
integer
是否电子菜牌下载
allowPrintLabel
integer
是否打印标签
allowPriceChange
integer
是否允许改价
allowParticipationPoints
integer
是否允许参与积分
allowTakeOut
integer
是否参与外卖
allowWeigh
integer
是否称重
allowRealInputQuantity
integer
是否即时录入数量
allowRealEntryAttendant
integer
是否即时录入服务员
detailed
string
详细
enable
integer
是否启用
remarks
string
备注
createUserId
string
必需
createName
string
必需
createTime
string
必需
updateUserId
string
必需
updateName
string
必需
updateTime
string
必需
packageList
array [object {23}]
必需
specList
array [object {16}]
必需
ok
boolean
必需
示例
{
"code": 0,
"msg": null,
"data": {
"productId": "1826136630879322114",
"code": "202406331666",
"name": "荤菜套餐1",
"branchId": "1823902540268585000",
"branchName": null,
"englishName": "hctc",
"barcode": "965226666",
"multigraph": "",
"productCategoryId": "1825465968061874200",
"productCategoryCode": "001",
"mnemonicCode": "",
"unitArchivesName": "份",
"productType": 1,
"price": 36,
"packingFee": 2,
"memberPrice1": 36,
"memberPrice2": 36,
"memberPrice3": 36,
"privateRoomPrice1": 36,
"privateRoomPrice2": 36,
"privateRoomPrice3": 36,
"privateRoomPrice4": 36,
"discountsType": 1,
"minimumDiscountRate": 0,
"costPrice": 20,
"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",
"packageList": [
{
"productPackageId": "1826140369241559042",
"productId": "1826136630879322114",
"productSpecId": "1826105090438914050",
"productSpecName": "青椒炒肉",
"productSpecUnitArchivesName": "份",
"originPrice": 16,
"price": 16,
"num": 1,
"amount": 16,
"selectIdentity": 1,
"sort": 1,
"allowAlternatives": 0,
"alternativesId": "0",
"parentProductPackageId": null,
"groupTag": null,
"remarks": "套餐菜品2",
"createUserId": null,
"createName": null,
"createTime": "2024-08-21 14:12:47",
"updateUserId": null,
"updateName": null,
"updateTime": null,
"children": [
{
"productPackageId": "1826140369505800194",
"productId": "1826136630879322114",
"productSpecId": "1826132441243602946",
"productSpecName": "青椒炒蛋",
"productSpecUnitArchivesName": "份",
"originPrice": 13,
"price": 13,
"num": 1,
"amount": 13,
"selectIdentity": 1,
"sort": 1,
"allowAlternatives": 1,
"alternativesId": "1826140369241559042",
"parentProductPackageId": null,
"groupTag": null,
"remarks": "套餐菜品2替代品",
"createUserId": null,
"createName": null,
"createTime": "2024-08-21 14:12:47",
"updateUserId": null,
"updateName": null,
"updateTime": null,
"children": []
}
]
}
],
"specList": [
{
"productSpecId": "1826136631978229762",
"productId": "1826136630879322114",
"unitArchivesName": "份",
"price": 36,
"memberPrice1": 36,
"memberPrice2": 36,
"memberPrice3": 36,
"privateRoomPrice1": 36,
"privateRoomPrice2": 36,
"privateRoomPrice3": 36,
"privateRoomPrice4": 36,
"commissionMethod": 1,
"commissionValue": 0,
"costPrice": 20,
"allowDefault": 1,
"remarks": null,
"createUserId": null,
"createName": null,
"createTime": "2024-08-21 13:57:56",
"updateUserId": null,
"updateName": null,
"updateTime": "2024-08-21 14:12:47",
"opType": "edit"
}
]
},
"ok": true
}