Procházet zdrojové kódy

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

csx před 2 roky
rodič
revize
1ec6544742
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      conf/app.conf
  2. 1 1
      service/fj_service.go

+ 1 - 1
conf/app.conf Zobrazit soubor

@@ -45,7 +45,7 @@ appsecret="61ee2e6268497d5aa9de0b0187c39aea"
45 45
 
46 46
 
47 47
 [prod]
48
-org_id = 10217
48
+org_id = 10191
49 49
 
50 50
 mobile_token_expiration_second = 86400
51 51
 httpdomain = https://api.xt.kuyicloud.com

+ 1 - 1
service/fj_service.go Zobrazit soubor

@@ -2423,7 +2423,7 @@ func GetFjBusinessHandleInfo(inputStr []byte) (string, string) {
2423 2423
 		fmt.Println("readcard is nil")
2424 2424
 		readCard = DllDef.MustFindProc("read_cardinfo")
2425 2425
 	}
2426
-	outputStr := make([]byte, 4096)
2426
+	outputStr := make([]byte, 0)
2427 2427
 	errMessageStr := make([]byte, 2048)
2428 2428
 	ret2, _, _ := readCard.Call((uintptr)(unsafe.Pointer(&inputStr[0])), uintptr(20000), (uintptr)(unsafe.Pointer(&outputStr[0])), (uintptr)(unsafe.Pointer(&errMessageStr[0])))
2429 2429