张保健 3 years ago
parent
commit
10161f9994
1 changed files with 4 additions and 2 deletions
  1. 4 2
      controllers/sg/his_api_controller.go

+ 4 - 2
controllers/sg/his_api_controller.go View File

1948
 				insutype = "310"
1948
 				insutype = "310"
1949
 			}
1949
 			}
1950
 
1950
 
1951
-			insutype = "390"
1951
+			// insutype = "390"
1952
 			var resThree ResultThree
1952
 			var resThree ResultThree
1953
 			if miConfig.MdtrtareaAdmvs == "421300" {
1953
 			if miConfig.MdtrtareaAdmvs == "421300" {
1954
 				api := "http://127.0.0.1:9533/" + "hbyb/2201?psn_no=" + res.Output.Baseinfo.PsnNo + "&insutype=" + insutype + "&cert_no=" + res.Output.Baseinfo.Certno + "&ipt_otp_no=" + ipt_otp_no +
1954
 				api := "http://127.0.0.1:9533/" + "hbyb/2201?psn_no=" + res.Output.Baseinfo.PsnNo + "&insutype=" + insutype + "&cert_no=" + res.Output.Baseinfo.Certno + "&ipt_otp_no=" + ipt_otp_no +
1992
 				}
1992
 				}
1993
 			}
1993
 			}
1994
 
1994
 
1995
+			utils.InfoLog("resThree%v", resThree)
1996
+
1995
 			if resThree.Infcode != 0 {
1997
 			if resThree.Infcode != 0 {
1996
 				adminUser := c.GetAdminUserInfo()
1998
 				adminUser := c.GetAdminUserInfo()
1997
 				errlog := &models.HisOrderError{
1999
 				errlog := &models.HisOrderError{
2535
 							insutype = "310"
2537
 							insutype = "310"
2536
 						}
2538
 						}
2537
 
2539
 
2538
-						insutype = "390"
2540
+						// insutype = "390"
2539
 						if his.IdCardType == 1 {
2541
 						if his.IdCardType == 1 {
2540
 							// cert_no = his.MedicalInsuranceNumber
2542
 							// cert_no = his.MedicalInsuranceNumber
2541
 							cert_no = his.Certno
2543
 							cert_no = his.Certno