This commit is contained in:
邹宗楠
2023-04-12 09:44:55 +08:00
parent 91f5d89f49
commit 5038cbd52c
4 changed files with 15 additions and 13 deletions

View File

@@ -3,6 +3,7 @@ package mtwmapi
import (
"fmt"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
"strings"
"testing"
"time"
@@ -18,10 +19,11 @@ func TestOrderViewStatus(t *testing.T) {
}
func TestOrderGetOrderDetail(t *testing.T) {
result, err := api.OrderGetOrderDetail(1300486314174032613, false)
result, err := api.OrderGetOrderDetail(1100496043552579025, false)
if err != nil {
t.Fatal(err)
}
globals.SugarLogger.Debugf("====%s", utils.Format4Output(result["poi_receive_detail_yuan"], false))
if len(result) == 0 {
t.Fatal("result should have value")
}