csx преди 4 години
родител
ревизия
f866b2a330
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      controllers/his_api_controller.go

+ 4 - 0
controllers/his_api_controller.go Целия файл

@@ -392,6 +392,8 @@ func (c *HisApiController) GetRegisterInfo() {
392 392
 
393 393
 	miConfig, _ := service.FindMedicalInsuranceInfo(adminInfo.CurrentOrgId)
394 394
 
395
+	fmt.Println(miConfig.SecretKey)
396
+
395 397
 	if patient == nil {
396 398
 		c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodePatientNoExist)
397 399
 		return
@@ -479,6 +481,8 @@ func (c *HisApiController) GetRegisterInfo() {
479 481
 			department, _ := service.GetDepartMentDetail(patientPrescription.Departments)
480 482
 			doctor_id := strconv.FormatInt(patientPrescription.DoctorId, 10)
481 483
 
484
+			fmt.Println(miConfig.SecretKey)
485
+
482 486
 			if count <= 0 {
483 487
 				api := "http://127.0.0.1:9532/" + "gdyb/two?cert_no=" + patient.IdCardNo + "&insutype=" +
484 488
 					res.Output.Iinfo[0].Insutype + "&psn_no=" + res.Output.Baseinfo.PsnNo +