mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-27 19:40:26 +08:00
20 lines
296 B
Go
20 lines
296 B
Go
package router
|
|
|
|
import (
|
|
"mayfly-go/internal/sys/api"
|
|
"mayfly-go/pkg/biz"
|
|
"mayfly-go/pkg/ioc"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func InitSystemRouter(router *gin.RouterGroup) {
|
|
sys := router.Group("sysmsg")
|
|
s := new(api.System)
|
|
biz.ErrIsNil(ioc.Inject(s))
|
|
|
|
{
|
|
sys.GET("", s.ConnectWs)
|
|
}
|
|
}
|