文档
测试

获取偏好

GET
/api/get_preference/

响应参数

参数名
类型
描述
必填
status
int
示例:200
必填
msg
string
示例:success
必填
item
object
数据字典
必填
id
int
示例:3
必填
openid
string
示例:otrCU4u1eDw0jpclzBTh2-i3WIyM
必填
prefer_rigon
object
示例:null
必填
prefer_area
string
示例:0
必填
prefer_auth
string
示例:0
必填
prefer_education
object
示例:null
必填
prefer_age1
string
示例:18
必填
prefer_age2
string
示例:50
必填
update_time
string
示例:2021-05-06T11:01:01.903
必填
total_items
int
示例:9
必填
except
object
示例:null
必填

说明 / 示例

```python { "status": 200, "msg": "success", "item": { "id": 3, "openid": "otrCU4u1eDw0jpclzBTh2-i3WIyM", "prefer_rigon": null, "prefer_area": "0", "prefer_auth": "0", "prefer_education": null, "prefer_age1": "18", "prefer_age2": "50", "update_time": "2021-05-06T11:01:01.903" }, "total_items": 9, "except": null }