Bläddra i källkod

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

csx 3 år sedan
förälder
incheckning
078931276a
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      service/zh_his_service.go

+ 2 - 2
service/zh_his_service.go Visa fil

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