This commit is contained in:
邹宗楠
2023-07-06 14:08:50 +08:00
parent 81ea10167e
commit 7897be1a54

View File

@@ -28,7 +28,6 @@ var (
) )
func (c *PurchaseHandler) isAfsMsg(orderStatus string, orderId string) bool { func (c *PurchaseHandler) isAfsMsg(orderStatus string, orderId string) bool {
if orderStatus == tao_vegetable.OrderStatusApplyAfs || orderStatus == tao_vegetable.OrderStatusCancelAfs || orderStatus == tao_vegetable.OrderStatusRefundSuccess {
switch orderStatus { switch orderStatus {
case tao_vegetable.OrderStatusApplyAfs, tao_vegetable.OrderStatusCancelAfs, tao_vegetable.OrderStatusOnSaleCancel: case tao_vegetable.OrderStatusApplyAfs, tao_vegetable.OrderStatusCancelAfs, tao_vegetable.OrderStatusOnSaleCancel:
order, _ := partner.CurOrderManager.LoadOrder2(orderId, model.VendorIDTaoVegetable) order, _ := partner.CurOrderManager.LoadOrder2(orderId, model.VendorIDTaoVegetable)
@@ -41,7 +40,6 @@ func (c *PurchaseHandler) isAfsMsg(orderStatus string, orderId string) bool {
return true return true
} }
} }
}
return false return false
} }