文档
测试

用户登录(完成)(完成)

POST
http://localhost:8080/app/user/login

接口描述

用户登录

请求参数

参数名
类型
描述
必填
loginName
string
示例:admin
必填
password
string
示例:admin
必填

响应参数

参数名
类型
描述
必填
success
boolean
是否成功 示例:true false
必填
errorCode
string
错误代码 示例:-1
必填
msg
string
提示信息 示例:登录成功 登录失败
必填
eneity
object
登录用户信息(没有值的返回参数 value为"")
必填
id
string
示例:1
必填
remarks
string
示例:wwwwwwwwwwwwwwwww
必填
delFlag
string
示例:0
必填
company
object
数据字典
必填
id
string
示例:1
必填
delFlag
string
示例:0
必填
parentIds
string
示例:0,
必填
name
string
示例:乌兰集团
必填
sort
number
示例:30
必填
hasChildren
boolean
示例:false
必填
code
string
示例:1000
必填
type
string
示例:2
必填
parentId
string
示例:0
必填
office
object
数据字典
必填
id
string
示例:3
必填
delFlag
string
示例:0
必填
parentIds
string
示例:0,1,
必填
name
string
示例:集团销售部门
必填
sort
number
示例:30
必填
hasChildren
boolean
示例:false
必填
code
string
示例:1000002
必填
type
string
示例:2
必填
parentId
string
示例:0
必填
loginName
string
示例:admin
必填
no
string
示例:1
必填
name
string
示例:李云龙
必填
email
string
示例:
必填
phone
string
示例:团级
必填
mobile
string
示例:团长
必填
loginFlag
string
示例:1
必填
photo
string
示例:/jeeplus/userfiles/1/程序附件/sys/user/images/logo.png
必填
admin
boolean
示例:true
必填
roleNames
string
示例:管理员,部门管理员
必填

说明 / 示例

{ "success": true, "errorCode": "-1", "msg": "登陆成功!", "body": { "loginName": "admin", "name": "李云龙", "office": "集团销售部门" } }