fusenapi/server/webset/internal/handler/websetsettinghandler.go
2023-07-21 14:20:21 +08:00

22 lines
466 B
Go

package handler
import (
"net/http"
"fusenapi/server/webset/internal/logic"
"fusenapi/server/webset/internal/svc"
"fusenapi/server/webset/internal/types"
)
func WebSetSettingHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
var req types.RequestWebSet
// 创建一个业务逻辑层实例
l := logic.NewWetSetSettingLogic(r.Context(), svcCtx)
resp := l.WebSetSetting(&req, userinfo)
}
}