文档
测试

商家中心-产品-详情

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

请求头

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

请求参数

参数名
类型
描述
必填
user_id
String
用户ID
必填
product_id
String
产品ID
必填

响应参数

参数名
类型
描述
必填
code
number
示例:0 成功 -1 失败
必填
errors
object
数据字典
必填
msg
string
示例:操作成功
必填
result
object
数据字典
必填
product_detail
object
产品详情
必填
store_name
string
店铺名称
必填
product_name
string
产品名称
必填
banner_img
string
产品轮播图
必填
detail_explain
string
产品说明
必填
buy_know
string
购买须知
必填
market_price
decimal
门市价
必填
platform_price
decimal
平台价
必填
score_deduct_amount
decimal
积分抵扣金额
必填

说明 / 示例

{ "code": 1, "errors": {}, "msg": "操作成功", "result": { "product_detail": { "score_deduct_percent": 5, "score_deduct_amount": 4.95, "create_time": "2021-06-05 16:51:40", "platform_price": 99, "detail_explain": "好吃好吃真好吃,实打实的发生的是的发送到发送到发", "reject_reason": "", "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": 1 } } }