Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
aserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
15所TongWeb
aserver
Commits
7fd0a8a5
Commit
7fd0a8a5
authored
Dec 24, 2020
by
张龙发
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户信息后用用户头像消失
parent
6c77f63e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
UserController.java
...n/java/com/archser/aserver/controller/UserController.java
+2
-0
No files found.
src/main/java/com/archser/aserver/controller/UserController.java
View file @
7fd0a8a5
...
@@ -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"
,
"数据修改成功!"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment