소스 검색

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

csx 3 년 전
부모
커밋
e55ca5133b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      controllers/sg/his_api_controller.go

+ 2 - 2
controllers/sg/his_api_controller.go 파일 보기

@@ -1947,7 +1947,7 @@ func (c *HisApiController) GetHisPatientInfo() {
1947 1947
 //
1948 1948
 //	str := make([]byte, 256)
1949 1949
 //	str1 := make([]byte, 256)
1950
-	r, _, _ := ReadCardBas.Call((uintptr)(unsafe.Pointer(&str[0])), IntPtr(1024), (uintptr)(unsafe.Pointer(&str1[0])), IntPtr(1024))
1950
+//	r, _, _ := ReadCardBas.Call((uintptr)(unsafe.Pointer(&str[0])), IntPtr(1024), (uintptr)(unsafe.Pointer(&str1[0])), IntPtr(1024))
1951 1951
 //
1952 1952
 //	fmt.Println(string(str))
1953 1953
 //	fmt.Println(r)
@@ -3001,7 +3001,7 @@ func (c *HisApiController) GetRegisterInfo() {
3001 3001
 
3002 3002
 		} else if miConfig.MdtrtareaAdmvs == "320921" {
3003 3003
 			var res ResultTwo
3004
-			api := "http://192.168.3.111:9532/" + "jsyb/readcard?" +"fixmedins_code=" + miConfig.Code + "&secret_key=" + miConfig.SecretKey + "&ak=" + miConfig.ChannelNumber
3004
+			api := "http://192.168.3.111:9532/" + "jsyb/readcard?" + "fixmedins_code=" + miConfig.Code + "&secret_key=" + miConfig.SecretKey + "&ak=" + miConfig.ChannelNumber
3005 3005
 			resp, requestErr := http.Get(api)
3006 3006
 			if requestErr != nil {
3007 3007
 				c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)