config and user bug

This commit is contained in:
wangjinlei
2023-10-20 13:52:10 +08:00
parent 07efdd2a14
commit d950c07e95
2 changed files with 2 additions and 2 deletions

View File

@@ -119,7 +119,6 @@ public class MyUserController {
* 保存 * 保存
*/ */
@RequestMapping("/save") @RequestMapping("/save")
// @RequiresPermissions("book:user:save")
public R save(@RequestBody MyUserEntity user){ public R save(@RequestBody MyUserEntity user){
String password = user.getPassword(); String password = user.getPassword();
String saltMD5 = MD5Utils.getSaltMD5(password); String saltMD5 = MD5Utils.getSaltMD5(password);
@@ -134,6 +133,7 @@ public class MyUserController {
*/ */
@RequestMapping("/update") @RequestMapping("/update")
public R update(@RequestBody MyUserEntity user){ public R update(@RequestBody MyUserEntity user){
System.out.println(user.toString());
userService.updateById(user); userService.updateById(user);
return R.ok(); return R.ok();
} }

View File

@@ -5,7 +5,7 @@ spring:
database: 0 database: 0
host: 39.106.36.183 host: 39.106.36.183
port: 6379 port: 6379
# password: Jgll2015 # 密码(默认为空) password: Jgll2015 # 密码(默认为空)
timeout: 6000000ms # 连接超时时长(毫秒) timeout: 6000000ms # 连接超时时长(毫秒)
jedis: jedis:
pool: pool: