修改反馈

This commit is contained in:
Rosy-zhudan
2019-10-10 09:42:41 +08:00
parent de617fbc49
commit 1c5c0bbbcc
4 changed files with 11 additions and 12 deletions

View File

@@ -644,8 +644,6 @@ func NotifyStoreStatusChanged(openUserID, title, content string) (err error) {
func NotifyStoreAlertMessage(storeID int, storeName, title, content string) (err error) {
globals.SugarLogger.Debugf("NotifyStoreAlertMessage storeID:%d, storeName:%d, title:%s, content:%s", storeID, storeName, title, content)
templateID := WX_STORE_ALERT_TEMPLATE_ID
msgID, msgStatusID := -1, -1
fileURL := globals.WxBackstageHost + fmt.Sprintf(WX_TO_SHOW_MSG, msgID, msgStatusID)
data := map[string]interface{}{
"first": map[string]interface{}{
"value": "",
@@ -667,5 +665,5 @@ func NotifyStoreAlertMessage(storeID int, storeName, title, content string) (err
"value": "",
},
}
return SendMsgToStore(storeID, templateID, fileURL, fmt.Sprintf(WX_MINI_TO_SHOW_MSG, msgID, msgStatusID), data)
return SendMsgToStore(storeID, templateID, "", "", data)
}