mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-08 06:32:27 +08:00
improve comment ,参考:https://github.com/huacnlee/autocorrect
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
企业微信会话存档SDK(基于企业微信C版官方SDK封装),暂时只支持在`linux`环境下使用当前SDK。
|
||||
企业微信会话存档 SDK(基于企业微信 C 版官方 SDK 封装),暂时只支持在`linux`环境下使用当前 SDK。
|
||||
|
||||
|
||||
### 官方文档地址
|
||||
@@ -12,8 +12,8 @@ https://open.work.weixin.qq.com/api/doc/90000/90135/91774
|
||||
2、从 `github.com/silenceper/wechat/v2/work/msgaudit/lib` 文件夹下复制 `libWeWorkFinanceSdk_C.so` 动态库文件到系统动态链接库默认文件夹下,或者复制到任意文件夹并在当前文件夹下执行 `export LD_LIBRARY_PATH=$(pwd)`命令设置动态链接库检索地址后即可正常使用
|
||||
|
||||
3、编译要求
|
||||
- 开启CGO: `CGO_ENABLED=1`
|
||||
- 增加tags参数`msgaudit`: `go build -tags msgaudit`或者`go run -tags msgaudit main.go`
|
||||
- 开启 CGO: `CGO_ENABLED=1`
|
||||
- 增加 tags 参数`msgaudit`: `go build -tags msgaudit`或者`go run -tags msgaudit main.go`
|
||||
|
||||
### Example
|
||||
|
||||
@@ -93,7 +93,7 @@ func main() {
|
||||
}
|
||||
}
|
||||
|
||||
//释放SDK实例
|
||||
//释放 SDK 实例
|
||||
client.Free()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user