feat: 系统初始引导使用重置接口
This commit is contained in:
@@ -25,11 +25,12 @@ func Setup(router *gin.Engine) {
|
||||
|
||||
// 系统可暴露的配置信息
|
||||
indexGroup.GET("/sys-conf", controller.NewCommont.SysConfig)
|
||||
// 首次引导安装
|
||||
guideGroup := router.Group("/guide")
|
||||
// 系统引导初始化
|
||||
guideGroup := router.Group("/bootloader")
|
||||
{
|
||||
guideGroup.POST("", controller.NewLaunch.GuideStart)
|
||||
guideGroup.PUT("", middleware.PreAuthorize(nil), controller.NewLaunch.GuideDone)
|
||||
guideGroup.POST("", controller.NewBootloader.BootloaderStart)
|
||||
guideGroup.PUT("", middleware.PreAuthorize(nil), controller.NewBootloader.BootloaderDone)
|
||||
guideGroup.DELETE("", middleware.PreAuthorize(nil), controller.NewBootloader.BootloaderReset)
|
||||
}
|
||||
|
||||
// 验证码操作处理
|
||||
|
||||
Reference in New Issue
Block a user