This commit is contained in:
苏尹岚
2021-04-20 16:28:01 +08:00
parent e38f3db539
commit ae03393043
2 changed files with 4 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ func pushToSingle(content, title string, storeID int) {
if !globals.IsProductEnv() {
return
}
if storeID == 0{
if storeID == 0 {
return
}
storePushs, err := dao.GetStorePushClient(db, storeID, "")

View File

@@ -882,6 +882,9 @@ func NotifyAdjustOrder(order *model.GoodsOrder) (err error) {
if order.VendorID == model.VendorIDELM {
return nil
}
if len(order.Skus) == 0 {
return
}
suffix := ""
storeDetail, err := dao.GetStoreDetail(dao.GetDB(), jxutils.GetSaleStoreIDFromOrder(order), order.VendorID, "")
if err == nil && storeDetail != nil {