From 7dc33c9247dfd585195016513ced1a3e98e96df2 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 27 六月 2022 11:03:27 +0800 Subject: [PATCH] update springboot 2.6.8 => 2.6.9 update easyexcel 3.1.0 => 3.1.1 update hutool 5.8.2 => 5.8.3 update redisson 3.17.2 => 3.17.4 update aws-java-sdk-s3 1.12.215 => 1.12.248 update tencentcloud-sdk-java 3.1.500 => 3.1.537 --- ruoyi-ui/src/api/login.js | 35 +++++++++++++++++++++++++++++++++-- 1 files changed, 33 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js index 869cd9f..3c5bcfe 100644 --- a/ruoyi-ui/src/api/login.js +++ b/ruoyi-ui/src/api/login.js @@ -10,6 +10,21 @@ } return request({ url: '/login', + headers: { + isToken: false + }, + method: 'post', + data: data + }) +} + +// 娉ㄥ唽鏂规硶 +export function register(data) { + return request({ + url: '/register', + headers: { + isToken: false + }, method: 'post', data: data }) @@ -35,6 +50,22 @@ export function getCodeImg() { return request({ url: '/captchaImage', - method: 'get' + headers: { + isToken: false + }, + method: 'get', + timeout: 20000 }) -} \ No newline at end of file +} + +// 鐭俊楠岃瘉鐮� +export function getCodeSms() { + return request({ + url: '/captchaSms', + headers: { + isToken: false + }, + method: 'get', + timeout: 20000 + }) +} -- Gitblit v1.9.3