文档
测试

获取我购买的室友列表

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

请求头

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

请求参数

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

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
total
int
示例:1
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:1
必填
sell_roommate_id
int
示例:3
必填
sell_user_id
int
示例:82
必填
buy_user_id
int
示例:48
必填
create_time
int
示例:0
必填
money
int
示例:1
必填
pay_time
int
示例:1
必填
order_no
string
示例:aSAFD3424j35lj
必填
roommate
object
数据字典
必填
id
int
示例:3
必填
own_id
int
示例:82
必填
real_name
string
示例:黄照根
必填
image
string
示例:https://res.uxiao.vip/1642564561093
必填
sex
int
示例:1
必填
campus_id
int
示例:1
必填
professional
string
示例:修车的
必填
hometown
string
示例:舒城
必填
profile
string
示例:哈哈哈
必填
expect
string
示例:美女
必填
wechat_friend_qrcode
string
示例:https://res.uxiao.vip/1642564547954
必填
status
int
示例:0
必填
remark
string
示例:
必填
create_time
int
示例:1642564564
必填
update_time
int
示例:1642564564
必填
delete_time
int
示例:0
必填
images
string
示例:https://res.uxiao.vip/1642564561093,https://res.uxiao.vip/1642564561091,https://res.uxiao.vip/1642564561094,https://res.uxiao.vip/1642564561090
必填
video
string
示例:
必填
campus
object
数据字典
必填
id
int
示例:1
必填
name
string
示例:北京大学
必填
user
object
数据字典
必填
id
int
示例:82
必填
user_nickname
string
示例:瑶瑶
必填

说明 / 示例

``` { "code": 1, "msg": "success", "data": { "total": 1, "per_page": 10, "current_page": 1, "last_page": 1, "data": [ { "id": 1, "sell_roommate_id": 3, "sell_user_id": 82, "buy_user_id": 48, "create_time": 0, "money": 1, "pay_time": 1, "order_no": "aSAFD3424j35lj", "roommate": { "id": 3, "own_id": 82, "real_name": "黄照根", "image": "https://res.uxiao.vip/1642564561093", "sex": 1, "campus_id": 1, "professional": "修车的", "hometown": "舒城", "profile": "哈哈哈", "expect": "美女", "wechat_friend_qrcode": "https://res.uxiao.vip/1642564547954", "status": 0, "remark": "", "create_time": 1642564564, "update_time": 1642564564, "delete_time": 0, "images": "https://res.uxiao.vip/1642564561093,https://res.uxiao.vip/1642564561091,https://res.uxiao.vip/1642564561094,https://res.uxiao.vip/1642564561090", "video": "", "campus": { "id": 1, "name": "北京大学" }, "user": { "id": 82, "user_nickname": "瑶瑶" } } } ] } } ```