This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
提交代码。
Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.9.2^2
zouap
3 years ago
parent
2cd6a64f81
commit
a3f338413b
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
models/user_invitation.go
+1
-0
routers/user/Invitation.go
+ 1
- 0
models/user_invitation.go
View File
@@ -14,6 +14,7 @@ type Invitation struct {
UserID int64 `xorm:"NOT NULL DEFAULT 0"`
Phone string `xorm:"INDEX"`
Avatar string `xorm:"-"`
IsActive bool `xorm:"-"`
CreatedUnix timeutil.TimeStamp `xorm:"created"`
}
+ 1
- 0
routers/user/Invitation.go
View File
@@ -52,6 +52,7 @@ func GetInvitaionCode(ctx *context.Context) {
} else {
record.Avatar = strings.TrimRight(setting.AppSubURL, "/") + "/user/avatar/" + tmpUser.Name + "/" + strconv.Itoa(-1)
}
record.IsActive = tmpUser.IsActive
}
}
resultJsonMap["invitation_users"] = re
Write
Preview
Loading…
Cancel
Save