- SendFilesToStores add param title
This commit is contained in:
@@ -265,7 +265,7 @@ func PushJDBadCommentToWeiXin(comment *legacymodel.JxBadComments) (err error) {
|
||||
return SendMsgToStore(storeID, WX_BAD_COMMENT_PUSH_TEMPLATE_ID, fmt.Sprintf("%s%d", WX_TO_SHOW_COMMENTS_DETAIL_URL, storeID), data)
|
||||
}
|
||||
|
||||
func NotifySaleBill(storeID int, fileURL string) (err error) {
|
||||
func NotifySaleBill(storeID int, title, fileURL string) (err error) {
|
||||
globals.SugarLogger.Debugf("NotifySaleBill storeID:%d, fileURL:%s", storeID, fileURL)
|
||||
data := map[string]interface{}{
|
||||
"first": map[string]interface{}{
|
||||
@@ -273,7 +273,7 @@ func NotifySaleBill(storeID int, fileURL string) (err error) {
|
||||
"color": "#00008B",
|
||||
},
|
||||
"keyword1": map[string]interface{}{
|
||||
"value": "账单",
|
||||
"value": title,
|
||||
},
|
||||
"keyword2": map[string]interface{}{
|
||||
"value": "点击查看详情",
|
||||
|
||||
Reference in New Issue
Block a user