|
@@ -38,7 +38,7 @@ func (b *WechatApi) Auth(c *gin.Context) {
|
|
|
userSys.WechatId = userInfo.OpenID
|
|
|
userService.SetUserInfo(userSys)
|
|
|
}
|
|
|
- c.String(http.StatusOK, "您已成功授权《经开创城进行时》!")
|
|
|
+ c.String(http.StatusOK, "您已成功授权《"+global.GVA_CONFIG.Wxxcx.Name+"创城进行时》!")
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -71,7 +71,7 @@ func (b *WechatApi) Req(c *gin.Context) {
|
|
|
} else {
|
|
|
global.GVA_LOG.Info("用户已存在", zap.Any("err", err), zap.Any("sysUser", sysUser))
|
|
|
}
|
|
|
- text := message.NewText("【经开创城进行时】感谢您的关注!")
|
|
|
+ text := message.NewText("【" + global.GVA_CONFIG.Wxxcx.Name + "创城进行时】感谢您的关注!")
|
|
|
//text := message.NewText("【经开创城进行时】感谢您的关注! \r\n <a href='https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx66e0fbb5a735bcc4&redirect_uri=" + url.QueryEscape(
|
|
|
// global.GVA_CONFIG.Wxxcx.AuthUrl) + "/wechat/auth&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'>点我授权</a>")
|
|
|
return &message.Reply{MsgType: message.MsgTypeText, MsgData: text}
|