From 8d8f58aab90ab443ca69994198da1b560fdfe835 Mon Sep 17 00:00:00 2001 From: "qiyunfanbo126.com" <815699> Date: Thu, 9 May 2024 16:16:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/http/requestmapping/backend.go | 11 +++-------- app/http/requestmapping/front.go | 8 +++----- 2 files changed, 6 insertions(+), 13 deletions(-) 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) + //}, }