Update route.go
This commit is contained in:
parent
6bb044ab04
commit
d91fef0a19
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ func InitRouter() *gin.Engine {
|
|||
v1SysGroup := v1Group.Group("/sys")
|
||||
v1SysGroup.Use()
|
||||
{
|
||||
v1SysGroup.GET("/check", v1.GetSystemCheckVersion)
|
||||
v1SysGroup.GET("/version/check", v1.GetSystemCheckVersion)
|
||||
v1SysGroup.GET("/hardware/info", v1.GetSystemHardwareInfo)
|
||||
v1SysGroup.POST("/update", v1.SystemUpdate)
|
||||
|
|
Loading…
Reference in a new issue