xingzai 3 år sedan
förälder
incheckning
e15f9d461d
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      services/user.go

+ 2 - 2
services/user.go

@@ -213,8 +213,8 @@ func BindWxUser(openid, mobile, email, countryCode string) (wxUser *models.WxUse
 			IsRegister:          1,
 			Source:              3,
 			CountryCode:         countryCode,
-			OutboundMobile:      countryCode,
-			OutboundCountryCode: mobile,
+			OutboundMobile:      mobile,
+			OutboundCountryCode: countryCode,
 		}
 		tmpUserId, addUserErr := models.AddWxUser(user)
 		if err != nil {