|
@@ -844,7 +844,7 @@ func SendWxCategoryMsgByYanxuanSpecialMassageByAuthor(content string, yanxuanSpe
|
|
|
var mobile string
|
|
|
//mobile = utils.WxMsgTemplateIdAskMsgMobilePublic
|
|
|
keyword1 = "专栏文章有新的留言"
|
|
|
- keyword2 = content
|
|
|
+ keyword2 = utils.TruncateActivityNameString(content)
|
|
|
|
|
|
userInfo, e := models.GetWxUserItemByUserId(yanxuanSpecialBySpeciaDetail.UserId)
|
|
|
if e != nil {
|
|
@@ -902,7 +902,7 @@ func SendWxCategoryMsgByYanxuanSpecialMassage(parentId, messageId int, content s
|
|
|
var mobile string
|
|
|
keyword1 = yanxuanSpecialBySpeciaDetail.Title
|
|
|
keyword2 = "作者回复了您的留言"
|
|
|
- keyword3 = content
|
|
|
+ keyword3 = utils.TruncateActivityNameString(content)
|
|
|
keyword4 = time.Now().Format(utils.FormatDateTimeMinute2)
|
|
|
if utils.RunMode == "release" {
|
|
|
redirectUrl = utils.WX_MSG_PATH_YX_SPECIAL_MASSAGE_DETAIL + strconv.Itoa(messageId)
|