aa
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"fmt"
|
||||
"math"
|
||||
"sort"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@@ -203,10 +204,8 @@ func TestUpdateBasic(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestUpdateExpand(t *testing.T) {
|
||||
result := md5.Sum([]byte("12312321321321321"))
|
||||
resultInt64 := int64(binary.LittleEndian.Uint32(result[8:]))
|
||||
chanIndex := int(resultInt64 % int64(1000))
|
||||
fmt.Println(chanIndex)
|
||||
str := "https://wx.jxc4.com/jxcsRegist?mobile=15520595380"
|
||||
fmt.Println(str[:strings.LastIndex(str,"?")])
|
||||
}
|
||||
|
||||
func TestCreateGisFence(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user