23 lines
778 B
Go
23 lines
778 B
Go
package requestmapping
|
|
|
|
import (
|
|
"qteam/app/constants/common"
|
|
"qteam/app/http/entities/front"
|
|
)
|
|
|
|
var FrontRequestMap = map[string]func() interface{}{
|
|
"/v1/GenerateSm2Key": func() interface{} { return new(struct{}) },
|
|
|
|
// 兴业银行登录
|
|
common.FRONT_API_V1 + "/xy/login": func() interface{} { return new(front.LoginRequest) },
|
|
|
|
//用户信息
|
|
common.FRONT_API_V1_Auth + "/user": func() interface{} { return new(struct{}) },
|
|
//活动信息
|
|
common.FRONT_API_V1_Auth + "/activity": func() interface{} { return new(struct{}) },
|
|
// 生成订单
|
|
common.FRONT_API_V1_Auth + "/order/buy": func() interface{} { return new(front.OrderCreateRequest) },
|
|
// 订单列表
|
|
common.FRONT_API_V1_Auth + "/order/list": func() interface{} { return new(front.OrderQueryRequest) },
|
|
}
|