A fast wxwork development sdk written in Golang
go get github.com/fastwego/wxwork
// 创建企业实例
Corp = corporation . New (corporation. Config { Corpid : "CROPID" })
//创建通讯录 App
ContactApp = Corp . NewApp (corporation. AppConfig {
AgentId : "AGENTID" ,
Secret : "SECRET" ,
Token : "TOKEN" ,
EncodingAESKey : "EncodingAESKey" ,
})
// 通讯录管理 -> 获取部门成员详情
params := url. Values {}
params . Add ( "department_id" , "10086" )
resp , err := user . SimpleList ( ContactApp , params )
Complete demo project:
https://github.com/fastwego/wxwork-demo
Interface list:
corporation/doc/apilist.md
"Quick", as the core concept of framework design, is reflected in all aspects:
As a third-party development framework, it is as close to official documents and designs as possible, without introducing new concepts or adding learning burden to developers.
As the middle layer between specific businesses and Enterprise WeChat, it focuses on the role of the channel: helping the business deliver configurations/materials to Enterprise WeChat, and transparently transmitting Enterprise WeChat responses/pushes back to the business.
As for AccessToken management and message encryption and decryption processing, the framework is completed so neatly that developers are not even aware of its existence.
The comments of each interface are accompanied by links to official documents, allowing you to read them at any time, saving time and worry.
100% coverage of every interface, allowing you to be confident every time you call
Every key link is fully recorded for you, making debugging twice as easy. You can freely define the log output and even turn off the log.
One set of services supports multiple corporate WeChat accounts, easily becoming a third-party development service platform, and business is growing steadily.
A single server cannot support the access traffic/want to improve service availability?
Just set the GetAccessTokenFunc method and obtain the AccessToken from the central control service to solve the problem of multi-instance refresh conflict/overwriting
FastWeGo is a complete WeChat development framework, including official accounts, open platforms, WeChat payment, corporate WeChat, mini programs, mini games and other WeChat services, and has a large developer user base
Almost all the problems you encounter can be solved in the community
Welcome to submit pull requests/issues/documents, and let’s make WeChat development faster and better together!
Faster we go together!
Join the developer communication group