This commit is contained in:
邹宗楠
2023-03-10 10:09:30 +08:00
parent 07db7c0391
commit f3c10240d4
3 changed files with 6 additions and 5 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,14 +19,14 @@ func TestOrderViewStatus(t *testing.T) {
}
func TestOrderGetOrderDetail(t *testing.T) {
result, err := api.OrderGetOrderDetail(1100335050573312765, false)
result, err := api.OrderGetOrderDetail(1100449970093397157, false)
if err != nil {
t.Fatal(err)
}
if len(result) == 0 {
t.Fatal("result should have value")
}
t.Log(utils.Format4Output(result, false))
globals.SugarLogger.Debugf("%s", utils.Format4Output(result, false))
}
func TestOrderGetOrderDetail2(t *testing.T) {