|
@@ -600,8 +600,8 @@ func (this *UserAccount) PhoneBind() {
|
|
code := this.GetString("code")
|
|
code := this.GetString("code")
|
|
mode := this.GetString("mode")
|
|
mode := this.GetString("mode")
|
|
email := this.GetString("email")
|
|
email := this.GetString("email")
|
|
- log.Println("绑定手机号开始1", phone, code, mode, email)
|
|
|
|
- if step == 1 {
|
|
|
|
|
|
+ log.Println("绑定手机号开始1","phone:" ,phone,"code:" , code, "mode:" ,mode,"email:" , email)
|
|
|
|
+ if step == 1 {
|
|
//校验图形验证码
|
|
//校验图形验证码
|
|
if pass, err := imgCaptchaCheck(this.Session(), userId, code); !pass || err != nil {
|
|
if pass, err := imgCaptchaCheck(this.Session(), userId, code); !pass || err != nil {
|
|
return nil, err
|
|
return nil, err
|