mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-09 15:12:26 +08:00
开放平台基本框架
This commit is contained in:
14
openplatform/config/config.go
Normal file
14
openplatform/config/config.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"github.com/silenceper/wechat/cache"
|
||||
)
|
||||
|
||||
//Config config for 微信开放平台
|
||||
type Config struct {
|
||||
AppID string `json:"app_id"` //appid
|
||||
AppSecret string `json:"app_secret"` //appsecret
|
||||
Token string `json:"token"` //token
|
||||
EncodingAESKey string `json:"encoding_aes_key"` //EncodingAESKey
|
||||
Cache cache.Cache
|
||||
}
|
||||
Reference in New Issue
Block a user