企业微信,企业方服务API提供,企业自行开发扩展,GO语言服务端+docker自动化构建
1、GOLANG
2、Swagger generater
3、OAuth2.0
4、Docker File
5、Jenkins with docker-compose.yml
- input your corp. and database info (at conf/app.conf);
- your redis db for token (at main.go line 74);
- cmd "swag init ",generate your restful style site (at your workdir);
- cmd "go run main.go TEST"
- input "http://localhost:6998" at your chrome brower.
- your can get token use any client_id,like this:
http://localhost:6998/oauth2/token?grant_type=client_credentials&client_id=123
- if you want to connect to your own database , it's todo at line 52 , utils/TokenManager.go
- something important you can email me : zhuaiman@hotmail.com