fusenapi/server/map-library/internal/handler/savemaplibraryhandler.go
2023-07-21 14:20:21 +08:00

19 lines
404 B
Go

package handler
import (
"net/http"
"fusenapi/server/map-library/internal/logic"
"fusenapi/server/map-library/internal/svc"
)
func SaveMapLibraryHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
// 创建一个业务逻辑层实例
l := logic.NewSaveMapLibraryLogic(r.Context(), svcCtx)
resp := l.SaveMapLibrary(userinfo, r)
}
}