Procházet zdrojové kódy

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

csx před 2 roky
rodič
revize
439717915f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      controllers/sg/his_api_controller.go

+ 1 - 1
controllers/sg/his_api_controller.go Zobrazit soubor

@@ -1953,7 +1953,7 @@ func (c *HisApiController) GetFjBasBaseInfo() (string, string, string, string, s
1953 1953
 	str3 := make([]byte, 1024) //姓名
1954 1954
 	str4 := make([]byte, 1024) //错误信息
1955 1955
 
1956
-	ret2, _, _ := readCard.Call((uintptr)(unsafe.Pointer(&str[0])), uintptr(1024), (uintptr)(unsafe.Pointer(&str1[0])), (uintptr)(unsafe.Pointer(&str2[0])), (uintptr)(unsafe.Pointer(&str3[0])), (uintptr)(unsafe.Pointer(&str4[0])))
1956
+	ret2, _, _ := readCard.Call((uintptr)(unsafe.Pointer(&str[0])), (uintptr)(unsafe.Pointer(&str1[0])), (uintptr)(unsafe.Pointer(&str2[0])), (uintptr)(unsafe.Pointer(&str3[0])), (uintptr)(unsafe.Pointer(&str4[0])))
1957 1957
 	fmt.Println(string(str1))
1958 1958
 	fmt.Println(string(str))
1959 1959
 	fmt.Println(string(str2))