mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2026-04-03 23:44:13 +08:00
重构gateway和shop模拟商城
This commit is contained in:
@@ -51,7 +51,7 @@ func (c *PayController) Pay() {
|
||||
str := "/scan.html?" + "orderNo=" + orderNo + "&orderPrice=" + amount + "&qrCode=" + response.Qrcode + "&payWayCode=" + isScan
|
||||
c.Redirect(str, 302)
|
||||
} else {
|
||||
flash.Error("请求失败,生成二维码失败")
|
||||
flash.Error(response.Msg)
|
||||
flash.Store(&c.Controller)
|
||||
c.Redirect("/error.html", 302)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user