文档
测试
GET
域名+ /index/activity/activity_list

接口描述

请求参数见下方注释

请求参数

参数名
类型
描述
必填
type
int
0,1常驻,限时
必填
minprice
decimal
最低价
必填
maxprice
decimal
最高价
必填
brand_id
int
品牌id
必填
order
int
排序字段名
必填
order_type
int
排序字段值
必填
page
int
当前页码
必填
pagenum
int
每页条数
必填
time
string
发起请求时间 第一次给 ‘’ 后面用返回的time
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
object
数据字典
必填
data
object
数据字典
必填
total
int
示例:2
必填
per_page
int
示例:4
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:11
必填
brand_id
int
示例:1 品牌id
必填
label_id
int
示例:1 标签id
必填
title
string
示例:王者荣誉水晶抽取 标题
必填
prize_type
int
示例:0
必填
price
string
示例:1.00
必填
five_price
string
示例:5.00
必填
showprice
string
示例:1.00 列表展示价格
必填
sales
int
示例:0 销量
必填
likes
int
示例:0点赞数
必填
img
string
示例:20210319/679da3806cd9152b63ea4492c119f64e.jpg 缩略图
必填
start_time
int
示例:0 常驻回廊时起始时间
必填
end_time
int
示例:0 常驻回廊时结束时间
必填
create_time
string
示例:2021-03-19 15:34:04
必填
update_time
string
示例:2021-03-19 15:34:04
必填
brand_name
string
示例:古驰 品牌名称
必填
count
int
示例:2
必填
time
string
示例:2021-04-25 14:34:47
必填

说明 / 示例

1排序传入两个字段:order排序字段名 、order_type排序字段值 价格由高到低:order:showprice 、order_type:0 价格由低到高:order:showprice 、order_type:1 上架时间由近及远:order:create_time 、order_type:0 上架时间由远及近:order:create_time 、order_type:1 销量由高到低:order:sales 、order_type:0 2 2.1价位区间 最低价、最高价 { minprice:0, maxprice:1000 } 2.3品牌 传入品牌id brand_id