aa
This commit is contained in:
@@ -18,8 +18,8 @@ func init() {
|
||||
logger, _ := zap.NewDevelopment()
|
||||
sugarLogger = logger.Sugar()
|
||||
baseapi.Init(sugarLogger)
|
||||
// api = New("1Zbve", "ymsrrxlZXlmglK6Q", "MYsFZGgwwprIahzQ")
|
||||
api = New("1Zbve", "htvse3XEDhBnCTNo", "QM5RnGl6kNh3ENLT")
|
||||
api = New("1Zbve", "ymsrrxlZXlmglK6Q", "MYsFZGgwwprIahzQ")
|
||||
// api = New("1Zbve", "htvse3XEDhBnCTNo", "QM5RnGl6kNh3ENLT")
|
||||
api.SetTimestamp(time.Now().Unix())
|
||||
}
|
||||
|
||||
@@ -38,3 +38,11 @@ func TestGetUserOrders(t *testing.T) {
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestUserRefund(t *testing.T) {
|
||||
result, err := api.UserRefund("9000000020023544", "13111111111", "测试")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user