This commit is contained in:
2025-08-05 17:46:15 +08:00
parent e43d78ddf0
commit 4409bea9fc
106 changed files with 18564 additions and 7 deletions
+3
View File
@@ -40,4 +40,7 @@ type Server struct {
// Volcengine配置
Volcengine Volcengine `mapstructure:"volcengine" json:"volcengine" yaml:"volcengine"`
// 微信配置
Wechat Wechat `mapstructure:"wechat" json:"wechat" yaml:"wechat"`
}
+13
View File
@@ -0,0 +1,13 @@
package config
// Wechat 微信配置结构 (简化版)
type Wechat struct {
// 微信小程序配置
MiniAppID string `mapstructure:"mini-app-id" json:"miniAppId" yaml:"mini-app-id"`
MiniAppSecret string `mapstructure:"mini-app-secret" json:"miniAppSecret" yaml:"mini-app-secret"`
// 微信公众号配置
OfficialAppID string `mapstructure:"official-app-id" json:"officialAppId" yaml:"official-app-id"`
OfficialAppSecret string `mapstructure:"official-app-secret" json:"officialAppSecret" yaml:"official-app-secret"`
OfficialToken string `mapstructure:"official-token" json:"officialToken" yaml:"official-token"`
}