封装的方法类

This commit is contained in:
Yun
2023-09-16 20:14:20 +08:00
commit 1bbc7db405
59 changed files with 3671 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
package wechatx
type wechat struct {
sourceId string
appid string
encodingAesKey string
token string
}
func NewWeChat() *wechat {
return &wechat{
sourceId: "gh_cdfaacccfe8d",
appid: "wx4e7d601bea5a8093",
token: "weixin",
encodingAesKey: "E7MKT2IwQzLCxtzc1sjeqjPrftqGFLxomFSv2py0UNx",
}
}
const (
WechatHost string = "https://api.weixin.qq.com"
)