xm
2024-06-14 722af26bc6fec32bb289b1df51a9016a4935610f
1
{"doc":" 登录鉴权助手\n <p>\n user_type 为 用户类型 同一个用户表 可以有多种用户类型 例如 pc,app\n deivce 为 设备类型 同一个用户类型 可以有 多种设备类型 例如 web,ios\n 可以组成 用户类型与设备类型多对多的 权限灵活控制\n <p>\n 多用户体系 针对 多种用户类型 但权限控制不一致\n 可以组成 多用户类型表与多设备类型 分别控制权限\n\n @author Lion Li\n","fields":[],"enumConstants":[],"methods":[{"name":"login","paramTypes":["com.dl.common.core.domain.model.LoginUser"],"doc":" 登录系统\n\n @param loginUser 登录用户信息\n"},{"name":"loginByDevice","paramTypes":["com.dl.common.core.domain.model.LoginUser","com.dl.common.enums.DeviceType"],"doc":" 登录系统 基于 设备类型\n 针对相同用户体系不同设备\n\n @param loginUser 登录用户信息\n"},{"name":"getLoginUser","paramTypes":[],"doc":" 获取用户(多级缓存)\n"},{"name":"getLoginUser","paramTypes":["java.lang.String"],"doc":" 获取用户基于token\n"},{"name":"getUserId","paramTypes":[],"doc":" 获取用户id\n"},{"name":"getDeptId","paramTypes":[],"doc":" 获取部门ID\n"},{"name":"getUsername","paramTypes":[],"doc":" 获取用户账户\n"},{"name":"getNickName","paramTypes":[],"doc":" 获取用户昵称\n"},{"name":"getUserType","paramTypes":[],"doc":" 获取用户类型\n"},{"name":"isAdmin","paramTypes":["java.lang.String"],"doc":" 是否为管理员\n\n @param userId 用户ID\n @return 结果\n"}],"constructors":[]}