瀏覽代碼

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,9 +841,9 @@ func Gdyb2204(psnNo string, mdtrtId string, hisPrescription []*models.HisPrescri
841 841
 	nonce := GetRandomString(32)
842 842
 	timestamp := time.Now().Unix()
843 843
 	signature := setSignature(timestamp, nonce, secret_key)
844
-	tempTime := time.Unix(timestamp, 0)
844
+	//tempTime := time.Unix(timestamp, 0)
845 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 847
 	//chrgBchno := rand.Intn(100000) + 10000
848 848
 	var customs []*Custom
849 849
 

+ 2 - 2
service/hbyb_service.go 查看文件

@@ -265,9 +265,9 @@ func Hbyb2204(psnNo string, mdtrtId string, hisPrescription []*models.HisPrescri
265 265
 	// 生成签名
266 266
 	nonce := GetRandomString(32)
267 267
 	timestamp := time.Now().Unix()
268
-	tempTime := time.Unix(timestamp, 0)
268
+	//tempTime := time.Unix(timestamp, 0)
269 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 271
 	//chrgBchno := rand.Intn(100000) + 10000
272 272
 
273 273
 	var customs []*Custom