文档
测试

活动列表

GET
http://test.luckyuan.net/api/shop/Active

响应参数

参数名
类型
描述
必填
type
int
示例:1
必填
msg
string
示例:获取成功!
必填
data
array
数据列表
必填
type
int
活动类型 示例:1秒杀 2团购
必填
act_name
string
活动名称 示例:团购活动
必填
begin_time
string
开始时间 示例:2020-08-10
必填
end_time
string
结束时间 示例:2020-09-06
必填
status
int
状态 示例:0可以参加 1不能参加
必填
act_id
int
活动ID
必填

说明 / 示例

{ "msg": "获取成功!", "data": [ { "type": 2, "act_name": "团购活动", "begin_time": "2020-08-10", "end_time": "2020-09-06", "status": 0 }, { "type": 1, "act_name": "秒杀活动", "begin_time": "2020-08-10", "end_time": "2020-09-06", "status": 0 }, { "type": 2, "act_name": "团购活动", "begin_time": "2020-07-29", "end_time": "2020-08-29", "status": 1 }, { "type": 1, "act_name": "秒杀活动", "begin_time": "2020-07-29", "end_time": "2020-08-29", "status": 1 } ], "type": 1 }