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