From 4e9ae5c955c3f61a6ede975af2c2d5e460413467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 31 Jul 2023 17:28:04 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/order.go | 2 +- business/partner/purchase/tao_vegetable/order_afs.go | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index bdc6093dc..679172eec 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -2686,7 +2686,7 @@ func UpdateTiktokShopTotalMoney() { func UpdateTaoSettleInfo() { db := dao.GetDB() - storeMaps, err := dao.GetStoresMapList(db, []int{model.VendorIDTaoVegetable}, []int{667321}, nil, 0, 0, "", "", "") + storeMaps, err := dao.GetStoresMapList(db, []int{model.VendorIDTaoVegetable}, []int{667321}, nil, -9, -1, "", "", "") if err != nil { return } diff --git a/business/partner/purchase/tao_vegetable/order_afs.go b/business/partner/purchase/tao_vegetable/order_afs.go index cea3acafa..faa65173a 100644 --- a/business/partner/purchase/tao_vegetable/order_afs.go +++ b/business/partner/purchase/tao_vegetable/order_afs.go @@ -88,11 +88,6 @@ func (c *PurchaseHandler) onAfsOrderMsg(status string, msg interface{}) (retVal if err != nil { return tao_vegetable.CallBackResultInfo(err) } - if *skuList.OrderStatus != tao_vegetable.OrderStatusSuccess { - // 用户申请售后,只有订单完成之后才可以!现在是售中取消和售后取消都在走这个接口 - // 所以只处理售后取消的消息 - return tao_vegetable.CallBackResultInfo(nil) - } for _, refundSku := range refundData.SubRefundOrders { // 本次退款订单 afsOrder = &model.AfsOrder{