csx 4 anos atrás
pai
commit
59b99fc403
2 arquivos alterados com 2 adições e 1 exclusões
  1. 1 0
      controllers/his_api_controller.go
  2. 1 1
      service/gdyb_service.go

+ 1 - 0
controllers/his_api_controller.go Ver arquivo

@@ -2073,6 +2073,7 @@ func (c *HisApiController) Refund() {
2073 2073
 
2074 2074
 	adminUser := c.GetAdminUserInfo()
2075 2075
 	theTime, err := time.ParseInLocation(timeLayout+" 15:04:05", record_time+" 00:00:00", loc)
2076
+	fmt.Println(err)
2076 2077
 	if err != nil {
2077 2078
 		c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeParamWrong)
2078 2079
 		return

+ 1 - 1
service/gdyb_service.go Ver arquivo

@@ -762,7 +762,7 @@ func Gdyb3201(baseParams models.BaseParams, businessParams models.BusinessParams
762 762
 	}
763 763
 	reader := bytes.NewReader(bytesData)
764 764
 
765
-	url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/3102"
765
+	url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/3201"
766 766
 	request, err := http.NewRequest("POST", url, reader)
767 767
 	if err != nil {
768 768
 		fmt.Println(err.Error())