2023-06-12 09:35:37 +00:00
|
|
|
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) {
|
2023-06-15 04:00:32 +00:00
|
|
|
|
2023-06-12 09:35:37 +00:00
|
|
|
l := logic.NewGetSizeByProductLogic(r.Context(), svcCtx)
|
|
|
|
resp := l.GetSizeByProduct(userinfo)
|
2023-07-21 06:20:21 +00:00
|
|
|
|
2023-06-12 09:35:37 +00:00
|
|
|
}
|
|
|
|
}
|