config and user bug
This commit is contained in:
@@ -119,7 +119,6 @@ public class MyUserController {
|
||||
* 保存
|
||||
*/
|
||||
@RequestMapping("/save")
|
||||
// @RequiresPermissions("book:user:save")
|
||||
public R save(@RequestBody MyUserEntity user){
|
||||
String password = user.getPassword();
|
||||
String saltMD5 = MD5Utils.getSaltMD5(password);
|
||||
@@ -134,6 +133,7 @@ public class MyUserController {
|
||||
*/
|
||||
@RequestMapping("/update")
|
||||
public R update(@RequestBody MyUserEntity user){
|
||||
System.out.println(user.toString());
|
||||
userService.updateById(user);
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user