文档
测试

筛选选项

POST
http://baopin.daoben.ltd/api/amoy/filterItems

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
time
string
示例:1672736905
必填
data
object
数据字典
必填
family
array
数据列表------品类
必填
id
int
示例:7------品类ID
必填
pid
int
示例:0------父ID
必填
fname
string
示例:农副产品------品类名称
必填
image
string
示例:------品类图片
必填
weigh
int
示例:7
必填
status
string
示例:normal
必填
createtime
int
示例:1672221960
必填
updatetime
int
示例:1672221960
必填
deletetime
object
示例:null
必填
channel
object
数据字典------渠道
必填
online
array
数据列表------线上渠道
必填
id
int
示例:1------渠道ID
必填
cname
string
示例:社区团购------渠道名称
必填
mold
string
示例:1------渠道类型:1=线上,2=线下
必填
pid
int
示例:0------渠道父ID
必填
path
object
示例:null------上级路径
必填
weigh
int
示例:1
必填
status
string
示例:normal
必填
createtime
int
示例:1672211335
必填
updatetime
int
示例:1672211335
必填
deletetime
object
示例:null
必填
children
array
数据列表------子集渠道(无限级渠道)
必填
id
int
示例:14
必填
cname
string
示例:社区团购一
必填
mold
string
示例:1
必填
pid
int
示例:1
必填
path
string
示例:.1.
必填
weigh
int
示例:14
必填
status
string
示例:normal
必填
createtime
int
示例:1672216254
必填
updatetime
int
示例:1672216254
必填
deletetime
object
示例:null
必填
children
array
数据列表
必填
id
int
示例:15
必填
cname
string
示例:社区团购二
必填
mold
string
示例:1
必填
pid
int
示例:14
必填
path
string
示例:.1.14.
必填
weigh
int
示例:15
必填
status
string
示例:normal
必填
createtime
int
示例:1672219418
必填
updatetime
int
示例:1672219418
必填
deletetime
object
示例:null
必填
children
array
数据列表
必填
offline
array
数据列表------线下渠道(和线上渠道一致)
必填
id
int
示例:6
必填
cname
string
示例:流通渠道
必填
mold
string
示例:2
必填
pid
int
示例:0
必填
path
object
示例:null
必填
weigh
int
示例:6
必填
status
string
示例:normal
必填
createtime
int
示例:1672211572
必填
updatetime
int
示例:1672211572
必填
deletetime
object
示例:null
必填
children
array
数据列表
必填
price
array
数据列表------价格筛选
必填
minPrice
int
示例:0------最低价
必填
maxPrice
int
示例:4------最高价
必填
profit
object
数据字典------利润率排序
必填
drop
string
示例:从高到低
必填
rise
string
示例:从低到高
必填