瀏覽代碼

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

csx 3 年之前
父節點
當前提交
c98e6b2f9c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      service/gdyb_service.go

+ 1 - 1
service/gdyb_service.go 查看文件

@@ -2688,7 +2688,7 @@ func SetInputMessage(nonce string, timestamp int64, org_name string, doctor stri
2688 2688
 	tempTime := time.Unix(timestamp, 0)
2689 2689
 	timeFormat := tempTime.Format("20060102150405")
2690 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 2694
 	inputMessage := make(map[string]interface{})