mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-24 11:28:40 +08:00
项目目录优化,任务模块后端代码
This commit is contained in:
16
apps/system/router/system.go
Normal file
16
apps/system/router/system.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
api2 "pandax/apps/system/api"
|
||||
)
|
||||
|
||||
func InitSystemRouter(router *gin.RouterGroup) {
|
||||
s := &api2.System{}
|
||||
sys := router.Group("")
|
||||
|
||||
{
|
||||
sys.GET("", s.ConnectWs)
|
||||
sys.GET("server", s.ServerInfo)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user