mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-11-23 02:39:26 +08:00
17 lines
532 B
Go
17 lines
532 B
Go
package routers
|
|
|
|
import (
|
|
"github.com/astaxie/beego"
|
|
"juhe/jhgateway/controllers/gateway"
|
|
)
|
|
|
|
func init() {
|
|
//网关处理函数
|
|
beego.Router("/gateway/scan", &gateway.ScanController{}, "*:Scan")
|
|
beego.Router("/err/params", &gateway.ErrorGatewayController{}, "*:ErrorParams")
|
|
//代付相关的接口
|
|
beego.Router("gateway/payfor", &gateway.PayForGateway{}, "*:PayFor")
|
|
beego.Router("/gateway/payfor/query", &gateway.PayForGateway{}, "*:PayForQuery")
|
|
beego.Router("/gateway/balance", &gateway.PayForGateway{}, "*:Balance")
|
|
}
|