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