瀏覽代碼

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 1 年之前
父節點
當前提交
eda256fbb6
共有 1 個文件被更改,包括 7 次插入8 次删除
  1. 7 8
      controllers/js/jsyb_controller.go

+ 7 - 8
controllers/js/jsyb_controller.go 查看文件

@@ -831,7 +831,10 @@ func (c *JSybController) TestGetBasBaseInit(code string, secret_key string, ak s
831 831
 	inputData["TIMEOUT"] = "180"
832 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 838
 	inputData["CARD_PASSTYPE"] = "1"
836 839
 	inputData["API_NAME"] = "hssServives"
837 840
 	inputData["API_VERSION"] = "1.0.0"
@@ -916,14 +919,11 @@ func (c *JSybController) GetELeInfo(code string, operator_id string, operator_na
916 919
 
917 920
 func (c *JSybController) GetELeCertInfo(code string, operator_id string, operator_name string) (string, string) {
918 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 924
 	pCardInfo := make([]byte, 8192)
923 925
 	pBusiCardInfo := make([]byte, 8192)
924
-
925 926
 	data := make(map[string]interface{})
926
-	//pData := make(map[string]interface{})
927 927
 
928 928
 	inputData := make(map[string]interface{})
929 929
 	inputData["orgId"] = code
@@ -931,8 +931,7 @@ func (c *JSybController) GetELeCertInfo(code string, operator_id string, operato
931 931
 	inputData["operatorId"] = "1"
932 932
 	inputData["operatorName"] = "admin"
933 933
 	inputData["officeId"] = "001"
934
-	inputData["officeName"] = "血透室"
935
-	//
934
+	inputData["officeName"] = "admin"
936 935
 	data["data"] = inputData
937 936
 	data["transType"] = "ec.query"
938 937
 	data["orgId"] = code