1
This commit is contained in:
25
platformapi/tao_vegetable/afs_test.go
Normal file
25
platformapi/tao_vegetable/afs_test.go
Normal file
@@ -0,0 +1,25 @@
|
||||
package tao_vegetable
|
||||
|
||||
import (
|
||||
domain2 "git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/ability3156/domain"
|
||||
request2 "git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/ability3156/request"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestAgreeUserCancel(t *testing.T) {
|
||||
|
||||
param := &request2.AlibabaTclsAelophyRefundAgreeRequest{
|
||||
StoreId: utils.String2Pointer("JX668594"),
|
||||
OutOrderId: utils.String2Pointer("3420907128196706112"),
|
||||
RefundId: utils.String2Pointer("1000010804386340781"),
|
||||
AuditMemo: utils.String2Pointer("商户同意退款"),
|
||||
SubRefundList: &[]domain2.AlibabaTclsAelophyRefundAgreeSubrefundlist{
|
||||
{OutSubOrderId: utils.String2Pointer("3420907128196706112"), RefundFee: utils.Int64ToPointer(2700)},
|
||||
},
|
||||
OrderFrom: utils.Int64ToPointer(utils.Str2Int64(TaoVegetableChannelCode)),
|
||||
}
|
||||
err := apiTao.AgreeUserCancel(param)
|
||||
globals.SugarLogger.Debugf("%v", err)
|
||||
}
|
||||
Reference in New Issue
Block a user