- change SendFilesToStores.title to optional.

This commit is contained in:
gazebo
2019-01-23 19:59:57 +08:00
parent 3a0f47790f
commit 55385ab563
2 changed files with 4 additions and 1 deletions

View File

@@ -303,6 +303,9 @@ func PushJDBadCommentToWeiXin(comment *legacymodel.JxBadComments) (err error) {
func NotifySaleBill(storeID int, title, fileURL string) (err error) {
globals.SugarLogger.Debugf("NotifySaleBill storeID:%d, fileURL:%s", storeID, fileURL)
if title == "" {
title = "当期账单"
}
data := map[string]interface{}{
"first": map[string]interface{}{
"value": "新的账单上传成功!",