1
This commit is contained in:
@@ -29,7 +29,7 @@ var (
|
||||
|
||||
func (c *PurchaseHandler) isAfsMsg(orderStatus string, orderId string) bool {
|
||||
switch orderStatus {
|
||||
case tao_vegetable.OrderStatusApplyAfs, tao_vegetable.OrderStatusCancelAfs, tao_vegetable.OrderStatusOnSaleCancel:
|
||||
case tao_vegetable.OrderStatusApplyAfs, tao_vegetable.OrderStatusCancelAfs:
|
||||
order, _ := partner.CurOrderManager.LoadOrder2(orderId, model.VendorIDTaoVegetable)
|
||||
if order != nil {
|
||||
return true
|
||||
@@ -39,6 +39,11 @@ func (c *PurchaseHandler) isAfsMsg(orderStatus string, orderId string) bool {
|
||||
if afsOrder != nil {
|
||||
return true
|
||||
}
|
||||
case tao_vegetable.OrderStatusOnSaleCancel:
|
||||
order, _ := partner.CurOrderManager.LoadOrder(orderId, model.VendorIDTaoVegetable)
|
||||
if order != nil {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user