Feat: CORS / Test: site/config route

This commit is contained in:
HFO4
2019-11-23 15:09:46 +08:00
parent 370a1a0c9f
commit 948059ec1c
8 changed files with 100 additions and 61 deletions

View File

@@ -45,7 +45,7 @@ func Init() {
return conf.DatabaseConfig.TablePrefix + defaultTableName
}
// Debug 模式下,输出所有 SQL 日志
// Debug模式下输出所有 SQL 日志
if conf.SystemConfig.Debug {
db.LogMode(true)
}