Подготовить HY2XS к production-сборке
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"hy2xs-admin/controller"
|
||||
)
|
||||
|
||||
func initLogRouter(accountApi *gin.RouterGroup) {
|
||||
account := accountApi.Group("/log")
|
||||
{
|
||||
account.GET("/logSystem", controller.LogSystem)
|
||||
account.GET("/logHysteria2", controller.LogHysteria2)
|
||||
account.POST("/exportLog", controller.ExportLog)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user