收藏
回答

小商店服务端接口返回参数与文档不一样?

实际响应数据并无"out_sku_id",与文档有别,详见【 https://developers.weixin.qq.com/doc/ministore/minishopopencomponent/API/sku/get_sku_list.html


reqData is [{
	"need_edit_sku":1,
	"need_real_stock":1,
	"product_id":20235652
}], respResult is [{
	"errcode":0,
	"skus":[
		{
			"barcode":"",
			"market_price":5,
			"out_product_id":"",
			"product_id":20235652,
			"sale_price":3,
			"sku_attrs":[
				{
					"attr_key":"套餐",
					"attr_value":"套餐1"
				}
			],
			"sku_code":"",
			"sku_id":20614937,
			"status":5,
			"stock_num":100,
			"thumb_img":"https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SH/reserved/60503c99000d29450000000013d34f09000000a100004f50"
		},
		{
			"barcode":"",
			"market_price":2,
			"out_product_id":"",
			"product_id":20235652,
			"sale_price":2,
			"sku_attrs":[
				{
					"attr_key":"套餐",
					"attr_value":"套餐2"
				}
			],
			"sku_code":"",
			"sku_id":24707719,
			"status":5,
			"stock_num":200,
			"thumb_img":"https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SH/reserved/60503c99000cd01a00000000d7c34f09000000a100004f50"
		}
	]
}]
回答关注问题邀请回答
收藏
登录 后发表内容
问题标签