mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-30 04:50:26 +08:00
feat: 新增linux文件上传成功后websocket通知
This commit is contained in:
16
server/sys/router/system.go
Normal file
16
server/sys/router/system.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"mayfly-go/server/sys/api"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func InitSystemRouter(router *gin.RouterGroup) {
|
||||
s := &api.System{}
|
||||
sys := router.Group("sysmsg")
|
||||
|
||||
{
|
||||
sys.GET("", s.ConnectWs)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user