修改账号注册方法,以及邮箱协议对接

This commit is contained in:
zyj
2025-09-24 18:22:25 +08:00
parent 002419a7ed
commit 81ed379cf3
21 changed files with 1090 additions and 8 deletions

View File

@@ -34,10 +34,28 @@ type Clash struct {
}
type AppConfig struct {
Port int `yaml:"port"`
Database DatabaseConfig `yaml:"database"`
Limit Limit `yaml:"limit"`
Clash Clash `yaml:"clash"`
Port int `yaml:"port"`
Database DatabaseConfig `yaml:"database"`
Limit Limit `yaml:"limit"`
Clash Clash `yaml:"clash"`
BitBrowser BitBrowserConfig `yaml:"bitBrowser"`
AdsPower AdsPowerConfig `yaml:"adsPower"`
Firstmail FirstmailConfig `yaml:"firstmail"`
}
type BitBrowserConfig struct {
ApiUrl string `yaml:"apiUrl"`
ApiToken string `yaml:"apiToken"`
}
type AdsPowerConfig struct {
ApiUrl string `yaml:"apiUrl"`
ApiToken string `yaml:"apiToken"`
}
type FirstmailConfig struct {
ApiUrl string `yaml:"apiUrl"`
ApiToken string `yaml:"apiToken"`
}
func LoadConfig() (*AppConfig, error) {