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