| | |
| | | * @return 默认密码 |
| | | */ |
| | | @GetMapping(path = "defaultPassword") |
| | | @Log("客户端请求得到默认密码") |
| | | public BaseResponse<String> defaultPassword(){ |
| | | if(defaultTrueRandomFalsePassword){ |
| | | return BaseResponseUtils.buildSuccess(defaultPassword) ; |
| | |
| | | @PostMapping(path = "some", consumes = MediaType.APPLICATION_JSON_VALUE) |
| | | //@SsoAop() //只有登录验证,没有权限验证 |
| | | @SsoPowerAop(power = "10100010") //登录与权限同时验证 |
| | | @Log("分页查询用户") |
| | | @Log("查询用户") |
| | | public BaseResponse<QueryResultVo<List<BaUser>>> some(@RequestBody QueryVo vo) { |
| | | try { |
| | | QueryResultVo<List<BaUser>> res = this.sv.selectSome(vo); |
| | |
| | | } |
| | | } |
| | | } catch (Exception e) { |
| | | log.error("保存用户异常", e); |
| | | log.error("修改密码异常", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()); |
| | | } |
| | | if (count <= 0) { |