From 115dfc580d2224470c4ef7266b7e16f95d1606a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 14 Jul 2022 14:02:14 +0800 Subject: [PATCH] 1 --- platformapi/fnpsapi/fn_test.go | 9 +++------ platformapi/yilianyunapi/yilianyunapi_test.go | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/platformapi/fnpsapi/fn_test.go b/platformapi/fnpsapi/fn_test.go index ce2d8ccb..f3902f58 100644 --- a/platformapi/fnpsapi/fn_test.go +++ b/platformapi/fnpsapi/fn_test.go @@ -4,6 +4,7 @@ import ( "encoding/json" "fmt" "git.rosy.net.cn/baseapi" + "git.rosy.net.cn/baseapi/utils" "go.uber.org/zap" "math/rand" "testing" @@ -203,10 +204,6 @@ func TestErr2CallbackResponse(t *testing.T) { } func Test11(t *testing.T) { - fmt.Println(57&2 != 0) - fmt.Println(10&2 != 0) - fmt.Println(32&2 != 0) - fmt.Println(8&2 != 0) - fmt.Println(59&2 != 0) - fmt.Println(0&2 != 0) + t2 := utils.Str2TimeWithDefault("2022-07-06", utils.DefaultTimeValue) + fmt.Println(t2) } diff --git a/platformapi/yilianyunapi/yilianyunapi_test.go b/platformapi/yilianyunapi/yilianyunapi_test.go index 294d601e..d041eabb 100644 --- a/platformapi/yilianyunapi/yilianyunapi_test.go +++ b/platformapi/yilianyunapi/yilianyunapi_test.go @@ -65,7 +65,7 @@ func TestPrintMsgWithToken(t *testing.T) { } func TestGetPrintStatus(t *testing.T) { - state, err := api.GetPrintStatus("4004627655") + state, err := api.GetPrintStatus("4004802855") handleError(t, err) baseapi.SugarLogger.Debug(state) }