Преглед на файлове

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

csx преди 3 години
родител
ревизия
cc023f645e
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 2 2
      service/gdyb_service.go
  2. 2 2
      service/hbyb_service.go

+ 2 - 2
service/gdyb_service.go Целия файл

841
 	nonce := GetRandomString(32)
841
 	nonce := GetRandomString(32)
842
 	timestamp := time.Now().Unix()
842
 	timestamp := time.Now().Unix()
843
 	signature := setSignature(timestamp, nonce, secret_key)
843
 	signature := setSignature(timestamp, nonce, secret_key)
844
-	tempTime := time.Unix(timestamp, 0)
844
+	//tempTime := time.Unix(timestamp, 0)
845
 	//timeFormat := tempTime.Format("20060102150405")
845
 	//timeFormat := tempTime.Format("20060102150405")
846
-	timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
846
+	//timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
847
 	//chrgBchno := rand.Intn(100000) + 10000
847
 	//chrgBchno := rand.Intn(100000) + 10000
848
 	var customs []*Custom
848
 	var customs []*Custom
849
 
849
 

+ 2 - 2
service/hbyb_service.go Целия файл

265
 	// 生成签名
265
 	// 生成签名
266
 	nonce := GetRandomString(32)
266
 	nonce := GetRandomString(32)
267
 	timestamp := time.Now().Unix()
267
 	timestamp := time.Now().Unix()
268
-	tempTime := time.Unix(timestamp, 0)
268
+	//tempTime := time.Unix(timestamp, 0)
269
 	//timeFormat := tempTime.Format("20060102150405")
269
 	//timeFormat := tempTime.Format("20060102150405")
270
-	timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
270
+	//timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
271
 	//chrgBchno := rand.Intn(100000) + 10000
271
 	//chrgBchno := rand.Intn(100000) + 10000
272
 
272
 
273
 	var customs []*Custom
273
 	var customs []*Custom