浏览代码

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

csx 2 年前
父节点
当前提交
1ec6544742
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      conf/app.conf
  2. 1 1
      service/fj_service.go

+ 1 - 1
conf/app.conf 查看文件

45
 
45
 
46
 
46
 
47
 [prod]
47
 [prod]
48
-org_id = 10217
48
+org_id = 10191
49
 
49
 
50
 mobile_token_expiration_second = 86400
50
 mobile_token_expiration_second = 86400
51
 httpdomain = https://api.xt.kuyicloud.com
51
 httpdomain = https://api.xt.kuyicloud.com

+ 1 - 1
service/fj_service.go 查看文件

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