|
|
@ -171,7 +171,7 @@ func StatsCommandVG(t *icsnet.IcsTCPNet, bufend string) {
|
|
|
|
|
|
|
|
|
|
|
|
// s := GetIcsSid()
|
|
|
|
// s := GetIcsSid()
|
|
|
|
rand.Seed(time.Now().UnixNano())
|
|
|
|
rand.Seed(time.Now().UnixNano())
|
|
|
|
randNum := fmt.Sprintf("%07d", rand.Intn(1000000))
|
|
|
|
randNum := fmt.Sprintf("%07d", rand.Intn(10000000))
|
|
|
|
// randNum := fmt.Sprintf("%07d", rand.Intn(9999999))
|
|
|
|
// randNum := fmt.Sprintf("%07d", rand.Intn(9999999))
|
|
|
|
|
|
|
|
|
|
|
|
// defer func() {
|
|
|
|
// defer func() {
|
|
|
@ -284,7 +284,7 @@ func StatsCommandVA(t *icsnet.IcsTCPNet, bufend string) {
|
|
|
|
|
|
|
|
|
|
|
|
// s := GetIcsSid()
|
|
|
|
// s := GetIcsSid()
|
|
|
|
rand.Seed(time.Now().UnixNano())
|
|
|
|
rand.Seed(time.Now().UnixNano())
|
|
|
|
randNum := fmt.Sprintf("%07d", rand.Intn(1000000))
|
|
|
|
randNum := fmt.Sprintf("%07d", rand.Intn(10000000))
|
|
|
|
// randNum := fmt.Sprintf("%04d", rand.Intn(9999))
|
|
|
|
// randNum := fmt.Sprintf("%04d", rand.Intn(9999))
|
|
|
|
|
|
|
|
|
|
|
|
defer t.Close()
|
|
|
|
defer t.Close()
|
|
|
|