文档
测试

获取我添加的室友列表

GET
https://udapptest.uxiao.vip/api.php/sell_roommate/add_list

请求头

参数名
类型
描述
必填
Authorization
string
示例:a3d1d612eca23bd603f80bd1d62cf883a4131b58343337dbcd90ccfe06e2ca17
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
total
int
示例:2
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:1
必填
own_id
int
示例:48
必填
real_name
string
示例:张三
必填
image
string
封面图 示例:https://res.uxiao.vip/111111111111.jpg
必填
sex
int
示例:1
必填
campus_id
int
示例:1001
必填
professional
string
专业 示例:挖掘机
必填
hometown
string
家乡 示例:山东
必填
profile
string
简介 示例:粗人
必填
expect
string
另一半期望 示例:女的,活的
必填
wechat_friend_qrcode
string
二维码图片 示例:https://res.uxiao.vip/111111111111.jpg
必填
status
int
示例:1 //1代表审核通过的, 2代表审核被拒绝的 , 0代表 待审核
必填
remark
string
审核备注, 示例:不清晰, status字段为2时, 这里代表拒绝原因
必填
create_time
int
示例:1332334433
必填
update_time
int
示例:1234358711
必填
delete_time
int
示例:0
必填
images
string
示例:https://res.uxiao.vip/111111111111.jpg
必填
video
string
示例:
必填
campus
object
数据字典
必填
id
int
示例:1001
必填
name
string
示例:中国科学技术大学
必填
user
object
数据字典
必填
id
int
示例:48
必填
user_nickname
string
示例:仙人球
必填

说明 / 示例

``` { "code": 1, "msg": "success", "data": { "total": 2, "per_page": 10, "current_page": 1, "last_page": 1, "data": [ { "id": 1, "own_id": 48, "real_name": "张三", "image": "https://res.uxiao.vip/111111111111.jpg", "sex": 1, "campus_id": 1001, "professional": "挖掘机", "hometown": "山东", "profile": "粗人", "expect": "女的,活的", "wechat_friend_qrcode": "https://res.uxiao.vip/111111111111.jpg", "status": 1, "remark": "", "create_time": 1332334433, "update_time": 1234358711, "delete_time": 0, "images": "https://res.uxiao.vip/111111111111.jpg", "video": "", "campus": { "id": 1001, "name": "中国科学技术大学" }, "user": { "id": 48, "user_nickname": "仙人球" } }, { "id": 2, "own_id": 48, "real_name": "李四", "image": "https://res.uxiao.vip/1234.jpg", "sex": 1, "campus_id": 1002, "professional": "理发", "hometown": "天津", "profile": "灵活的手", "expect": "好看的", "wechat_friend_qrcode": "https://res.uxiao.vip/1234.jpg", "status": 2, "remark": "照片不清晰", "create_time": 1642563945, "update_time": 1642563945, "delete_time": 0, "images": "https://res.uxiao.vip/1234.jpg", "video": "", "campus": { "id": 1002, "name": "合肥工业大学" }, "user": { "id": 48, "user_nickname": "仙人球" } } ] } } ```