初始化
This commit is contained in:
parent
a8e7a96d4c
commit
8d8f58aab9
|
@ -1,13 +1,8 @@
|
||||||
package requestmapping
|
package requestmapping
|
||||||
|
|
||||||
import (
|
|
||||||
"qteam/app/constants/common"
|
|
||||||
"qteam/app/http/entities/backend"
|
|
||||||
)
|
|
||||||
|
|
||||||
var BackendRequestMap = map[string]func() interface{}{
|
var BackendRequestMap = map[string]func() interface{}{
|
||||||
|
|
||||||
common.ADMIN_V1 + "/product/create": func() interface{} {
|
//common.ADMIN_V1 + "/product/create": func() interface{} {
|
||||||
return new(backend.ProductCreateRequest)
|
// return new(backend.ProductCreateRequest)
|
||||||
},
|
//},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
package requestmapping
|
package requestmapping
|
||||||
|
|
||||||
import "qteam/app/http/entities/front"
|
|
||||||
|
|
||||||
var FrontRequestMap = map[string]func() interface{}{
|
var FrontRequestMap = map[string]func() interface{}{
|
||||||
"/v1/login": func() interface{} {
|
//"/v1/login": func() interface{} {
|
||||||
return new(front.LoginRequest)
|
// return new(front.LoginRequest)
|
||||||
},
|
//},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue