From e43f8e6fcaf2af0011e938fb08def3182e68ffe3 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Sat, 12 Oct 2024 17:18:28 +0800 Subject: [PATCH] 1 --- app/store/svc/svc_qrcode.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/store/svc/svc_qrcode.go b/app/store/svc/svc_qrcode.go index 380107c..d8b71ab 100644 --- a/app/store/svc/svc_qrcode.go +++ b/app/store/svc/svc_qrcode.go @@ -61,7 +61,7 @@ func QrcodeBase(c *gin.Context) { } if qrcodeData != nil { h5Domain := svc.GetWebSiteDomainInfo(c, "wap") - content := h5Domain + "/#/zy-landing-page/pages/o2o-scan/o2o-scan?qrcode_id=" + utils.IntToStr(qrcodeData.Id) + content := h5Domain + "/#/zy-cake-single-order/pages/scan-result/scan-pay-result?qrcode_id=" + utils.IntToStr(qrcodeData.Id) res["pay_url"] = content res["pay_qrcode"] = strings.ReplaceAll(qrcode.GetPNGBase64(content), "\u0000", "") } @@ -90,7 +90,7 @@ func Qrcode(c *gin.Context) { "qrcode": "", "url": "", } - content := h5Domain + "/#/zy-landing-page/pages/o2o-scan/o2o-scan?qrcode_id=" + utils.AnyToString(v.Id) + content := h5Domain + "/#/zy-cake-single-order/pages/scan-result/scan-buy-result?qrcode_id=" + utils.AnyToString(v.Id) tmp["qrcode"] = strings.ReplaceAll(qrcode.GetPNGBase64(content), "\u0000", "") tmp["url"] = content list = append(list, tmp)