1
This commit is contained in:
@@ -19,7 +19,7 @@ func TestCancelOrder(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestOrderGet(t *testing.T) {
|
func TestOrderGet(t *testing.T) {
|
||||||
result, err := api.OrderGet("4037260180200114817")
|
result, err := api.OrderGet("4089516015081595490")
|
||||||
products := result["products"].([]interface{})[0].([]interface{})
|
products := result["products"].([]interface{})[0].([]interface{})
|
||||||
for _, product2 := range products {
|
for _, product2 := range products {
|
||||||
product := product2.(map[string]interface{})
|
product := product2.(map[string]interface{})
|
||||||
|
|||||||
@@ -82,11 +82,3 @@ func TestRefreshAccessToken(t *testing.T) {
|
|||||||
fmt.Println(utils.Format4Output(result, false))
|
fmt.Println(utils.Format4Output(result, false))
|
||||||
t.Log(utils.Format4Output(result, false))
|
t.Log(utils.Format4Output(result, false))
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestPushPrintMsg(t *testing.T) {
|
|
||||||
api.PushPrintMsg("2401171703736658807")
|
|
||||||
}
|
|
||||||
|
|
||||||
func Test11(t *testing.T) {
|
|
||||||
fmt.Println(utils.Str2Float64(""))
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user