文档
测试

商家-详情

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

请求头

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

请求参数

参数名
类型
描述
必填
user_id
String
用户ID
必填
merchant_id
String
商家ID
必填
page
int
页数,默认1
必填
limit
int
条数,默认10
必填

响应参数

参数名
类型
描述
必填
code
number
示例:0 成功 -1 失败
必填
errors
object
数据字典
必填
msg
string
示例:操作成功
必填
result
object
数据字典
必填
merchant_detail
object
商家详情
必填
id
string
商家ID
必填
store_photos
string
店铺图片,多张逗号分割
必填
store_name
string
店铺名称
必填
business_begin_hour
string
营业开始时间 格式HH:mm
必填
business_end_hour
string
营业结束时间 格式HH:mm
必填
store_address
string
店铺所在地区
必填
detail_address
string
店铺详细地址
必填
store_phone
string
店铺电话
必填
lng
decimal
纬度
必填
lat
decimal
经度
必填
store_type_id
string
店铺分类ID
必填
product_list
list
在售产品
必填
id
string
产品ID
必填
product_img
string
产品封面图
必填
product_name
string
产品名称
必填
show_tag
string
展示标签
必填
market_price
decimal
门市价
必填
platform_price
decimal
平台价
必填
return_profit_rule
list<string>
返现规则
必填
store_type_list
list
店铺分类列表
必填
id
string
店铺分类ID
必填
type_name
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, "merchant_detail": { "score_deduct_percent": 5, "business_begin_hour": "09:00", "lng": 113.021108, "create_time": "2021-06-04 15:47:25", "detail_address": "德思勤b6", "store_address": "湖南省长沙市雨花区", "reject_reason": "", "store_type_id": "709c7e73dc704b699ac68c7f0c6c5156", "store_photos": "1622875031068.jpg,1622875101813.jpg", "given_profit_percent": 6, "store_phone": "15122933022", "update_time": "2021-06-04 15:47:25", "user_id": "06a4f5f154ee445d9f7228fa3c8ed974", "is_hot": 1, "business_end_hour": "23:00", "store_name": "汉堡王", "id": "043c7283dd3f4e7482f3298a98346e24", "store_type_name": "西餐", "store_type_kind": 4, "lat": 28.11687216 }, "return_profit_rule": [ "消费满100送一套房和一个老婆" ], "max_buy_given_profit": 20, "product_list": [ { "score_deduct_percent": 5, "create_time": "2021-06-04 16:07:46", "platform_price": 99, "detail_explain": "好吃好吃真好吃,实打实的发生的是的发送到发送到发", "reject_reason": "", "merchant_id": "043c7283dd3f4e7482f3298a98346e24", "show_tag": "可用积分抵扣,最高抵扣30.0%", "product_name": "牛屎汉堡", "product_img": "test.png", "given_profit_percent": 6, "update_time": "", "user_id": "00cf2bd018c143f9855878049796226f", "banner_img": "test2.png", "buy_know": "买一送一哦,速速来买,不买砍死你", "market_price": 900, "store_name": "汉堡王", "id": "f2c71dffb0f74c6db742ed641c243453", "status": 1 }, { "score_deduct_percent": 5, "create_time": "2021-06-04 15:41:11", "platform_price": 2399, "detail_explain": "好吃好吃真好吃,实打实的发生的是的发送到发送到发", "reject_reason": "", "merchant_id": "043c7283dd3f4e7482f3298a98346e24", "show_tag": "可用积分抵扣,最高抵扣30.0%", "product_name": "巨无霸汉堡", "product_img": "test.png", "given_profit_percent": 6, "update_time": "", "user_id": "00cf2bd018c143f9855878049796226f", "banner_img": "test2.png", "buy_know": "买一送一哦,速速来买,不买砍死你", "market_price": 5900, "store_name": "汉堡王", "id": "8b646a46b61243b095d44082a53e31b8", "status": 1 } ], "max_score_deduct_percent": 30, "min_buy_given_profit": 3, "store_type_list": [ { "type_name": "中餐", "img_path": "", "type_kind": 4, "id": "f8f158c84abc4e20a053be69eef03c50", "sort": 1, "is_show": 1, "oem_id": "5988" }, { "type_name": "西餐", "img_path": "", "type_kind": 4, "id": "709c7e73dc704b699ac68c7f0c6c5156", "sort": 2, "is_show": 1, "oem_id": "5988" }, { "type_name": "火锅", "img_path": "", "type_kind": 4, "id": "4844bc045d3e46d89b5950cfceb5e479", "sort": 3, "is_show": 1, "oem_id": "5988" }, { "type_name": "烤肉", "img_path": "", "type_kind": 4, "id": "c206a40677be4ac9aab2a3c6dde826b8", "sort": 4, "is_show": 1, "oem_id": "5988" }, { "type_name": "烧烤", "img_path": "", "type_kind": 4, "id": "223c8ded383f4b5cbf4bce3d4c8a254d", "sort": 5, "is_show": 1, "oem_id": "5988" }, { "type_name": "小吃", "img_path": "", "type_kind": 4, "id": "ebb20a4791a945b2a9ef9b89ba89f893", "sort": 6, "is_show": 1, "oem_id": "5988" } ] } }