项目目录优化,任务模块后端代码

This commit is contained in:
PandaGoAdmin
2021-12-23 17:23:27 +08:00
parent 0caf81660c
commit 21ff92a93c
67 changed files with 802 additions and 206 deletions

View 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)
}
}