From 8d28a1f4b3f7b0e66510fb5860e80567e4246067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 10 Jul 2023 17:52:39 +0800 Subject: [PATCH] 1 --- platformapi/tao_vegetable/order_afs.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/platformapi/tao_vegetable/order_afs.go b/platformapi/tao_vegetable/order_afs.go index c394fb2b..b33521e3 100644 --- a/platformapi/tao_vegetable/order_afs.go +++ b/platformapi/tao_vegetable/order_afs.go @@ -28,13 +28,14 @@ func (a *API) AgreeUserCancel(req *request2.AlibabaTclsAelophyRefundAgreeRequest globals.SugarLogger.Debugf("requestId[%s],err[%s]", data.RequestId, utils.Format4Output(data, false)) return fmt.Errorf(*data.Result.ReturnMsg) } + globals.SugarLogger.Debugf("进入AgreeUserCancel := %s", utils.Format4Output(data, false)) return nil } // DisAgreeUserCancel 拒绝用户售后申请 func (a *API) DisAgreeUserCancel(req *request2.AlibabaTclsAelophyRefundDisagreeRequest) error { - globals.SugarLogger.Debugf("进入 DisAgreeUserCancel") + globals.SugarLogger.Debugf("进入 DisAgreeUserCancel : %s", utils.Format4Output(req, false)) client := ability3156.NewAbility3156(&a.client) data, _ := client.AlibabaTclsAelophyRefundDisagree(req, a.token) @@ -43,6 +44,7 @@ func (a *API) DisAgreeUserCancel(req *request2.AlibabaTclsAelophyRefundDisagreeR globals.SugarLogger.Debugf("requestId[%s],err[%s]", data.RequestId, utils.Format4Output(data, false)) return fmt.Errorf(*data.Result.ReturnMsg) } + globals.SugarLogger.Debugf("进入 DisAgreeUserCancel : %s", utils.Format4Output(data, false)) return nil } @@ -58,13 +60,14 @@ func (a *API) PartialRefundReason(req *request2.AlibabaTclsAelophyRefundCsapplyr globals.SugarLogger.Debugf("requestId[%s],err[%s]", data.RequestId, utils.Format4Output(data, false)) return nil, fmt.Errorf(*data.ApiResult.ErrMsg) } + globals.SugarLogger.Debugf("PartialRefundReason := %s", utils.Format4Output(data, false)) return data.ApiResult.Model, nil } // PartialRefund 商户逆向取消订单 func (a *API) PartialRefund(req *request2.AlibabaTclsAelophyRefundCsapplyRequest) error { - globals.SugarLogger.Debugf("进入 PartialRefund") + globals.SugarLogger.Debugf("PartialRefund := %s", utils.Format4Output(req, false)) client := ability3156.NewAbility3156(&a.client) data, _ := client.AlibabaTclsAelophyRefundCsapply(req, a.token) @@ -73,6 +76,7 @@ func (a *API) PartialRefund(req *request2.AlibabaTclsAelophyRefundCsapplyRequest globals.SugarLogger.Debugf("requestId[%s],err[%s]", data.RequestId, utils.Format4Output(data, false)) return fmt.Errorf(*data.ApiResult.ErrMsg) } + globals.SugarLogger.Debugf("PartialRefund := %s", utils.Format4Output(data, false)) return nil }