简要描述:
- 选择商品
选择商品
- 请求URL:
POST:port + /Customtemplate/modalPromotionGoodsList
1、会员中心 - 输入码后:成功就绑定到用户,失败就返回相应信息
请求参数
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
promotion_type | 是 | int | 2拼团3预售4砍价5限时抢购6幸运拼 |
search_text | 否 | string | 商品名称 |
goods_type | 是 | 获取商品平台类型 | 0自营 1全平台 2店铺 |
请求示例:
{
"tsearch_textype": '商品名称',
"promote_type":2
}
返回示例:
正确时返回:
{
"code":1,
"data":{
'data':[],
'total_count':20,
'page_count':1
},
"message":"操作成功"
}
错误时返回:
{
"code": -1,//code 只会 >0 和小于 0
"message": "",//失败信息不固定,根据返回code进行判断
}