Browse Source

绑定公众号

genlong 10 tháng trước cách đây
mục cha
commit
79db346d02
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      service/auth/auth_service.go

+ 2 - 2
service/auth/auth_service.go

@@ -364,9 +364,9 @@ func BindWxGzh(code string) (isBind bool, err error) {
 			}
 		} else { //修改微信小程序openid
 			logger.Info("wxUser.Id:%d", wxUser.Id)
-			err = userService.BindUserXcxOpenId(wxUser.Id, openId)
+			err = userService.BindUserGzhOpenId(wxUser.Id, openId)
 			if err != nil {
-				logger.Info("BindUserXcxOpenId,Err" + err.Error())
+				logger.Info("BindUserGzhOpenId,Err" + err.Error())
 			}
 		}
 	} else {