文档
测试

获取所有用户账号信息

GET
http://192.168.100.33:8081/userInfo/getUserList

接口描述

用户登陆验证,无token返回

响应参数

参数名
类型
描述
必填
code
int
返回代码 1-成功,其他-失败
必填
message
string
提示信息
必填
result
object
数据字典
必填
userInfoList
object
数据字典,用户信息列表
必填
id
int
id号
必填
user
string
用户账号
必填
pass
string
用户密码,md5加密
必填
name
string
用户名称
必填
createTime
string
创建时间
必填
updateTime
string
更新时间
必填
type
string
用户类型1、后台用户,2、app用户
必填
villageId
long
村点编号
必填

说明 / 示例

返回报文: { "code": 1, "result": { "userInfoList": [ { "id": 1, "user": "admin", "pass": "123456", "name": "admin", "type": "1", "villageId": null, "createTime": "2020-07-09T20:11:52.000+0000", "updateTime": "2020-07-14T16:14:53.000+0000" }, { "id": 2, "user": "test1", "pass": "1", "name": "test1", "type": "2", "villageId": "1", "createTime": "2020-07-14T16:48:16.000+0000", "updateTime": "2020-07-14T16:49:20.000+0000" }, { "id": 3, "user": "test2", "pass": "1", "name": "test2", "type": "2", "villageId": "2", "createTime": "2020-07-14T16:49:06.000+0000", "updateTime": "2020-07-14T16:49:23.000+0000" }, { "id": 4, "user": "test3", "pass": "1", "name": "test3", "type": "2", "villageId": "3", "createTime": "2020-07-14T22:29:11.000+0000", "updateTime": "2020-07-14T22:29:11.000+0000" } ] } }