|
@@ -378,9 +378,13 @@ func SendNeiRongZuActivitieSignCategoryTemplateMsg(user *models.WxUserItem, acti
|
|
|
return
|
|
|
}
|
|
|
var mobile string
|
|
|
+ var sellerRealName string
|
|
|
mobile = cnf.ConfigValue
|
|
|
if sellerItemQy != nil {
|
|
|
mobile += "," + sellerItemQy.Mobile // 如果有销售,拼接上销售的手机号
|
|
|
+ sellerRealName = sellerItemQy.RealName
|
|
|
+ } else {
|
|
|
+ sellerRealName = "__"
|
|
|
}
|
|
|
openIdList, e := models.GetMfyxUserRecordListByMobile(12, mobile+","+utils.MobileShenTao)
|
|
|
if e != nil && e.Error() != utils.ErrNoRow() {
|
|
@@ -398,7 +402,7 @@ func SendNeiRongZuActivitieSignCategoryTemplateMsg(user *models.WxUserItem, acti
|
|
|
}
|
|
|
var keywords []string
|
|
|
keywords = append(keywords, user.RealName, user.CompanyName,
|
|
|
- sellerItemQy.RealName, time.Now().Format(utils.FormatDateTimeMinute2),
|
|
|
+ sellerRealName, time.Now().Format(utils.FormatDateTimeMinute2),
|
|
|
utils.TruncateActivityNameString("报名:"+activityDetail.ActivityName))
|
|
|
|
|
|
//sendMap["miniprogram"] = map[string]interface{}{"appid": utils.WxAppId, "pagepath": "activityPages/activityDetail/activityDetail?id=" + strconv.Itoa(activityDetail.ActivityId)}
|