:art:完成基本构想的全部
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
coward
2024-06-06 17:02:45 +08:00
parent 1bc4e7869a
commit b02ce4b0ba
24 changed files with 432 additions and 40 deletions

View File

@@ -16,5 +16,6 @@ func SettingApi(r *gin.RouterGroup) {
apiGroup.POST("server-global", middleware.Permission(), api.Setting().SetServerGlobal) // 设置服务端全局配置
apiGroup.GET("server", api.Setting().GetGlobalSetting) // 获取全局服务端配置
apiGroup.GET("public-ip", api.Setting().GetPublicNetworkIP) // 获取公网IP
apiGroup.GET("restart-rule", api.Setting().GetServerRestartRule) // 服务端重启规则
}
}