From bd70011c01ef88af7e0ad336fa6344f9acdcb44a Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 29 May 2026 14:39:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20rl=5Fverify=E8=AE=A4=E8=AF=81=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E5=90=8E=E7=94=A8NewWindow=E6=8E=A7=E4=BB=B6=E5=9C=A8?= =?UTF-8?q?=E6=96=B0=E7=AA=97=E5=8F=A3=E6=89=93=E5=BC=80=E8=AE=A4=E8=AF=81?= =?UTF-8?q?=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/api/rl_verify.dspy | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/wwwroot/api/rl_verify.dspy b/wwwroot/api/rl_verify.dspy index 3646d59..ea19543 100644 --- a/wwwroot/api/rl_verify.dspy +++ b/wwwroot/api/rl_verify.dspy @@ -16,10 +16,23 @@ result = await rl_verify_user(org_id, user_id, vendor, project_name) if result.get('success'): h5_link = result.get('h5_link', '') - msg = f"认证会话已创建,请通过以下链接完成真人认证:\n{h5_link}" + msg = "认证会话已创建,请在新窗口中完成真人认证" return json.dumps({ "widgettype": "Message", - "options": {"message": msg, "type": "success"} + "options": {"title": "真人认证", "message": msg}, + "subwidgets": [ + { + "widgettype": "Button", + "options": { + "label": "打开认证页面", + "action": { + "actiontype": "urlwidget", + "target": "NewWindow", + "url": h5_link + } + } + } + ] }) else: return json.dumps({