| | |
| | | import com.whyc.pojo.DocDepart; |
| | | import com.whyc.pojo.DocRole; |
| | | import com.whyc.pojo.DocUser; |
| | | import com.whyc.pojo.Permit; |
| | | import com.whyc.util.ActionUtil; |
| | | import com.whyc.util.RSAUtil; |
| | | import org.apache.shiro.SecurityUtils; |
| | |
| | | |
| | | @Autowired |
| | | private DocDepartService departService; |
| | | |
| | | @Autowired |
| | | private PermitService permitService; |
| | | |
| | | //查询所有用户信息 |
| | | public Response getAllUser(DocUser docUser, int pageCurr, int pageSize) { |
| | |
| | | Map<String,Object> map = new HashMap<>(); |
| | | List<DocDepart> departList = (List<DocDepart>) ((PageInfo)departService.getAllDepart().getData2()).getList(); |
| | | List<DocRole> roleList = (List<DocRole>) ((PageInfo)roleService.getAllRole().getData2()).getList(); |
| | | List<Permit> permitList = permitService.getPermitsByUname(); |
| | | map.put("departs",departList); |
| | | map.put("roles",roleList); |
| | | |
| | | map.put("permits",permitList); |
| | | return response.setIII(1,true, userDB,map,"登录成功"); |
| | | } |
| | | //修改密码 |