fix: 系统可暴露的配置信息
This commit is contained in:
@@ -23,6 +23,9 @@ func Setup(router *gin.Engine) {
|
||||
controller.NewIndex.Handler,
|
||||
)
|
||||
|
||||
// 系统可暴露的配置信息
|
||||
indexGroup.GET("/sys-conf", controller.NewCommont.SysConfig)
|
||||
|
||||
// 验证码操作处理
|
||||
indexGroup.GET("/captchaImage",
|
||||
middleware.RateLimit(middleware.LimitOption{
|
||||
@@ -71,7 +74,6 @@ func Setup(router *gin.Engine) {
|
||||
commonGroup := router.Group("/common")
|
||||
{
|
||||
commonGroup.GET("/hash", middleware.PreAuthorize(nil), controller.NewCommont.Hash)
|
||||
indexGroup.GET("/sysConf", controller.NewCommont.SysConfig)
|
||||
}
|
||||
|
||||
// 文件操作处理
|
||||
|
||||
Reference in New Issue
Block a user