This commit is contained in:
richboo111
2024-01-19 16:14:53 +08:00
parent 2a5b415d32
commit 346d91c8c5
2 changed files with 8 additions and 4 deletions

View File

@@ -147,3 +147,8 @@ func TestAPI_SetPoiIMOnlineStatus(t *testing.T) {
} }
fmt.Println(errList) fmt.Println(errList)
} }
func TestRdbSet2(t *testing.T) {
rdb.Set("111", "2", 0)
}

View File

@@ -1,10 +1,8 @@
package sfps2 package sfps2
import ( import (
"crypto/rand"
"fmt" "fmt"
"git.rosy.net.cn/baseapi/utils" "git.rosy.net.cn/baseapi/utils"
"math/big"
"strings" "strings"
"testing" "testing"
) )
@@ -139,6 +137,7 @@ func TestNew(t *testing.T) {
} }
func Test2(t *testing.T) { func Test2(t *testing.T) {
n, _ := rand.Int(rand.Reader, big.NewInt(10000000000)) //n, _ := rand.Int(rand.Reader, big.NewInt(10000000000))
println(n.Int64()) //println(n.Int64())
//var
} }