简要描述:
- 门店商品详情
请求域名:
- http://xx.com
请求URL:
POST:plugin.supplier.frontend.shop.index.index
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
member_id | 是 | int | 会员id |
返回示例:
正确时返回:
{
"result":1,
"msg":"成功",
"data":{
"list_is_hot":[
{
"id":266,
"uniacid":25,
"brand_id":0,
"type":1,
"status":1,
"display_order":0,
"title":"供应商商品呀",
"thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/25/2020/11/oHjkJINPDZtfYHjdEaTlhAZZndJOEb.png",
"thumb_url":"",
"sku":"件",
"description":"",
"content":"",
"goods_sn":"",
"product_sn":"",
"market_price":"0.00",
"price":"100.34",
"cost_price":"30.00",
"stock":100,
"reduce_stock_method":0,
"show_sales":0,
"real_sales":0,
"weight":"0.00",
"has_option":0,
"is_new":0,
"is_hot":1,
"is_discount":0,
"is_recommand":0,
"is_comment":0,
"is_deleted":0,
"created_at":"2020-12-25 10:29:40",
"deleted_at":null,
"updated_at":"2021-03-05 16:26:12",
"comment_num":0,
"is_plugin":1,
"plugin_id":92,
"virtual_sales":12,
"no_refund":0,
"need_address":0,
"type2":1,
"old_id":null,
"volume":"0.000",
"goods_id":266,
"status_name":"上架"
}
],
"list_is_recommand":[
],
"list_count":9,
"supplier":{
"id":11,
"member_id":163948,
"username":"供应商呀",
"password":"123456",
"realname":"卡卡",
"mobile":"13112121212",
"status":1,
"apply_time":0,
"created_at":"2020-12-25 10:26:49",
"updated_at":"2020-12-25 10:26:49",
"deleted_at":0,
"uniacid":25,
"salt":"mzfPd556",
"product":"0",
"remark":"0",
"store_name":"供应商呀",
"uid":107,
"logo":"",
"company_bank":"",
"company_ali":"",
"ali":"",
"wechat":"",
"diyform_data_id":0,
"bank_username":"",
"bank_of_accounts":"",
"opening_branch":"",
"company_ali_username":"",
"ali_username":"",
"province_name":"",
"city_name":"",
"district_name":"",
"grade":0,
"shop_commission":"0.00",
"lng":"",
"lat":"",
"province_id":0,
"city_id":0,
"district_id":0,
"street_id":0,
"street_name":"",
"address":"",
"insurance_status":1,
"certificate":null,
"group_id":0,
"category_id":0,
"shop_ratio":"0.00",
"settlement_time":0,
"supplier_id":11,
"has_one_member":{
"uid":163948,
"uniacid":25,
"mobile":"15219025049",
"email":"",
"groupid":0,
"credit1":"2000383.33",
"credit2":"991148.92",
"credit3":"0.00",
"credit4":"0.00",
"credit5":"0.00",
"credit6":"0.00",
"createtime":1606445420,
"realname":"",
"nickname":"卡卡",
"signature":null,
"avatar":"http://thirdwx.qlogo.cn/mmopen/CRO6KurU9pic1RiaibagVCqwxibPHvOp8ovAI0VHb6iav11jIM2Icwfvfe1y1Zm75HRlcjSjksHgGULsBmmGjibOFxXXPc4soXY7b4/132",
"qq":"",
"vip":0,
"gender":0,
"birthyear":0,
"birthmonth":0,
"birthday":0,
"constellation":"",
"zodiac":"",
"telephone":"",
"idcard":"",
"studentid":"",
"grade":"",
"address":"",
"zipcode":"",
"nationality":"",
"resideprovince":"",
"residecity":"",
"residedist":"",
"graduateschool":"",
"company":"",
"education":"",
"occupation":"",
"position":"",
"revenue":"",
"affectivestatus":"",
"lookingfor":"",
"bloodtype":"",
"height":"",
"weight":"",
"alipay":"",
"msn":"",
"taobao":"",
"site":"",
"bio":"",
"interest":"",
"pay_password":"0",
"account":"",
"accountpassword":"",
"accountsalt":"",
"fathername":"",
"mothername":"",
"avatar_image":"https://thirdwx.qlogo.cn/mmopen/CRO6KurU9pic1RiaibagVCqwxibPHvOp8ovAI0VHb6iav11jIM2Icwfvfe1y1Zm75HRlcjSjksHgGULsBmmGjibOFxXXPc4soXY7b4/132",
"username":"卡卡"
},
"has_one_wq_user":{
"uid":107,
"username":"供应商呀"
},
"has_one_group":null,
"has_one_category":null
},
"slide":[
],
"advs":[
],
"supplier_link":"https://dev15.yunzmall.com/addons/yun_shop/?menu#/chatWindow/?groupId=5&employeeId=0&chatType=1&i=25",
"aggregate":"0",
"is_hidden_category":null,
"is_room":1,
"banners":{
"banner1_img":"",
"banner2_img":"",
"banner3_img":""
},
"share":{
"share_title":"",
"share_desc":"",
"share_img":""
}
}
}
错误时返回:
result: 0,
msg: "你不是供应商!",
data: [ ]
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
list_is_hot | object | 热门商品 |
list_is_recommand | object | 推荐商品 |
list_count | int | 商品总数 |
supplier | object | 供应商信息 |
slide | object | 幻灯片 |
advs | object | 广告 |
supplier_link | string | 客服链接 |
aggregate | int | 聚合样式(0样式一, 1样式二(不支持小程序)) |
is_hidden_category | int | 聚合页商品分类 (0显示, 1隐藏) |
is_room | int | 是否开启带货直播插件 |
banners | object | 聚合页banners |
share | object | 聚合页分享设置 |
备注:
- 更多返回错误代码请看首页的错误代码描述