|
@@ -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)
|