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 }