| | |
| | | @ApiOperation("修改用户接口") |
| | | @PostMapping("/update") |
| | | @Authorization |
| | | public ResultData updateConfig(@RequestBody SysUser config) |
| | | public ResultData updateConfig(@RequestBody SysUser config,@CurrentUser SysUser sys) |
| | | { |
| | | if(config.getUserId()==null) |
| | | { |
| | |
| | | } |
| | | |
| | | config.setUserType("3"); |
| | | |
| | | config.setUpdateBy(sys.getUserId()+""); |
| | | |
| | | return toAjax(IUserService.updateConfig(config)); |
| | | } |
| | |
| | | return error("输入密码与原密码不能相同!"); |
| | | } |
| | | |
| | | |
| | | |
| | | return toAjax(IUserService.updateConfig(config)); |
| | | } |
| | | |
| | |
| | | transaction_ids, |
| | | transaction_names, |
| | | openid, |
| | | (select user_name from automessage_sys_user where automessage_sys_userv.user_id=create_by) as createName, |
| | | (select user_name from automessage_sys_user where automessage_sys_user.user_id=create_by) as createName, |
| | | transaction_num, |
| | | (select role_name from automessage_role_management where automessage_role_management.id=role_ids) as roleName, |
| | | (select permission from automessage_role_management where automessage_role_management.id=role_ids) as permission, |