文档
测试

登录-测试用,用户编号登录

POST
http://{{address}}/api/auth/login

请求参数

参数名
类型
描述
必填
login
string
示例:test01
必填
password
int
示例:123456
必填

响应参数

参数名
类型
描述
必填
status
int
示例:1
必填
code
int
示例:1
必填
msg
string
示例:登录成功
必填
data
object
数据字典
必填
token
string
示例:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9mYW5nLnN1bW1lcmNtcy50ZXN0XC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNjg0Mzc2NTM2LCJleHAiOjE2ODQzODAxMzYsIm5iZiI6MTY4NDM3NjUzNiwianRpIjoibVhTbVVjVVVXV0xRVXdwSCIsInN1YiI6MSwicHJ2IjoiNDExYzkxN2EwZmI1MWUwYTQyN2E3ZTNkZWFhNWE0OWUyOTJkZGI5YiJ9.fyqV1a43Jhya2GAJ_zGyLhDpHcbBuHJxJdcrlaaBipE
必填
user
object
数据字典
必填
id
int
示例:1
必填
name
object
示例:null
必填
email
string
示例:X0HNuxXc@qq.com
必填
permissions
object
示例:null
必填
is_activated
boolean
示例:true
必填
activated_at
string
示例:2023-05-18T02:06:10.000000Z
必填
last_login
object
示例:null
必填
created_at
string
示例:2023-05-18T02:06:10.000000Z
必填
updated_at
string
示例:2023-05-18T02:06:10.000000Z
必填
username
string
示例:test01
必填
surname
object
示例:null
必填
deleted_at
object
示例:null
必填
last_seen
object
示例:null
必填
is_guest
int
示例:0
必填
is_superuser
int
示例:0
必填
created_ip_address
object
示例:null
必填
last_ip_address
object
示例:null
必填
userphone
string
示例:15100000001
必填
realname
string
示例:
必填
nickname
string
示例:
必填
referrer_code
string
示例:VAKZvUWO5LhH
必填
password_safe
string
示例:$2y$10$dk3otvXFe4lSuV4hHRDeMu/yw7wsXuEdere6UyI0viYBikJp639wK
必填
birthday
object
示例:null
必填
idcard
string
示例:
必填
province_code
object
示例:null
必填
city_code
object
示例:null
必填
area_code
object
示例:null
必填
street_addr
string
示例:
必填
tuid
int
示例:0
必填
tids
string
示例:0,
必填
tdeep
int
示例:0
必填
num_zt
int
示例:0
必填
num_td
int
示例:0
必填
levelu_code
int
示例:0
必填
levels_code
int
示例:0
必填
bank_name
string
示例:
必填
bank_number
string
示例:
必填
bank_address
string
示例:
必填
wechat_number
string
示例:
必填
alipay_number
string
示例:
必填
openid
object
示例:null
必填
avatar_path
string
示例:
必填
avatar
object
示例:null
必填