Browse Source

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

csx 3 years ago
parent
commit
078931276a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      service/zh_his_service.go

+ 2 - 2
service/zh_his_service.go View File

559
 	nonce := GetRandomString(32)
559
 	nonce := GetRandomString(32)
560
 	timestamp := time.Now().Unix()
560
 	timestamp := time.Now().Unix()
561
 	signature := setSignature(timestamp, nonce, secret_key)
561
 	signature := setSignature(timestamp, nonce, secret_key)
562
-	tempTime := time.Unix(timestamp, 0)
562
+	//tempTime := time.Unix(timestamp, 0)
563
 	//timeFormat := tempTime.Format("20060102150405")
563
 	//timeFormat := tempTime.Format("20060102150405")
564
-	timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
564
+	//timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
565
 	//chrgBchno := rand.Intn(100000) + 10000
565
 	//chrgBchno := rand.Intn(100000) + 10000
566
 
566
 
567
 	var customs []*models.NewCustom
567
 	var customs []*models.NewCustom