文档
测试

1、登录bms

POST
{{ip}}/sys/login-phone?phone=wrq@8&password=888888&device=huaweimate60&version=101

请求参数

参数名
类型
描述
必填
username
string
示例:lixianfen
必填
password
string
示例:lixianfen
必填
device
String
设备信息:huawei-mate60pro
必填
version
String
版本号 1.0.1
必填

响应参数

参数名
类型
描述
必填
status
int
示例:200
必填
msg
string
示例:OK
必填
data
object
数据字典
必填
access_token
string
示例:8d9a53f5-64a4-450b-bba9-957b3a71ef6b
必填
token_type
string
示例:bearer
必填
refresh_token
string
示例:68d26de0-fb9a-4593-b8f6-365af05ef1f4
必填
expires_in
int
示例:169701
必填
scope
string
示例:supplier
必填
loginUser
object
数据字典
必填
id
string
示例:64
必填
username
string
示例:lixianfen
必填
jobNumber
object
示例:null
必填
password
string
示例:$2a$10$eqLqcawg64kY3n/xE6pXru8mwnDxBov42.3cntxJgcHPQWLCHfOG.
必填
nickname
string
示例:李现芬
必填
companyPhone
object
示例:null
必填
email
object
示例:null
必填
headImgUrl
object
示例:null
必填
phone
string
示例:13954969056
必填
sex
object
示例:null
必填
loginByPhone
object
示例:null
必填
type
object
示例:null
必填
sort
object
示例:null
必填
petName
object
示例:null
必填
wechatName
object
示例:null
必填
deptName
object
示例:null
必填
deptPath
object
示例:null
必填
deptDescription
object
示例:null
必填
status
string
示例:FULL_TIME
必填
positionCode
object
示例:null
必填
positionId
int
示例:101
必填
positionName
string
示例:老板娘
必填
deptId
object
示例:null
必填
companyId
object
示例:null
必填
groupId
object
示例:null
必填
groupName
object
示例:null
必填
companyName
string
示例:大力机电
必填
isDelete
int
示例:0
必填
isRanking
object
示例:null
必填
salaryElementType
object
示例:null
必填
allowance
object
示例:null
必填
info
object
示例:null
必填
createTime
object
示例:null
必填
updateTime
object
示例:null
必填
createUserId
object
示例:null
必填
updateUserId
object
示例:null
必填
isLocked
int
示例:0
必填
lockTime
object
示例:null
必填
sysRoles
array
数据列表
必填
id
int
示例:101
必填
code
string
示例:GYSBOSS
必填
name
string
示例:供应商老板
必填
type
object
示例:null
必填
noticeRoleId
object
示例:null
必填
permissions
object
示例:null
必填
entryTime
object
示例:null
必填
entryType
object
示例:null
必填
entryCode
object
示例:null
必填
preInstallRole
object
示例:null
必填
companyPhones
object
示例:null
必填
contact
object
示例:null
必填
inContacts
object
示例:null
必填
isAttend
object
示例:null
必填
templateId
object
示例:null
必填
peculiarStatus
object
示例:null
必填
applyDismissionTime
object
示例:null
必填
isCalculateSalary
object
示例:null
必填
collectionCodeUrl
object
示例:null
必填
transfer
object
示例:null
必填
holiday
object
示例:null
必填
leave
object
示例:null
必填
extraWork
object
示例:null
必填
city
string
示例:山东省临沂市罗庄区站前商场C区63-64号
必填
isRetire
object
示例:null
必填
isPosition
int
示例:0
必填
isRegular
int
示例:0
必填
isHomeWork
int
示例:0
必填
peculiarStatusDesc
string
示例:
必填
holderId
object
示例:null
必填
deptLeader
object
示例:null
必填
respLeaderJobNumber
object
示例:null
必填
invalidDate
object
示例:null
必填
teamId
object
示例:null
必填
teamName
object
示例:null
必填
skinType
object
示例:null
必填
accountNonLocked
boolean
示例:true
必填
enabled
boolean
示例:true
必填
credentialsNonExpired
boolean
示例:true
必填
entryDate
int
示例:-1
必填
statusDesc
string
示例:正式员工
必填
ok
boolean
示例:true
必填