17 lines
362 B
Go
17 lines
362 B
Go
package requestmapping
|
|
|
|
import (
|
|
"PaymentCenter/app/constants/common"
|
|
"PaymentCenter/app/http/entities/front"
|
|
)
|
|
|
|
var FrontRequestMap = map[string]func() interface{}{
|
|
common.FRONT_V1 + "/pay/web": func() interface{} { return new(front.PayWebResp) },
|
|
}
|
|
|
|
func FrontRequest() func() interface{} {
|
|
return func() interface{} {
|
|
return new(front.RequestBody)
|
|
}
|
|
}
|