更新代码

This commit is contained in:
hero920103 committed 2025-11-11 16:34:49 +08:00
1 parent 8b8b0c54a1
commit 65b281fe35
21 files changed
+3536 -1414

No files matched your search

+10 -8
View File
@@ -202,14 +202,16 @@ func (c *UserController) GetUserInfo() {
"code": 0,
"message": "查询成功",
"data": map[string]interface{}{
"id": user.Id,
"username": user.Username,
"email": user.Email,
"avatar": user.Avatar,
"nickname": user.Nickname,
"tenant_id": user.TenantId,
"role": user.Role,
"status": user.Status,
"id": user.Id,
"username": user.Username,
"email": user.Email,
"avatar": user.Avatar,
"nickname": user.Nickname,
"tenant_id": user.TenantId,
"role": user.Role,
"status": user.Status,
"department_id": user.DepartmentId,
"position_id": user.PositionId,
},
}
c.ServeJSON()