diff --git a/app/http/requestmapping/backend.go b/app/http/requestmapping/backend.go index f85dbf3..6d05180 100644 --- a/app/http/requestmapping/backend.go +++ b/app/http/requestmapping/backend.go @@ -1,13 +1,8 @@ package requestmapping -import ( - "qteam/app/constants/common" - "qteam/app/http/entities/backend" -) - var BackendRequestMap = map[string]func() interface{}{ - common.ADMIN_V1 + "/product/create": func() interface{} { - return new(backend.ProductCreateRequest) - }, + //common.ADMIN_V1 + "/product/create": func() interface{} { + // return new(backend.ProductCreateRequest) + //}, } diff --git a/app/http/requestmapping/front.go b/app/http/requestmapping/front.go index 8e69787..36ccad7 100644 --- a/app/http/requestmapping/front.go +++ b/app/http/requestmapping/front.go @@ -1,9 +1,7 @@ package requestmapping -import "qteam/app/http/entities/front" - var FrontRequestMap = map[string]func() interface{}{ - "/v1/login": func() interface{} { - return new(front.LoginRequest) - }, + //"/v1/login": func() interface{} { + // return new(front.LoginRequest) + //}, }