简要描述:

  • 获取门店列表

请求URL:

POST/plugin.store-cashier.frontend.store.get-store-info.get-the-provider

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "",
	"data": {
		"get_recommend_goods": {
			"list": [{
				"id": 7732,
				"goods_id": 7732,
				"thumb": "",
				"title": "课程商品测试22",
				"price": "100.00",
				"market_price": "0.00",
				"store_name": "卡卡-门店3",
				"store_id": 41,
				"change_thumb": "https:\/\/dev4.yunzmall.com\/attachment\/images\/9\/2019\/09\/lpdUPyxD9uXyR2r39rY2Q3D06r2eDZ.jpg",
			}, {
				"id": 7728,
				"goods_id": 7728,
				"thumb": "",
				"title": "双肩包",
				"price": "369.00",
				"market_price": "658.00",
				"store_name": "卡卡-门店3",
				"store_id": 41,
				"change_thumb": "https:\/\/dev4.yunzmall.com\/addons\/yun_shop\/static\/yunshop\/goods\/images\/Y3qzJNh33V868BnGr3b63ub2H93c58.jpg",
			}, {
				"id": 7727,
				"goods_id": 7727,
				"thumb": "",
				"title": "视频点播商品视频点播商品4视频点播商品4视频点播商品44",
				"price": "1.00",
				"market_price": "200.00",
				"store_name": "卡卡-门店3",
				"store_id": 41,
				"change_thumb": "https:\/\/dev4.yunzmall.com\/attachment\/images\/9\/2020\/02\/pbpSK89BSM9V82S2bp1kS2P10s4Yzz.jpg",
			
			}, {
				"id": 7723,
				"goods_id": 7723,
				"thumb": "",
				"title": "视频点播商品5",
				"price": "100.00",
				"market_price": "200.00",
				"store_name": "卡卡-门店3",
				"store_id": 41,
				"change_thumb": "https:\/\/dev4.yunzmall.com\/attachment\/images\/9\/2020\/02\/pbpSK89BSM9V82S2bp1kS2P10s4Yzz.jpg",
			}, {
				"id": 7537,
				"goods_id": 7537,
				"thumb": "",
				"title": "门店商品",
				"price": "100.00",
				"market_price": "0.00",
				"store_name": "卡卡-门店3",
				"store_id": 41,
				"change_thumb": "https:\/\/dev4.yunzmall.com\/attachment\/images\/9\/2019\/09\/L4cIzgq8SB74WNOG2Cin42nC5SIS4q.png",
			}]
		},
		"get_coupon": {
			"list": [{
				"id": 21,
				"name": "减12"
			}, {
				"id": 25,
				"name": "减1"
			}, {
				"id": 24,
				"name": "减1"
			}, {
				"id": 26,
				"name": "减10"
			}]
		},
		"is_room": 1,
		"is_micro_communities": 1,
	},
}

错误时返回:

  

返回参数说明:

参数名 类型 说明
get_coupon obj 优惠券
id int 优惠券id
name string 优惠券名称
参数名 类型 说明
get_recommend_goods obj 推荐商品
goods_id int 商品id
title string 商品名称
change_thumb string 商品图片
price string 商品价格
market_price string 商品原价
参数名 类型 说明
is_room int 1直播,0未开启
is_micro_communities int 1门店微帖开启,0未开启
is_business_card int 1名片开启,0未开启

备注:

  • 更多返回错误代码请看首页的错误代码描述