瀏覽代碼

no message

zhangchuanxing 1 周之前
父節點
當前提交
368e2fc33d
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      controllers/roadshow/activity.go
  2. 1 1
      services/wechat_send_msg.go

+ 1 - 1
controllers/roadshow/activity.go

@@ -385,7 +385,7 @@ func (this *ActivityController) Delete() {
 		}
 		openIdList = append(openIdList, openIdObj)
 	}
-	go services.SendWxMsgWithRoadshowSellerActivity(detail.CompanyName, "参会", "已添加", time.Now().Format(utils.FormatDateTime), openIdList)
+	go services.SendWxMsgWithRoadshowSellerActivity(detail.CompanyName, "参会", "已删除", time.Now().Format(utils.FormatDateTime), openIdList)
 	br.Ret = 200
 	br.Success = true
 	br.Msg = "删除成功"

+ 1 - 1
services/wechat_send_msg.go

@@ -1909,7 +1909,7 @@ func SendWxMsgWithRoadshowSellerActivity(keyword1, keyword2, keyword3, keyword4
 	sendInfo.Keyword2 = keyword2
 	sendInfo.Keyword3 = keyword3
 	sendInfo.Keyword4 = keyword4
-	sendInfo.TemplateId = utils.WxMsgTemplateIdWithRoadshowPending
+	sendInfo.TemplateId = utils.WxMsgTemplateIdWithRoadshowActivityPending
 	//if wxAppPath != "" && utils.RunMode == "release" {
 	//	sendInfo.RedirectUrl = wxAppPath
 	//}