wx-api-center-control

command module
v0.0.0-...-a122d8e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

README

wx-api-center-control

微信中控服务器

功能

  1. 自动维护 access token,且在并发时候不会出现多个access token.

运行

git clone https://github.com/goclub/wx-api-center-control
# 参考 config.example.yaml 的内容创建一个 config.yaml 文件
# 构建
go build -o main *.go
# 运行
./main

调用

curl --request POST \
  --url http://127.0.0.1:8254/wx-api-center-control/cgi-bin/token \
  --header 'Content-Type: application/json' \
  --header 'cache-control: no-cache' \
  --data '{\n	"appid": "在config.yaml中配置的appid",\n	"sk": "在config.yaml中配置的sk"\n}'

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL