|
@@ -509,6 +509,9 @@ func BindAlipayAccount(c *gin.Context) { |
|
|
e.OutErr(c, e.ERR, err.Error()) |
|
|
e.OutErr(c, e.ERR, err.Error()) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
fmt.Println("BindAlipayAccount>>>>>>>>", info) |
|
|
|
|
|
utils.FilePutContents("BindAlipayAccount", utils.SerializeStr(info)) |
|
|
|
|
|
|
|
|
infoDb := implement.NewAlipayUserInfoDb(db.Db) |
|
|
infoDb := implement.NewAlipayUserInfoDb(db.Db) |
|
|
userInfo, err := infoDb.GetAlipayUserInfo(user.Id) |
|
|
userInfo, err := infoDb.GetAlipayUserInfo(user.Id) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|