zwxi 9 months ago
parent
commit
eb1021e5d3
2 changed files with 9 additions and 5 deletions
  1. 1 1
      services/wx_category_template_msg.go
  2. 8 4
      utils/config.go

+ 1 - 1
services/wx_category_template_msg.go

@@ -328,7 +328,7 @@ func SendMfyxActivityBeginMsgMeeting(cont context.Context) (err error) {
 		sendInfo.RedirectTarget = 4
 		sendInfo.SendType = utils.TEMPLATE_MSG_CYGX_ARTICLE_ADD
 		sendInfo.OpenIdArr = openIdArr
-		//sendInfo.RedirectUrl = redirectUrl
+		sendInfo.RedirectUrl = utils.WX_MSG_PATH_YX_ACTIVITY_DETAIL + strconv.Itoa(v.ActivityId)
 		err = SendCategoryTemplateMsg(sendInfo)
 		if err != nil {
 			return

+ 8 - 4
utils/config.go

@@ -21,10 +21,11 @@ var (
 
 // 微信配置信息
 var (
-	WxId        string //微信原始ID
-	WxAppId     string //查研观向小程序
-	WxAppSecret string //查研观向小程序
-
+	WxId              string //微信原始ID
+	WxAppId           string //查研观向小程序
+	WxAppSecret       string //查研观向小程序
+	WxMfyxAppId       string //买方研选小程序APPID
+	WxMfyxAppSecret   string //买方研选小程序 秘钥
 	WxPublicIdXzs     string //查研观向小助手公众号
 	WxPublicSecretXzs string //查研观向小助手公众号
 
@@ -160,6 +161,9 @@ func init() {
 	HtgjName = "海通国际"
 	HtgjPublicMobile = "18767183955"
 	StrategyPlatform = "https://vmp.hzinsights.com/v2/articles/"
+	// 买方研选
+	WxMfyxAppId = "wx5e3240ab90c247ac"
+	WxMfyxAppSecret = "6b1316b46dc9c63429f5c1df6f51b4ac"
 	if RunMode == "release" {
 		WxAppId = "wxcc32b61f96720d2f"
 		WxAppSecret = "06894933fafb24dafead7eaae09c08e0"