Browse Source

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 3 years ago
parent
commit
c98e6b2f9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/gdyb_service.go

+ 1 - 1
service/gdyb_service.go View File

2688
 	tempTime := time.Unix(timestamp, 0)
2688
 	tempTime := time.Unix(timestamp, 0)
2689
 	timeFormat := tempTime.Format("20060102150405")
2689
 	timeFormat := tempTime.Format("20060102150405")
2690
 	timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
2690
 	timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
2691
-	randNum := rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(10000)
2691
+	randNum := rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(100)
2692
 
2692
 
2693
 	// 生成输入报文
2693
 	// 生成输入报文
2694
 	inputMessage := make(map[string]interface{})
2694
 	inputMessage := make(map[string]interface{})