From 0f2efb0b6631b1a4cf77682e62fd0df3a05e64f7 Mon Sep 17 00:00:00 2001 From: liulujian Date: Wed, 15 Apr 2026 15:51:27 +0800 Subject: [PATCH] =?UTF-8?q?feat(mhzc):=20=E6=96=B0=E5=A2=9EgetCaptcha=20AP?= =?UTF-8?q?I?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- txw-mhzc-web/src/pages/index/api/login.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/txw-mhzc-web/src/pages/index/api/login.js b/txw-mhzc-web/src/pages/index/api/login.js index 1e01840..b0903e4 100644 --- a/txw-mhzc-web/src/pages/index/api/login.js +++ b/txw-mhzc-web/src/pages/index/api/login.js @@ -129,6 +129,14 @@ export function Getqrcode() { method: 'post', }); } + +// 获取图形验证码 +export function getCaptcha() { + return fetchSso({ + url: `${basurl}/sso/verify/captcha`, + method: 'post', + }); +} //获取登录回调响应结果 export function backresultlogin(params) { return fetchSso({