This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
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
#1494
update
pull/1565/head
chenyifan01
3 years ago
parent
3405e302f7
commit
f823e04a96
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
routers/authentication/wechat.go
+ 6
- 0
routers/authentication/wechat.go
View File
@@ -82,6 +82,12 @@ func UnbindWechat(ctx *context.Context) {
// GetBindPage
func GetBindPage(ctx *context.Context) {
userId := ctx.User.ID
r, _ := createQRCode4Bind(userId)
if r != nil {
ctx.Data["qrcode"] = r
}
ctx.HTML(200, tplBindPage)
}
Write
Preview
Loading…
Cancel
Save