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

18 lines
360 B
Go

package handler
import (
"net/http"
"fusenapi/server/product/internal/logic"
"fusenapi/server/product/internal/svc"
)
func GetSizeByProductHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
l := logic.NewGetSizeByProductLogic(r.Context(), svcCtx)
resp := l.GetSizeByProduct(userinfo)
}
}