From c5778ba79b5ac0ec3c73f1a6e6a3e35533eaf23f Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 5 Jul 2026 11:07:26 +0800 Subject: [PATCH] =?UTF-8?q?debug:=20=E5=8E=BBparams=5Fkw=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E7=A1=AC=E7=BC=96=E7=A0=81=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/promote.dspy | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/wwwroot/promote.dspy b/wwwroot/promote.dspy index 214f265..8e67da3 100644 --- a/wwwroot/promote.dspy +++ b/wwwroot/promote.dspy @@ -1,12 +1,11 @@ -code = params_kw.get('code', '') -result = { +return { "widgettype": "Form", "options": { "width": "100%", "height": "100%", - "url": "/discount/generate_qr.dspy?code=" + code, + "url": "/discount/generate_qr.dspy", "method": "POST", "fields": [ - {"name": "valid_term", "label": "有效期", "uitype": "str", "tip": "格式:xY, xM, xD"}, + {"name": "valid_term", "label": "有效期", "uitype": "str"}, {"name": "expired_date", "label": "促销失效日期", "uitype": "date"}, {"name": "discount", "label": "折扣", "uitype": "float", "tip": "0<折扣<1"} ]