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 }