文档
测试

提交测验

POST
/topic/user/1

接口描述

1 为量表ID

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer {{user-token}}
必填

请求参数

参数名
类型
描述
必填
1
string
查看请求示例
必填

响应参数

参数名
类型
描述
必填
user_id
int
示例:2
必填
topic_id
int
示例:1
必填
total
int
示例:66
必填
level
string
示例:D
必填
comment
string
示例:心理刚刚及格
必填
options
object
数据字典
必填
1
object
数据字典
必填
key
string
示例:A
必填
total
int
示例:30
必填
content
string
示例:是
必填
title
string
示例:是否有过心理疾病
必填
3
object
数据字典
必填
key
string
示例:A
必填
total
int
示例:5
必填
content
string
示例:是
必填
title
string
示例:是否有过嗜睡
必填
4
object
数据字典
必填
key
string
示例:A
必填
total
int
示例:31
必填
content
string
示例:是
必填
title
string
示例:是否感到焦虑
必填
name
string
示例:测试量表
必填
updated_at
int
示例:1589009530
必填
created_at
int
示例:1589009530
必填
id
int
示例:1
必填
user
object
数据字典
必填
id
int
示例:2
必填
member_id
int
示例:0
必填
name
string
示例:测试
必填
phone
string
示例:18735958004
必填
card
string
示例:142601
必填
created_at
int
示例:1587979820
必填
updated_at
int
示例:1588149358
必填
topic
object
数据字典
必填
id
int
示例:1
必填
category_id
int
示例:1
必填
name
string
示例:测试量表
必填
image
string
示例:/
必填
total
string
示例:100
必填
count
int
示例:0
必填
sort
int
示例:2
必填
comment
array
数据列表
必填
total
int
示例:0
必填
level
string
示例:E
必填
comment
string
示例:心理不正常,需要治疗
必填
item
array
数据列表
必填
id
int
示例:3
必填
topic_id
int
示例:1
必填
title
string
示例:是否有过嗜睡
必填
image
string
示例:/
必填
total
string
示例:3
必填
options
array
数据列表
必填
key
string
示例:A
必填
total
int
示例:0
必填
content
string
示例:有
必填
sort
int
示例:0
必填