|
|
|
|
831
|
inputData["TIMEOUT"] = "180"
|
831
|
inputData["TIMEOUT"] = "180"
|
832
|
inputData["LOG_PATH"] = "C:\\log\\"
|
832
|
inputData["LOG_PATH"] = "C:\\log\\"
|
833
|
//
|
833
|
//
|
834
|
- inputData["EC_URL"] = "http://10.72.3.127:10086/localcfc/api/hsecfc/localQrCodeQuery"
|
|
|
|
|
834
|
+
|
|
|
835
|
+ inputData["EC_URL"] = "http://10.58.33.207:10086/localcfc/api/hsecfc/localQrCodeQuery"
|
|
|
836
|
+
|
|
|
837
|
+ //inputData["EC_URL"] = "http://10.72.3.127:10086/localcfc/api/hsecfc/localQrCodeQuery"
|
835
|
inputData["CARD_PASSTYPE"] = "1"
|
838
|
inputData["CARD_PASSTYPE"] = "1"
|
836
|
inputData["API_NAME"] = "hssServives"
|
839
|
inputData["API_NAME"] = "hssServives"
|
837
|
inputData["API_VERSION"] = "1.0.0"
|
840
|
inputData["API_VERSION"] = "1.0.0"
|
|
|
|
|
916
|
|
919
|
|
917
|
func (c *JSybController) GetELeCertInfo(code string, operator_id string, operator_name string) (string, string) {
|
920
|
func (c *JSybController) GetELeCertInfo(code string, operator_id string, operator_name string) (string, string) {
|
918
|
DllDef := syscall.MustLoadDLL("HeaSecReadInfo.dll")
|
921
|
DllDef := syscall.MustLoadDLL("HeaSecReadInfo.dll")
|
919
|
- readCard := DllDef.MustFindProc("EcQuery")
|
|
|
920
|
- fmt.Println(readCard)
|
|
|
921
|
- fmt.Println("!!!!!")
|
|
|
|
|
922
|
+ readCard := DllDef.MustFindProc("GetPersonInfo")
|
|
|
923
|
+
|
922
|
pCardInfo := make([]byte, 8192)
|
924
|
pCardInfo := make([]byte, 8192)
|
923
|
pBusiCardInfo := make([]byte, 8192)
|
925
|
pBusiCardInfo := make([]byte, 8192)
|
924
|
-
|
|
|
925
|
data := make(map[string]interface{})
|
926
|
data := make(map[string]interface{})
|
926
|
- //pData := make(map[string]interface{})
|
|
|
927
|
|
927
|
|
928
|
inputData := make(map[string]interface{})
|
928
|
inputData := make(map[string]interface{})
|
929
|
inputData["orgId"] = code
|
929
|
inputData["orgId"] = code
|
|
|
|
|
931
|
inputData["operatorId"] = "1"
|
931
|
inputData["operatorId"] = "1"
|
932
|
inputData["operatorName"] = "admin"
|
932
|
inputData["operatorName"] = "admin"
|
933
|
inputData["officeId"] = "001"
|
933
|
inputData["officeId"] = "001"
|
934
|
- inputData["officeName"] = "血透室"
|
|
|
935
|
- //
|
|
|
|
|
934
|
+ inputData["officeName"] = "admin"
|
936
|
data["data"] = inputData
|
935
|
data["data"] = inputData
|
937
|
data["transType"] = "ec.query"
|
936
|
data["transType"] = "ec.query"
|
938
|
data["orgId"] = code
|
937
|
data["orgId"] = code
|