fix[任务模块]:排队信息返回价格优化,用户昵称头像更新逻辑,新增获取可查看文件接口等

This commit is contained in:
2025-02-20 16:56:33 +08:00
parent d655672497
commit aea5d81310
16 changed files with 163 additions and 44 deletions
@@ -144,6 +144,12 @@ public class SysUserController {
appUserService.updateById(sysUser);
}
@PatchMapping("/user")
@CachePut(value = "user", key = "#sysUser.username", unless="#result == null")
public Result updateSysUserInfo(@RequestBody SysUser sysUser) {
return Result.succeed(appUserService.updateById(sysUser),"更新成功");
}
/**
* 管理后台给用户分配角色
*
@@ -4,10 +4,10 @@ server:
spring:
application:
name: user-center
# cloud:
# nacos:
# discovery:
# ip: 124.222.128.40
cloud:
nacos:
discovery:
ip: 124.222.128.40
# cloud:
# nacos:
# discovery: