1
This commit is contained in:
@@ -106,10 +106,17 @@ func TestRetailListCase(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRetailGet(t *testing.T) {
|
||||
orderDetail, _ := api.OrderGetOrderDetail(3801609511466390200, false)
|
||||
//2102128974103437493
|
||||
orderDetail, _ := api.OrderGetOrderDetail(4102128971405404668, false)
|
||||
if addressFee, ok := orderDetail["address_change_fee"]; ok {
|
||||
fmt.Println(addressFee)
|
||||
}
|
||||
aa := orderDetail["order_tag_list"].([]interface{})
|
||||
if len(aa) != 0 {
|
||||
bb := utils.Interface2Int64List(aa)
|
||||
fmt.Println(orderDetail["order_tag_list"].([]interface{}))
|
||||
fmt.Println(bb)
|
||||
}
|
||||
t.Log(utils.Format4Output(orderDetail, false))
|
||||
//result, err := api.RetailGet("16963213", "mtcode_1722809931159257157")
|
||||
//if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user