文档
测试

商家中心-产品-列表

POST
http://yun-pay.hs499.com/app/localLife/product/list

请求头

参数名
类型
描述
必填
sign
String
验证签名,防止参数篡改,测试可以不填
必填

请求参数

参数名
类型
描述
必填
user_id
String
用户ID
必填
merchant_id
String
商家ID
必填
status
String
产品状态 -1:全部 0:待审核 1: 已上架 2:已驳回 3:已下架
必填
page
int
页数,默认1
必填
limit
int
条数,默认5
必填

响应参数

参数名
类型
描述
必填
code
number
示例:0 成功 -1 失败
必填
errors
object
数据字典
必填
msg
string
示例:操作成功
必填
result
object
数据字典
必填
product_list
list
产品列表
必填
id
string
产品ID
必填
product_img
string
产品封面图
必填
product_name
string
产品名称
必填
platform_price
decimal
平台价
必填
market_price
decimal
市场价
必填
create_time
string
发布时间
必填
status
int
发布状态 0:待审核 1: 已上架 2:已驳回 3:已下架
必填
reject_reason
string
必填
min_score_deduct_percent
decimal
最低积分抵扣比例
必填
max_score_deduct_percent
decimal
最高积分抵扣比例
必填
min_buy_given_profit
decimal
最低返佣比例
必填
max_buy_given_profit
decimal
最高返佣比例
必填

说明 / 示例

{ "code": 1, "errors": {}, "msg": "操作成功", "result": { "min_score_deduct_percent": 5, "max_buy_given_profit": 20, "product_list": [ { "score_deduct_percent": 5, "create_time": "2021-06-05 16:51:40", "platform_price": 99, "detail_explain": "好吃好吃真好吃,实打实的发生的是的发送到发送到发", "reject_reason": "", "show_tag": "", "merchant_id": "35db0467946b4961bdb7929b21b3dcbc", "product_name": "猪屎汉堡", "product_img": "test.png", "given_profit_percent": 6, "update_time": "", "user_id": "009a9b91bc6a415584596a4d24dd5f2f", "banner_img": "test2.png", "buy_know": "买一送一哦,速速来买,不买砍死你", "market_price": 900, "store_name": "汉堡王2", "id": "64b5de184ad74c179ddb5e35cceddc31", "status": 0 } ], "max_score_deduct_percent": 30, "min_buy_given_profit": 3 } }