简要描述:

  • 商品详情海报新接口

请求域名:

  • http://yunzshop.com

请求URL:

GET:/app/index.php?i=1&c=entry&do=shop&m=yun_shop&route=### 简要描述:

  • 商品子分类接口

请求域名:

  • http://yunzshop.com

请求URL:

GET/app/index.php?i=1&c=entry&do=shop&m=yun_shop&route=goods.goods-poster.new-goods-poster

参数:

参数名 是否必须 类型 说明
id int 商品id
storeid int 门店id
hotel_id int 酒店id
shop_id int 微店id
type int 商品id

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "ok",
	"data": {
		"member": {
			"data":{
				logo:https://dev4.yunzmall.com/attachment/image/1ff2e69ff262a1e17e6728fd1a257c89.png
				shopName:商城名称
				thumb:https://dev4.yunzmall.com/attachment/images/9/2019/11/v4ersjEzJEnGsSKwSwd4wnKgbleFJ4.jpg
				price:100.00
				market_price:10.00
				shareTitel:商品名称11
				backgroundImg:https://dev4.yunzmall.com/addons/yun_shop/static/post/images/post.png
				qrcode:https://dev4.yunzmall.com/attachment/image/1ff2e69ff262a1e17e6728fd1a257c89.png
				
			}
		},

	}
}

错误时返回:

{
    "result":0,
    "msg":"错误信息",
    "data":[

    ]
}

返回参数说明:

参数名 类型 说明
参数名 类型 说明
logo string logo地址
shopName string 商城名称
thumb string 商品图片
price int 现价
market_price int 原价
shareTitle string 商品名称
backgroundImg string 海报地址
qrcode string 二维码地址

备注:

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

返回示例:

正确时返回:

{
	"result":1,
	"msg":"ok",
"data":"http://yz.vip/addons/yun_shop/storage/app/public/goods/3/3-156.png"
}

错误时返回:

{
    "result":0,
    "msg":"错误信息",
    "data":[

    ]
}

返回参数说明:

参数名 类型 说明
参数名 类型 说明
string 海报地址

备注:

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