新增api重启系统(支持非windows)
修改 - server/api/v1/sys_system.go - server/router/sys_system.go
This commit is contained in:
@@ -12,5 +12,6 @@ func InitSystemRouter(Router *gin.RouterGroup) {
|
||||
SystemRouter.POST("getSystemConfig", v1.GetSystemConfig) // 获取配置文件内容
|
||||
SystemRouter.POST("setSystemConfig", v1.SetSystemConfig) // 设置配置文件内容
|
||||
SystemRouter.POST("getServerInfo", v1.GetServerInfo) // 获取服务器信息
|
||||
SystemRouter.POST("reloadSystem", v1.ReloadSystem) // 获取服务器信息
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user