Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
foodNexus-admin
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
副食品筹措管理平台
foodNexus-admin
Commits
4a29505e
Commit
4a29505e
authored
Sep 30, 2025
by
杨浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
d9ebf0d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
foodnexus-module-system/src/main/java/cn/iocoder/foodnexus/module/system/controller/app/auth/AppUserProfileController.java
+7
-2
No files found.
foodnexus-module-system/src/main/java/cn/iocoder/foodnexus/module/system/controller/app/auth/UserProfileController.java
→
foodnexus-module-system/src/main/java/cn/iocoder/foodnexus/module/system/controller/app/auth/
App
UserProfileController.java
View file @
4a29505e
...
...
@@ -34,7 +34,7 @@ import static cn.iocoder.foodnexus.framework.security.core.util.SecurityFramewor
@RequestMapping
(
"/system/user/profile"
)
@Validated
@Slf4j
public
class
UserProfileController
{
public
class
App
UserProfileController
{
@Resource
private
AdminUserService
userService
;
...
...
@@ -62,5 +62,10 @@ public class UserProfileController {
return
success
(
UserConvert
.
INSTANCE
.
convert
(
user
,
userRoles
,
dept
,
posts
));
}
@PutMapping
(
"/update"
)
@Operation
(
summary
=
"修改用户个人信息"
)
public
CommonResult
<
Boolean
>
updateUserProfile
(
@Valid
@RequestBody
UserProfileUpdateReqVO
reqVO
)
{
userService
.
updateUserProfile
(
getLoginUserId
(),
reqVO
);
return
success
(
true
);
}
}
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