简要描述:
- 拼购活动列表
请求域名:
- http://xx.com
请求URL: 导出为(export)
POST:plugin.together-purchase.admin.activity.index
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
search | 是 | array | 查询参数全部放在这里面 |
search[id] | 是 | int | 活动ID |
search[goods_name] | 是 | string | 商品名称 |
search[activity_name] | 是 | string | 活动名称 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "保存成功",
"data": {
"activity" : {
"total" : 1
"per_page" : 15
"current_page" : 1
"last_page" : 1
"next_page_url" : null
"prev_page_url" : null
"from" : 1
"to" : 1
"data": {
0 : {
"id" : 1
"uniacid" : 3
"activity_name" : "ceshi"
"goods_id" : 57
"goods_ids" : "57,25"
"goods_name" : "ceshi,ceshi"
"calculation_method" : 1
"buy_proportion" : "20.00"
"buy_money" : "500.00"
"market_price" : "400.00"
"actual_price" : "300.00"
"buy_number" : 1
"limit_time" : "4.00"
"limit_method" : 1
"frequency" : 1
"limit_money" : "400.00"
"service_money" : "20.00"
"refund_money" : "80.00"
"refund_love" : "80.00"
"is_show" : 0
"share_title" : "ceshi"
"share_detail" : "ceshi"
"created_at" : "2020-09-07 14:24:42"
"updated_at" : "2020-09-07 14:24:42"
"deleted_at" : null
"show_name" : "下架"
"has_one_goods" : {
"id" : 57
"price" : "11.00"
"thumb" : "http://test-1251768088.cosgz.myqcloud.com/images/3/2017/12/J0CcTIP0Bn17i6t9JI16zj5C50J1s1.jpg"
"title" : "图片测试"
"status_name" : null
}
}
}
},
"search" : {
}
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
activity | array | 活动列表 |
activity_name | string | 活动名称 |
market_price | string | 现价 |
actual_price | string | 拼购金额 |
buy_number | int | 拼购人数 |
service_money | string | 服务费 |
limit_time | array | 限制时间(小时) |
has_one_goods[thumb] | string | 活动商品图片 |
has_one_goods[title] | string | 活动商品标题 |
search | array | 搜索数据 |
备注:
- 更多返回错误代码请看首页的错误代码描述