文档
测试

发布的详情

GET
{{url}}/api/index/detail?id=27

请求参数

参数名
类型
描述
必填
id
string
示例:27
可选

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
data
object
数据字典
必填
content
object
数据字典
必填
id
int
示例:27
必填
user_id
int
示例:1
必填
type
int
示例:1
必填
project_name
string
示例:测试项目
必填
project_content_name
string
示例:dfdfd
必填
project_price
string
示例:8888
必填
project_superiority
string
示例:优势很大
必填
project_demand
string
示例:需求很明确
必填
team_name
string
示例:
必填
team_num
string
示例:0
必填
team_area
string
示例:
必填
team_skill
string
示例:
必填
team_project
string
示例:
必填
team_skill_project
string
示例:
必填
team_content
string
示例:
必填
black_name
string
示例:
必填
black_price
string
示例:
必填
black_content
string
示例:
必填
black_phone
string
示例:
必填
black_weixin
string
示例:
必填
black_qq
string
示例:
必填
black_zhifubao
string
示例:
必填
black_detail
string
示例:
必填
imgurl
string
示例:
必填
label
string
示例:1,2,3
必填
price
int
示例:10
必填
is_top
int
示例:1
必填
top_time
int
示例:24
必填
top_price
int
示例:0
必填
status
int
示例:1
必填
create_time
int
示例:0
必填
update_time
int
示例:0
必填
scan_num
int
示例:0
必填
comment_num
int
示例:0
必填
likes_num
int
示例:0
必填
comment
object
数据字典
必填
total_num
int
示例:2
必填
content
array
数据列表
必填
id
int
示例:3
必填
user_id
int
示例:3
必填
parent_id
int
示例:0
必填
content_id
int
示例:27
必填
comment_content
string
示例:啊啊啊
必填
status
int
示例:1
必填
create_time
int
示例:0
必填
update_time
int
示例:0
必填
user
object
数据字典
必填
id
int
示例:3
必填
user_nickname
string
示例:
必填
avatar
string
示例:
必填
is_member
int
示例:0
必填
is_realname_auth
int
示例:0
必填
is_ep_auth
int
示例:0
必填

说明 / 示例

{ "code": 1, "msg": "ok", "data": { "is_collection": 0,---------------------是否收藏 1是0否 "is_likes": 0, -------------------------是否点赞 1是0否 "content": { ---------------------------------------发布的内容相关 "id": 27, "user_id": 1, "type": 1, "project_name": "测试项目", "price": 10, ------------价格 "is_top": 1, --------------是否置顶 "top_time": 24, --------------置顶时间 "top_price": 0, -----------置顶价格,单位 分 "status": 1, "create_time": 0, "update_time": 0, "scan_num": 0, ----------浏览数 "comment_num": 0, -------------评论数 "likes_num": 0 --------------点赞数 }, "comment": { ------------------------------------评论相关数据 "total_num": 2, ---------------评论总数 "content": [ { "id": 3, "user_id": 3,-----------评论的用户id "parent_id": 0, "content_id": 27, "comment_content": "啊啊啊", ------------评论内容 "status": 1, "create_time": 0, "update_time": 0, "user": {------------------------评论用户的用户信息 "id": 3, "user_nickname": "", -----------昵称 "avatar": "", ------------头像地址 "is_member": 0, -------------是否会员 1是 0否 "is_realname_auth": 0, -----------是否实名认证 1是 0否 "is_ep_auth": 0 -------------是否企业认证 1是0否 } }, { "id": 1, "user_id": 1, "parent_id": 0, "content_id": 27, "comment_content": "测试", "status": 1, "create_time": 0, "update_time": 0, "user": { "id": 1, "user_nickname": "admin", "avatar": "", "is_member": 0, "is_realname_auth": 0, "is_ep_auth": 0 } } ] } } }