@Service public class UserService extends BaseOperService<UserModel>
Constructor and Description |
---|
UserService() |
Modifier and Type | Method and Description |
---|---|
UserModel |
checkUser(String userMd5)
验证用户md5
|
List<UserModel> |
list()
获取用户列表
|
List<UserModel> |
list(boolean system)
是否返回系统管理员信息
|
UserModel |
simpleLogin(String name,
String pwd)
用户登录
|
boolean |
userListEmpty()
用户列表是否为空
|
int |
userSize()
获取系统用户个数
|
addItem, deleteItem, getItem, list, updateItem
deleteJson, getDataFilePath, getJSONObject, getJsonObjectById, saveJson, updateJson
public boolean userListEmpty()
public int userSize()
public UserModel simpleLogin(String name, String pwd)
name
- 用户名pwd
- 密码public UserModel checkUser(String userMd5)
userMd5
- 用户md5public List<UserModel> list()
list
in class BaseOperService<UserModel>
Copyright © 2017–2019. All rights reserved.