XinYeYouKu/app/http/requestmapping/front.go

28 lines
1.0 KiB
Go
Raw Permalink Normal View History

2024-06-07 18:24:56 +08:00
package requestmapping
2024-06-11 18:47:02 +08:00
import (
"qteam/app/constants/common"
"qteam/app/http/entities/front"
)
2024-06-07 18:24:56 +08:00
var FrontRequestMap = map[string]func() interface{}{
2024-06-11 14:57:08 +08:00
"/v1/GenerateSm2Key": func() interface{} { return new(struct{}) },
2024-06-11 18:47:02 +08:00
2024-06-13 18:45:49 +08:00
// 三方api回调
common.FRONT_API_V1 + "/notify/marketcallback": func() interface{} { return new(front.MarketApiRequest) },
2024-06-11 18:47:02 +08:00
// 兴业银行登录
common.FRONT_API_V1 + "/xy/login": func() interface{} { return new(front.LoginRequest) },
2024-06-12 19:11:00 +08:00
//用户信息
common.FRONT_API_V1_Auth + "/user": func() interface{} { return new(struct{}) },
//活动信息
common.FRONT_API_V1_Auth + "/activity": func() interface{} { return new(struct{}) },
2024-06-13 14:30:06 +08:00
// 生成订单
common.FRONT_API_V1_Auth + "/order/buy": func() interface{} { return new(front.OrderCreateRequest) },
// 订单列表
2024-06-13 18:45:49 +08:00
common.FRONT_API_V1_Auth + "/order/list": func() interface{} { return new(front.OrderListRequest) },
// 查询订单
common.FRONT_API_V1_Auth + "/order/query": func() interface{} { return new(front.OrderQueryRequest) },
2024-06-07 18:24:56 +08:00
}