Commit 7fd0a8a5 authored by 张龙发's avatar 张龙发

修改用户信息后用用户头像消失

parent 6c77f63e
...@@ -84,6 +84,8 @@ public class UserController extends Controller { ...@@ -84,6 +84,8 @@ public class UserController extends Controller {
renderJson("msg", "数据参数错误,请重新修改"); renderJson("msg", "数据参数错误,请重新修改");
return; return;
} }
//20201224 zhanglongfa CP-1933:修改用户信息后用用户头像消失
user.remove("image");
boolean flag = user.update(); boolean flag = user.update();
if (flag) { if (flag) {
renderJson(Ret.ok("msg", "数据修改成功!")); renderJson(Ret.ok("msg", "数据修改成功!"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment