陈少旭 9 mēnešus atpakaļ
vecāks
revīzija
53516b7b42
2 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 3 0
      controllers/sg/his_api_controller.go
  2. 1 0
      models/his_models.go

+ 3 - 0
controllers/sg/his_api_controller.go Parādīt failu

3424
 						UserOrgId:    c.GetAdminUserInfo().CurrentOrgId,
3424
 						UserOrgId:    c.GetAdminUserInfo().CurrentOrgId,
3425
 						CardInfo:     card_info,
3425
 						CardInfo:     card_info,
3426
 						VerifyNumber: token,
3426
 						VerifyNumber: token,
3427
+						IdCardType:   4,
3427
 					}
3428
 					}
3428
 					var rf []*ResultFive
3429
 					var rf []*ResultFive
3429
 					json.Unmarshal([]byte(infoStr), &rf)
3430
 					json.Unmarshal([]byte(infoStr), &rf)
5944
 							UserOrgId:    c.GetAdminUserInfo().CurrentOrgId,
5945
 							UserOrgId:    c.GetAdminUserInfo().CurrentOrgId,
5945
 							CardInfo:     card_info,
5946
 							CardInfo:     card_info,
5946
 							VerifyNumber: busi_card_info,
5947
 							VerifyNumber: busi_card_info,
5948
+							IdCardType:   1,
5947
 						}
5949
 						}
5948
 						service.CreateHisPsn(psn)
5950
 						service.CreateHisPsn(psn)
5949
 
5951
 
7219
 							UserOrgId:    c.GetAdminUserInfo().CurrentOrgId,
7221
 							UserOrgId:    c.GetAdminUserInfo().CurrentOrgId,
7220
 							CardInfo:     card_info,
7222
 							CardInfo:     card_info,
7221
 							VerifyNumber: token,
7223
 							VerifyNumber: token,
7224
+							IdCardType:   4,
7222
 						}
7225
 						}
7223
 						var rf []*ResultFive
7226
 						var rf []*ResultFive
7224
 						json.Unmarshal([]byte(infoStr), &rf)
7227
 						json.Unmarshal([]byte(infoStr), &rf)

+ 1 - 0
models/his_models.go Parādīt failu

1349
 	Stage         string  `gorm:"column:stage" json:"stage" form:"stage"`
1349
 	Stage         string  `gorm:"column:stage" json:"stage" form:"stage"`
1350
 	RecordDate    int64   `gorm:"column:record_date" json:"record_date" form:"record_date"`
1350
 	RecordDate    int64   `gorm:"column:record_date" json:"record_date" form:"record_date"`
1351
 	InsuplcAdmdvs string  `gorm:"column:insuplc_admdvs" json:"insuplc_admdvs" form:"insuplc_admdvs"`
1351
 	InsuplcAdmdvs string  `gorm:"column:insuplc_admdvs" json:"insuplc_admdvs" form:"insuplc_admdvs"`
1352
+	IdCardType    int64   `gorm:"column:id_card_type" json:"id_card_type" form:"id_card_type"`
1352
 }
1353
 }
1353
 
1354
 
1354
 func (HisPsn) TableName() string {
1355
 func (HisPsn) TableName() string {