|
@@ -230,10 +230,10 @@ public class SysUserController extends BaseController {
|
|
|
/**
|
|
|
* 修改用户-web修改个人信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:user:updateUser')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('system:user:edit')")
|
|
|
@Log(title = "用户管理", businessType = BusinessType.UPDATE)
|
|
|
@RequestMapping(value = "/updateUser", method = RequestMethod.PUT)
|
|
|
- public AjaxResult updateUser(@Validated @RequestBody SysUserUpdate user) {
|
|
|
+ public AjaxResult updateUser(@RequestBody SysUserUpdate user) {
|
|
|
if (!StringUtils.isEmpty(user) && !StringUtils.isEmpty(user.getPassword())) {
|
|
|
boolean matches = user.getPassword().matches(PW_PATTERN);
|
|
|
if (!matches) {
|