feat: 添加docker-compose配置和用户管理逻辑更新

fix(ci): 移除敏感信息并更新SSH认证方式

refactor: 清理无用文件和更新Makefile配置

docs: 添加项目配置文件和更新环境变量说明
This commit is contained in:
2025-07-22 08:53:30 -07:00
parent cc6ebc18e5
commit a73a3f2313
10 changed files with 100 additions and 320 deletions
@@ -44,6 +44,8 @@ func (l *UpdateUserBasicInfoLogic) UpdateUserBasicInfo(req *types.UpdateUserBasi
userInfo.Balance = req.Balance
userInfo.GiftAmount = req.GiftAmount
userInfo.Commission = req.Commission
userInfo.IsAdmin = &req.IsAdmin
userInfo.Enable = &req.Enable
if req.Password != "" {
if userInfo.Id == 2 && isDemo {