|
@@ -87,7 +87,7 @@ func SendWxCategoryMsgSpecialAuthor(specialId, status int) (err error) {
|
|
|
return err
|
|
|
}
|
|
|
|
|
|
- openIdList, err := models.GetUserRecordListByMobile(4, user.Mobile)
|
|
|
+ openIdList, err := models.GetMfyxUserRecordListByMobile(12, user.Mobile)
|
|
|
if err != nil && err.Error() != utils.ErrNoRow() {
|
|
|
return err
|
|
|
}
|
|
@@ -168,7 +168,7 @@ func SendWxCategoryMsgSpecialFollow(specialId int) (err error) {
|
|
|
|
|
|
mobile = strings.TrimRight(mobile, ",")
|
|
|
|
|
|
- openIdList, e := models.GetWxOpenIdByMobileList(mobile)
|
|
|
+ openIdList, e := models.GetMfyxWxOpenIdByMobileList(mobile)
|
|
|
if e != nil {
|
|
|
err = errors.New("GetSellerByAdminId, Err: " + e.Error())
|
|
|
return
|
|
@@ -212,7 +212,7 @@ func SendReviewCategoryTemplateMsgAdmin(specialId int) (err error) {
|
|
|
}
|
|
|
}()
|
|
|
//王芳、葛琳和沈涛
|
|
|
- openIdList, e := models.GetUserRecordListByMobile(4, utils.WxMsgTemplateIdYXSpecialReview)
|
|
|
+ openIdList, e := models.GetMfyxUserRecordListByMobile(12, utils.WxMsgTemplateIdYXSpecialReview)
|
|
|
if e != nil && e.Error() != utils.ErrNoRow() {
|
|
|
err = errors.New("GetUserRecordListByMobile, Err: " + e.Error())
|
|
|
return err
|
|
@@ -381,7 +381,7 @@ func SendNeiRongZuActivitieSignCategoryTemplateMsg(user *models.WxUserItem, acti
|
|
|
err = errors.New("GetConfigByCode, Err: " + e.Error() + configCode)
|
|
|
return
|
|
|
}
|
|
|
- openIdList, e := models.GetUserRecordListByMobile(4, cnf.ConfigValue+","+sellerItemQy.Mobile+","+utils.MobileShenTao)
|
|
|
+ openIdList, e := models.GetMfyxUserRecordListByMobile(12, cnf.ConfigValue+","+sellerItemQy.Mobile+","+utils.MobileShenTao)
|
|
|
if e != nil && e.Error() != utils.ErrNoRow() {
|
|
|
err = errors.New("GetUserRecordListByMobile, Err: " + e.Error() + cnf.ConfigValue)
|
|
|
return
|
|
@@ -435,7 +435,7 @@ func SendActivitieCancelSignCategoryTemplateMsg(user *models.WxUserItem, activit
|
|
|
err = errors.New("GetConfigByCode, Err: " + e.Error() + configCode)
|
|
|
return
|
|
|
}
|
|
|
- openIdList, e := models.GetUserRecordListByMobile(4, cnf.ConfigValue+","+sellerItemQy.Mobile+","+utils.MobileShenTao)
|
|
|
+ openIdList, e := models.GetMfyxUserRecordListByMobile(12, cnf.ConfigValue+","+sellerItemQy.Mobile+","+utils.MobileShenTao)
|
|
|
if e != nil && e.Error() != utils.ErrNoRow() {
|
|
|
err = errors.New("GetUserRecordListByMobile, Err: " + e.Error() + cnf.ConfigValue)
|
|
|
return
|
|
@@ -505,7 +505,7 @@ func SendCommentWxCategoryTemplateMsg(req models.AddCygxArticleCommentReq, user
|
|
|
} else {
|
|
|
mobile = companyItem.Mobile + "," + utils.WxMsgTemplateIdAskMsgMobilePublic
|
|
|
}
|
|
|
- openIdList, e := models.GetWxOpenIdByMobileList(mobile)
|
|
|
+ openIdList, e := models.GetMfyxWxOpenIdByMobileList(mobile)
|
|
|
if e != nil {
|
|
|
err = errors.New("GetWxOpenIdByMobileList, Err: " + e.Error())
|
|
|
return
|
|
@@ -605,7 +605,7 @@ func SendActivitieSignCategoryTemplateMsg(user *models.WxUserItem, activityDetai
|
|
|
keyword4 = utils.TruncateActivityNameString(activityDetail.ActivityName)
|
|
|
keyword5 = time.Now().Format(utils.FormatDateTimeMinute2)
|
|
|
|
|
|
- openIdList, e := models.GetWxOpenIdByMobileSliceList(mobiles)
|
|
|
+ openIdList, e := models.GetMfyxWxOpenIdByMobileSliceList(mobiles)
|
|
|
if e != nil {
|
|
|
err = errors.New("GetWxOpenIdByMobileList, Err: " + e.Error())
|
|
|
return
|
|
@@ -664,7 +664,7 @@ func SendWxCategoryMsgInteractive(user *models.WxUserItem, interactive string, a
|
|
|
return err
|
|
|
}
|
|
|
if sellerItemQy != nil {
|
|
|
- openIdList, e := models.GetWxOpenIdByMobileList(sellerItemQy.Mobile)
|
|
|
+ openIdList, e := models.GetMfyxWxOpenIdByMobileList(sellerItemQy.Mobile)
|
|
|
if e != nil {
|
|
|
err = errors.New("GetSellerByAdminId, Err: " + e.Error())
|
|
|
return
|
|
@@ -729,7 +729,7 @@ func SearchKeywordUserRmindCategoryMsg(user *models.WxUserItem, keyWord string)
|
|
|
return
|
|
|
}
|
|
|
if sellerItemQy != nil {
|
|
|
- openIdList, e := models.GetWxOpenIdByMobileList(sellerItemQy.Mobile)
|
|
|
+ openIdList, e := models.GetMfyxWxOpenIdByMobileList(sellerItemQy.Mobile)
|
|
|
if e != nil {
|
|
|
err = errors.New("GetSellerByAdminId, Err: " + e.Error())
|
|
|
return
|