feat: 账号注册/系统可暴露的配置信息接口暴露

This commit is contained in:
TsMask
2023-10-25 17:06:00 +08:00
parent 0d0ad90e1f
commit f566dd0170
4 changed files with 20 additions and 14 deletions

View File

@@ -63,7 +63,7 @@ func Setup(router *gin.Engine) {
Count: 10,
Type: middleware.LIMIT_IP,
}),
controller.NewRegister.UserName,
controller.NewRegister.Register,
)
}
@@ -71,6 +71,7 @@ func Setup(router *gin.Engine) {
commonGroup := router.Group("/common")
{
commonGroup.GET("/hash", middleware.PreAuthorize(nil), controller.NewCommont.Hash)
indexGroup.GET("/sysConf", controller.NewCommont.SysConfig)
}
// 文件操作处理