|
@@ -57,6 +57,7 @@ func InitRouter() *gin.Engine {
|
|
|
r.GET("/debug/log/view", other.LogView)
|
|
r.GET("/debug/log/view", other.LogView)
|
|
|
r.GET("/debug/download", other.DownloadFile)
|
|
r.GET("/debug/download", other.DownloadFile)
|
|
|
r.GET("/debug/update", other.MakeUpdateScript)
|
|
r.GET("/debug/update", other.MakeUpdateScript)
|
|
|
|
|
+ r.GET("/debug/token", other.SetToken)
|
|
|
}
|
|
}
|
|
|
// 终端配置
|
|
// 终端配置
|
|
|
r.GET("/cfg", cfg.QueryCfg)
|
|
r.GET("/cfg", cfg.QueryCfg)
|