From 7ec5b4c56e5803b0469759d50a7ca462cad20f58 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Mon, 13 Sep 2021 11:33:23 +0800 Subject: [PATCH] aa --- business/jxutils/weixinmsg/weixinmsg.go | 2 +- business/model/message.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/business/jxutils/weixinmsg/weixinmsg.go b/business/jxutils/weixinmsg/weixinmsg.go index 766998700..81244bfca 100644 --- a/business/jxutils/weixinmsg/weixinmsg.go +++ b/business/jxutils/weixinmsg/weixinmsg.go @@ -1043,7 +1043,7 @@ func NotifyKnowledge(storeID int, title string) (err error) { "value": "", }, } - return SendMsgToStore(storeID, templateID, globals.WxBackstageHost+fmt.Sprintf("%s%d", WX_TO_ORDER_PAGE_URL, storeID), "pages/user-center/main", data) + return SendMsgToStore(storeID, templateID, globals.WxBackstageHost+fmt.Sprintf("%s%d", WX_TO_ORDER_PAGE_URL, storeID), "/pages/pagesStore/msg-list/main", data) } func SendUserMessage(ctx *jxcontext.Context, title, content string, userIDs []string, isAsync, isContinueWhenError bool) (hint string, err error) { diff --git a/business/model/message.go b/business/model/message.go index dc5e3546d..c3b6d9363 100644 --- a/business/model/message.go +++ b/business/model/message.go @@ -88,6 +88,7 @@ type KnowledgeDepot struct { Title string `json:"title"` //标题 Content string `orm:"type(text)" json:"content"` //每条知识的内容 + IsCheck int `json:"isCheck"` //是否勾选 } type DepotMedia struct {