1
This commit is contained in:
@@ -1,5 +1,23 @@
|
||||
package dadaapi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestQueryBillBalance(t *testing.T) {
|
||||
dadaapi.QueryBillBalance()
|
||||
}
|
||||
func TestBalanceRecharge(t *testing.T) {
|
||||
result, err := dadaapi.BalanceRecharge(&RechargeParam{
|
||||
Amount: 0.01,
|
||||
Category: "H5",
|
||||
NotifyUrl: "",
|
||||
})
|
||||
fmt.Println(result)
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
||||
//
|
||||
//import (
|
||||
// "testing"
|
||||
|
||||
Reference in New Issue
Block a user