Update route.go

This commit is contained in:
a624669980@163.com 2022-07-29 15:47:43 +08:00
parent 364fbf01f5
commit 81d3293991

View file

@ -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