This commit is contained in:
suyl
2021-09-13 11:33:23 +08:00
parent f0b6b14e69
commit 7ec5b4c56e
2 changed files with 2 additions and 1 deletions

View File

@@ -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) {

View File

@@ -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 {