This commit is contained in:
jiangyong27 2024-03-23 20:20:50 +08:00
parent b77d70dcf4
commit 7fbfe986b1
3 changed files with 4 additions and 8 deletions

View File

@ -1,4 +1,4 @@
{ {
"token": "711ed95e483af1e8d61705c9c894a5b2", "token": "9014b89e196bb84d4f445df527b1983f",
"syncInterval": 10 "syncInterval": 10
} }

View File

@ -5,8 +5,8 @@ log_level = 5
[mysql] [mysql]
host = "192.168.13.213" host = "10.0.2.157"
port = 3306 port = 3307
user = "film" user = "film"
pass = "7VCfJx7H8MymUm" pass = "7VCfJx7H8MymUm"
db = "film" db = "film"
@ -18,7 +18,3 @@ qiye_secret = "3aqE6LAEKLiGtYBtX7TZm0uY_YD52w3R20AQirSICXY"
qiye_agent = "1000013" qiye_agent = "1000013"
receiver = ["jiangyong", "zhangping"] receiver = ["jiangyong", "zhangping"]
[film]
haha_token = "d6847dfbd7b79bc18709e0311fd7813b"
dadi_token = "321566:7b84a0b1-832a-4492-a96a-23002d6c8715"

View File

@ -78,7 +78,7 @@ func GetConfig() *Config {
func LoadServerConfig() { func LoadServerConfig() {
configEnv = os.Getenv("CONFIG_ENV") configEnv = os.Getenv("CONFIG_ENV")
if configEnv == "" { if configEnv == "" {
configEnv = "dev" configEnv = "prod"
} }
var envConfig Config var envConfig Config