Browse Source

no message

xingzai 1 year ago
parent
commit
a883818d49
2 changed files with 2 additions and 4 deletions
  1. 1 3
      services/cygx_yanxuan_special.go
  2. 1 1
      utils/constants.go

+ 1 - 3
services/cygx_yanxuan_special.go

@@ -53,9 +53,7 @@ func SendReviewTemplateMsgAdmin(specialId int) (err error) {
 		openIdArr = append(openIdArr, v.OpenId)
 	}
 	redirectUrl := ""
-	if utils.RunMode == "release" {
-		redirectUrl = utils.WX_MSG_PATH_YX_SPECIAL_ENABLE_DETAIL + strconv.Itoa(specialId)
-	}
+	redirectUrl = utils.WX_MSG_PATH_YX_SPECIAL_ENABLE_DETAIL + strconv.Itoa(specialId)
 	sendInfo := new(SendWxTemplate)
 	sendInfo.Keyword1 = keyword1
 	sendInfo.Keyword2 = keyword2

+ 1 - 1
utils/constants.go

@@ -181,7 +181,7 @@ const (
 	WX_MSG_PATH_YX_SURVEY_DETAIL         = "pages-purchaser/survey/surveyDetail?surveyId="         //用户提交研选调研需求
 	WX_MSG_PATH_APPLY_COLLECTION_DETAIL  = "reportPages/bulletinDetail/bulletinDetail?id="         //精选看板申请详情页
 	WX_MSG_PATH_YX_SPECIAL_DETAIL        = "pages-purchaser/noteAndViewpoint/noteAndViewpoint?id=" //研选专栏详情
-	WX_MSG_PATH_YX_SPECIAL_ENABLE_DETAIL = "pages-purchaser/toExamine/toExamine?id="               //研选专栏审核详情页面
+	WX_MSG_PATH_YX_SPECIAL_ENABLE_DETAIL = "pages-purchaser/toExamine/toExamine?isMessage=模板&id="  //研选专栏审核详情页面
 	WX_MSG_PATH_YX_SPECIAL_CENTER        = "pages-purchaser/contentAllPage/contentAllPage"         //研选专栏内容中心
 )