|
@@ -3226,16 +3226,8 @@ func (c *HisApiController) GetRegisterInfo() {
|
3226
|
3226
|
} else if miConfig.MdtrtareaAdmvs == "320921" {
|
3227
|
3227
|
psn_info, _ := service.GetPsnByPatientId(id)
|
3228
|
3228
|
bas := strings.Split(psn_info.CardInfo, "|")
|
3229
|
|
- basNumber := bas[2]
|
3230
|
|
- if id_card_type == 1 {
|
3231
|
3229
|
|
3232
|
|
- Certno = Certno
|
3233
|
|
- } else {
|
3234
|
|
-
|
3235
|
|
- Certno = basNumber
|
3236
|
|
- }
|
3237
|
|
-
|
3238
|
|
- api := "http://192.168.3.111:9532/" + "jsyb/2201?psn_no=" + PsnNo + "&insutype=" + insutype + "&cert_no=" + Certno + "&ipt_otp_no=" + ipt_otp_no +
|
|
3230
|
+ api := "http://192.168.3.111:9532/" + "jsyb/2201?psn_no=" + PsnNo + "&insutype=" + insutype + "&cert_no=" + bas[2] + "&ipt_otp_no=" + ipt_otp_no +
|
3239
|
3231
|
"&org_name=" + miConfig.OrgName + "&doctor=" + roles.UserName + "&fixmedins_code=" + miConfig.Code +
|
3240
|
3232
|
"&insuplc_admdvs=" + miConfig.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" + miConfig.SecretKey + "&id_card_type=" + strconv.FormatInt(id_card_type, 10) + "&dept_code=" + department.Number + "&dept=" + department.Name + "&doctor_id=" + doctor_id + "&url=" + miConfig.Url + "&ak=" + miConfig.ChannelNumber + "&verify_number=" + psn_info.VerifyNumber
|
3241
|
3233
|
resp, requestErr := http.Get(api)
|