1
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user