文档
测试

获取需求列表

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

请求参数

参数名
类型
描述
必填
keyword
string
示例:1------搜索需求标题
必填
publish
int
示例:4------发布类型ID
必填
family
int
示例:2------品类ID
必填
pmold
string
示例:n------认证状态:n=未认证,1=已认证
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
time
string
示例:1673424407
必填
data
object
数据字典
必填
total
int
示例:2
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:1-------需求ID
必填
user_id
int
示例:3-------发布人ID
必填
publish_id
int
示例:4-------发布类型ID
必填
family_id
int
示例:2-------品类ID
必填
dtitle
string
示例:需求标题-------需求标题
必填
thumb
object
示例:null-------缩略图
必填
images
string
示例:/assets/img/avatar.png-------主图
必填
text_details
string
示例:需求文字详情-------文字详情
必填
draft
int
示例:1-------发布状态:1=草稿,2=已发布
必填
status
string
示例:normal-------状态
必填
createtime
int
示例:1672801036-------创建时间
必填
updatetime
int
示例:1673252467-------修改事件
必填
deletetime
object
示例:null-------删除时间
必填
praise
int
示例:0-------点赞量
必填
view
int
示例:0-------浏览量
必填
isPraise
boolean
示例:false-------是否点赞
必填
user
array
数据列表
必填
id
int
2
必填
nickname
string
示例:--------昵称
必填
avatar
string
示例:--------头像
必填
string
示例:
必填
示例:
必填