This commit is contained in:
laodaming
2023-10-11 18:54:14 +08:00
parent afe8b26eee
commit 2e4be2800f
4 changed files with 16 additions and 36 deletions

View File

@@ -1,15 +0,0 @@
package handler
import (
"fusenapi/server/websocket/internal/logic"
"fusenapi/server/websocket/internal/svc"
"net/http"
)
func DataTransferHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
// 创建一个业务逻辑层实例
l := logic.NewDataTransferLogic(r.Context(), svcCtx)
l.DataTransfer(w, r)
}
}