mh_server/lib/utils/rand_test.go

17 lines
231 B
Go
Raw Normal View History

2021-06-30 02:12:05 +00:00
package utils
import (
"fmt"
"testing"
)
func TestRandStr(t *testing.T) {
InitSnowFlakeByGo()
for i := 0; i < 1000; i++ {
//nonce := GenRandStr(32)
nonce := GetSerialNo()
fmt.Println("提现订单编号:", nonce)
}
}