This commit is contained in:
邹宗楠
2026-05-18 17:24:22 +08:00
parent 2dbd4c74f7
commit 14b857441b
4 changed files with 61 additions and 13 deletions

View File

@@ -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 {