dw-sdk/bid-consign_test.go

22 lines
387 B
Go
Raw Normal View History

package dw_sdk
import "testing"
var testConfig = Config{
Public: PublicConfig{
Key: "340139807ccc413b8767f89ce2ffb121",
Secret: "3c3ab5aa12fc4f7d8e11a32e11c08760",
Env: "dev",
},
Proxy: nil,
}
func TestNewBidConsignClient(t *testing.T) {
2024-09-02 14:34:11 +08:00
cli := NewPreSaleBidClient(testConfig)
2024-07-25 13:30:34 +08:00
resp, err := cli.LowestPrice(626512954)
if err != nil {
t.Fatal(err)
}
t.Log(resp)
}