mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2025-12-30 11:02:25 +00:00
验证码两个请求不用发送签名参数
This commit is contained in:
@@ -7,7 +7,14 @@ import { ElMessage } from 'element-plus'
|
||||
import { CLIENT_TYPE, CLIENT_NAME, CLIENT_VERSION } from '@/const/userConst'
|
||||
|
||||
const baseURL = import.meta.env.VITE_BASE_URL
|
||||
const noTokenReqList = ['/user/nonce', '/user/login', '/user/register', '/user/validateAccount']
|
||||
const noTokenReqList = [
|
||||
'/user/getCaptcha',
|
||||
'/user/verifyCaptcha',
|
||||
'/user/nonce',
|
||||
'/user/login',
|
||||
'/user/register',
|
||||
'/user/validateAccount'
|
||||
]
|
||||
|
||||
const instance = axios.create({
|
||||
baseURL,
|
||||
|
||||
Reference in New Issue
Block a user