XinYeYouKu/app/http/requestmapping/front.go

23 lines
778 B
Go
Raw 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
// 兴业银行登录
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) },
// 订单列表
common.FRONT_API_V1_Auth + "/order/list": func() interface{} { return new(front.OrderQueryRequest) },
2024-06-07 18:24:56 +08:00
}