This commit is contained in:
邹宗楠
2023-07-10 18:43:51 +08:00
parent acf35dc0f4
commit 347edd32b7
2 changed files with 3 additions and 3 deletions

View File

@@ -66,11 +66,11 @@ func (a *API) PartialRefundReason(req *request2.AlibabaTclsAelophyRefundCsapplyr
}
// PartialRefund 商户逆向取消订单
func (a *API) PartialRefund(req *request2.AlibabaTclsAelophyRefundCsapplyRequest) error {
func (a *API) PartialRefund(req *request2.AlibabaTclsAelophyRefundCsapplyNewRequest) error {
globals.SugarLogger.Debugf("PartialRefund := %s", utils.Format4Output(req, false))
client := ability3156.NewAbility3156(&a.client)
data, _ := client.AlibabaTclsAelophyRefundCsapply(req, a.token)
data, _ := client.AlibabaTclsAelophyRefundCsapplyNew(req, a.token)
if !*data.ApiResult.Success {
globals.SugarLogger.Debugf("requestId[%s],err[%s]", data.RequestId, utils.Format4Output(data, false))

View File

@@ -21,7 +21,7 @@ func TestName(t *testing.T) {
func TestGetOrderDetail(t *testing.T) {
requestParam := &request591.AlibabaAelophyOrderGetRequest{OrderGetRequest: &domain591.AlibabaAelophyOrderGetOrderGetRequest{
StoreId: utils.String2Pointer("JX668594"),
BizOrderId: utils.Int64ToPointer(5000900001958720922),
BizOrderId: utils.Int64ToPointer(5000900194372970922),
}}
data, err := apiTao.QueryOrderDetail(requestParam)
globals.SugarLogger.Debugf("data := %s", utils.Format4Output(data, false))