From 346d91c8c5f3da5dd5859130b00e83984f4bff03 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Fri, 19 Jan 2024 16:14:53 +0800 Subject: [PATCH] a --- platformapi/mtwmapi/im_test.go | 5 +++++ platformapi/sfps2/sf_test.go | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/platformapi/mtwmapi/im_test.go b/platformapi/mtwmapi/im_test.go index 3b76d4e9..baadcbdf 100644 --- a/platformapi/mtwmapi/im_test.go +++ b/platformapi/mtwmapi/im_test.go @@ -147,3 +147,8 @@ func TestAPI_SetPoiIMOnlineStatus(t *testing.T) { } fmt.Println(errList) } + +func TestRdbSet2(t *testing.T) { + + rdb.Set("111", "2", 0) +} diff --git a/platformapi/sfps2/sf_test.go b/platformapi/sfps2/sf_test.go index d1dc648e..27effee9 100644 --- a/platformapi/sfps2/sf_test.go +++ b/platformapi/sfps2/sf_test.go @@ -1,10 +1,8 @@ package sfps2 import ( - "crypto/rand" "fmt" "git.rosy.net.cn/baseapi/utils" - "math/big" "strings" "testing" ) @@ -139,6 +137,7 @@ func TestNew(t *testing.T) { } func Test2(t *testing.T) { - n, _ := rand.Int(rand.Reader, big.NewInt(10000000000)) - println(n.Int64()) + //n, _ := rand.Int(rand.Reader, big.NewInt(10000000000)) + //println(n.Int64()) + //var }