From 234a2e929c6e589b84a19b5fbe557c712d85654e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 9 Mar 2023 11:06:04 +0800 Subject: [PATCH] 1 --- platformapi/tiktok_shop/tiktok_api/api_test.go | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/platformapi/tiktok_shop/tiktok_api/api_test.go b/platformapi/tiktok_shop/tiktok_api/api_test.go index 5c2383e6..942bddd3 100644 --- a/platformapi/tiktok_shop/tiktok_api/api_test.go +++ b/platformapi/tiktok_shop/tiktok_api/api_test.go @@ -21,7 +21,7 @@ func TestApi(t *testing.T) { } func TestQueryOrderDetail(t *testing.T) { - data, err := a.GetTiktokOrderDetail("5042256005213816296") + data, err := a.GetTiktokOrderDetail("5042953882665211095") globals.SugarLogger.Debugf("=====%s", utils.Format4Output(data, false)) globals.SugarLogger.Debugf("=====%s", err) } @@ -94,13 +94,5 @@ func TestOrderStatusAndPsInfo(t *testing.T) { } func TestMap(t *testing.T) { - //fmt.Println(time.Duration(600) * 1000 * 1000 * 100) - fmt.Println(time.Duration(600) * time.Second) - - aa := time.Now().Add(time.Duration(570) * time.Second) - fmt.Println(aa) - //for i := 0; i < 20; i++ { - // randNumber, _ := rand.Int(rand.Reader, big.NewInt(640)) - // fmt.Println(randNumber) - //} + fmt.Println((57 & 16) != 0) }