|
@@ -3,7 +3,7 @@ import axios from '@/libs/axios.js'
|
|
// 获取图片验证码
|
|
// 获取图片验证码
|
|
export const getCaptcha = randomCode => {
|
|
export const getCaptcha = randomCode => {
|
|
return axios.request({
|
|
return axios.request({
|
|
- url: `captcha/captcha/create/${randomCode}`,
|
|
|
|
|
|
+ url: `captcha/create/${randomCode}`,
|
|
method: 'get',
|
|
method: 'get',
|
|
responseType: 'blob',
|
|
responseType: 'blob',
|
|
}, true)
|
|
}, true)
|