|
@@ -203,7 +203,6 @@ func SendWxCategoryMsgSpecialFollow(specialId int) (err error) {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
-
|
|
|
// SendReviewCategoryTemplateMsgAdmin 提交审核时给王芳,汪洋发消息
|
|
|
func SendReviewCategoryTemplateMsgAdmin(specialId int) (err error) {
|
|
|
defer func() {
|
|
@@ -212,11 +211,15 @@ func SendReviewCategoryTemplateMsgAdmin(specialId int) (err error) {
|
|
|
}
|
|
|
}()
|
|
|
//王芳、葛琳和沈涛
|
|
|
- openIdList, e := models.GetMfyxUserRecordListByMobile(12, utils.WxMsgTemplateIdYXSpecialReview)
|
|
|
- if e != nil && e.Error() != utils.ErrNoRow() {
|
|
|
+ mobile := utils.WxMsgTemplateIdAskMsgMobilePublic + utils.RAI_MOBILE_GE_LIN_WEN
|
|
|
+ openIdList, e := models.GetMfyxWxOpenIdByMobileList(mobile)
|
|
|
+ if e != nil {
|
|
|
err = errors.New("GetUserRecordListByMobile, Err: " + e.Error())
|
|
|
return err
|
|
|
}
|
|
|
+ if len(openIdList) == 0 {
|
|
|
+ return
|
|
|
+ }
|
|
|
specialItem, e := models.GetYanxuanSpecialItemById(specialId)
|
|
|
if e != nil {
|
|
|
err = errors.New("GetYanxuanSpecialFollowUserById, Err: " + e.Error())
|
|
@@ -259,4 +262,4 @@ func SendReviewCategoryTemplateMsgAdmin(specialId int) (err error) {
|
|
|
return
|
|
|
}
|
|
|
return
|
|
|
-}
|
|
|
+}
|