Browse Source

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

csx 3 years ago
parent
commit
c07d582ade
2 changed files with 3 additions and 3 deletions
  1. 2 2
      conf/app.conf
  2. 1 1
      service/gdyb_service.go

+ 2 - 2
conf/app.conf View File

1
 appname = 血透
1
 appname = 血透
2
 httpport = 9532
2
 httpport = 9532
3
-runmode = dev
3
+runmode = prod
4
 
4
 
5
 
5
 
6
 
6
 
48
 
48
 
49
 
49
 
50
 [prod]
50
 [prod]
51
-org_id = 10028
51
+org_id = 10088
52
 mobile_token_expiration_second = 86400
52
 mobile_token_expiration_second = 86400
53
 httpdomain = https://api.xt.kuyicloud.com
53
 httpdomain = https://api.xt.kuyicloud.com
54
 sso_domain = https://sso.kuyicloud.com
54
 sso_domain = https://sso.kuyicloud.com

+ 1 - 1
service/gdyb_service.go View File

2713
 	tempTime := time.Unix(timestamp, 0)
2713
 	tempTime := time.Unix(timestamp, 0)
2714
 	timeFormat := tempTime.Format("20060102150405")
2714
 	timeFormat := tempTime.Format("20060102150405")
2715
 	timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
2715
 	timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
2716
-	randNum := rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(100)
2716
+	randNum := rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(10000)
2717
 
2717
 
2718
 	// 生成输入报文
2718
 	// 生成输入报文
2719
 	inputMessage := make(map[string]interface{})
2719
 	inputMessage := make(map[string]interface{})