ziwen 2 سال پیش
والد
کامیت
753ea5ff65
1فایلهای تغییر یافته به همراه2 افزوده شده و 5 حذف شده
  1. 2 5
      controllers/report.go

+ 2 - 5
controllers/report.go

@@ -3165,11 +3165,8 @@ func (this *ReportController) CommentAdd() {
 			}
 			if articleId > 1000000{
 				//发给汪洋
-				cnf, _ := models.GetConfigByCode("tpl_msg")
-				if cnf != nil {
-					openIpItem, _ := models.GetUserRecordByMobile(4, cnf.ConfigValue)
-					openIdList = append(openIdList, openIpItem)
-				}
+				openIpItem, _ := models.GetUserRecordByMobile(4, utils.ActSendMsgMobile)
+				openIdList = append(openIdList, openIpItem)
 			}
 			services.SendCommentWxTemplateMsg(articleInfo.Title, user.CompanyName, user.RealName, sellerItem.RealName,openIdList, req.ArticleId)
 		}