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();
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ spring:
|
||||
database: 0
|
||||
host: 39.106.36.183
|
||||
port: 6379
|
||||
# password: Jgll2015 # 密码(默认为空)
|
||||
password: Jgll2015 # 密码(默认为空)
|
||||
timeout: 6000000ms # 连接超时时长(毫秒)
|
||||
jedis:
|
||||
pool:
|
||||
|
||||
Reference in New Issue
Block a user