mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-12-25 11:32:24 +08:00
修复bugs
This commit is contained in:
parent
96413c3c16
commit
53ca08e1f1
@ -18,10 +18,11 @@ import (
|
|||||||
"boss/models/system"
|
"boss/models/system"
|
||||||
"boss/service"
|
"boss/service"
|
||||||
"boss/utils"
|
"boss/utils"
|
||||||
"github.com/beego/beego/v2/core/logs"
|
|
||||||
"github.com/rs/xid"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/beego/beego/v2/core/logs"
|
||||||
|
"github.com/rs/xid"
|
||||||
)
|
)
|
||||||
|
|
||||||
type AddController struct {
|
type AddController struct {
|
||||||
|
@ -420,7 +420,7 @@ func (c *UpdateService) ResultPayFor(resultType, bankOrderId string) *datas.KeyD
|
|||||||
return keyDataJSON
|
return keyDataJSON
|
||||||
}
|
}
|
||||||
|
|
||||||
u, _ := web.AppConfig.String("host")
|
u, _ := web.AppConfig.String("gateway::host")
|
||||||
u = u + "/solve/payfor/result?" + "resultType=" + resultType + "&bankOrderId=" + bankOrderId
|
u = u + "/solve/payfor/result?" + "resultType=" + resultType + "&bankOrderId=" + bankOrderId
|
||||||
s, err := httplib.Get(u).String()
|
s, err := httplib.Get(u).String()
|
||||||
if err != nil || s == common.FAIL {
|
if err != nil || s == common.FAIL {
|
||||||
|
@ -19,6 +19,6 @@ func init() {
|
|||||||
|
|
||||||
web.Router("/gateway/supplier/order/query", &gateway.OrderController{}, "*:OrderQuery")
|
web.Router("/gateway/supplier/order/query", &gateway.OrderController{}, "*:OrderQuery")
|
||||||
web.Router("/gateway/update/order", &gateway.OrderController{}, "*:OrderUpdate")
|
web.Router("/gateway/update/order", &gateway.OrderController{}, "*:OrderUpdate")
|
||||||
web.Router("/gateway/supplier/payfor/query", &gateway.PayForGateway{}, "QuerySupplierPayForResult")
|
web.Router("/gateway/supplier/payfor/query", &gateway.PayForGateway{}, "*:QuerySupplierPayForResult")
|
||||||
web.Router("/solve/payfor/result", &gateway.PayForGateway{}, "SolvePayForResult")
|
web.Router("/solve/payfor/result", &gateway.PayForGateway{}, "*:SolvePayForResult")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user