feat(用户管理): 添加用户备注字段并优化用户信息更新逻辑

为User类型添加remark字段以支持用户备注功能
重构updateUserBasicInfoLogic使用事务处理用户信息更新
优化错误处理和日志记录
This commit is contained in:
2026-01-13 19:04:59 -08:00
parent 01ccd44e84
commit 869d7fbe59
3 changed files with 91 additions and 79 deletions
+1
View File
@@ -2604,6 +2604,7 @@ type User struct {
EnableTradeNotify bool `json:"enable_trade_notify"`
LastLoginTime int64 `json:"last_login_time"`
MemberStatus string `json:"member_status"`
Remark string `json:"remark"`
AuthMethods []UserAuthMethod `json:"auth_methods"`
UserDevices []UserDevice `json:"user_devices"`
CreatedAt int64 `json:"created_at"`