文档
测试

【我的】页面

GET
{{host}}/api/ynl-unit/profile

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvampjb2xkY2hhaW4udGVzdFwvYXBpXC95bmxcL2xvZ2luIiwiaWF0IjoxNjkwMjc0OTM4LCJleHAiOjE2OTAyNzg1MzgsIm5iZiI6MTY5MDI3NDkzOCwianRpIjoiQld3SHl0ckxTd0xhNllvSSIsInN1YiI6MTE2MTQsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.TXVQw0tlDm-m3Qu_fWl7qNiNKz3ha8VVRXCP2S-ZqzE
必填

响应参数

参数名
类型
描述
必填
id
int
示例:11614
必填
owner_id
int
示例:6
必填
username
string
示例:19900000001
必填
device_id
string
示例:
必填
avatar
object
示例:null
必填
name
string
示例:张蕾
必填
code
object
示例:null
必填
nickname
string
示例:张蕾
必填
company
object
示例:null
必填
job
object
示例:null
必填
join_date
object
示例:null
必填
birthday
object
示例:null
必填
sex
object
示例:null
必填
point
int
示例:103
必填
id_card
object
示例:null
必填
open_id
object
示例:null
必填
union_id
object
示例:null
必填
extend
object
示例:null
必填
phone
string
示例:19900000001
必填
phone_verified_at
object
示例:null
必填
email
object
示例:null
必填
email_verified_at
object
示例:null
必填
status
int
示例:1
必填
created_at
string
示例:2022-09-18 20:27:34
必填
updated_at
string
示例:2023-07-22 19:40:24
必填
deleted_at
object
示例:null
必填

说明 / 示例

无需传参, 根据当前 token 值,即可获取用户的信息,返回对应的菜单。