- only send ebai order info

This commit is contained in:
gazebo
2018-11-22 10:28:41 +08:00
parent 3835a47c71
commit 334db9d62b
2 changed files with 4 additions and 4 deletions

View File

@@ -113,7 +113,7 @@ func SendMsgToStore(storeID int, templateID, downloadURL string, data interface{
func NotifyNewOrder(order *model.GoodsOrder) (err error) {
globals.SugarLogger.Debugf("NotifyNewOrder orderID:%s", order.VendorOrderID)
if order.VendorID == model.VendorIDEBAI {
if order.VendorID == model.VendorIDELM {
return nil
}
@@ -165,7 +165,7 @@ func NotifyNewOrder(order *model.GoodsOrder) (err error) {
func NotifyWaybillStatus(bill *model.Waybill, order *model.GoodsOrder) error {
globals.SugarLogger.Debugf("NotifyWaybillStatus orderID:%s bill:%v", order.VendorOrderID, bill)
if order.VendorID == model.VendorIDEBAI {
if order.VendorID == model.VendorIDELM {
return nil
}