重构gateway和shop模拟商城

This commit is contained in:
kongyuebin
2021-09-16 16:24:34 +08:00
parent 2a98cbd9ac
commit 4967a137ec
58 changed files with 90 additions and 5644 deletions

View File

@@ -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)
}