18 lines
360 B
Go
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)
|
|
|
|
}
|
|
}
|