xingzai 3 vuotta sitten
vanhempi
commit
7902cb7127
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      services/user.go

+ 1 - 1
services/user.go

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