文档
测试

获取折扣列表

POST
/api/restaurant_machine/discount/list

请求头

参数名
类型
描述
必填
token
string
token
必填

请求参数

参数名
类型
描述
必填
shopId
long
门店ID
必填

响应参数

参数名
类型
描述
必填
id
long
id
必填
shopId
long
门店ID
必填
discount
string
折扣
必填
discountFactor
double
折扣系数
必填

说明 / 示例

{ "total": 1, "code": 0, "data": [ { "id": 1, "shopId": 1, "discount": "九折", "discountFactor": 1 } ], "message": "success" }