|
@@ -50,7 +50,7 @@ service.interceptors.response.use(
|
|
|
response => {
|
|
|
const res = response.data
|
|
|
// if the custom code is not 20000, it is judged as an error.
|
|
|
- if (res.code !== 1 && response.config.url !== '/api/admin/verify') {
|
|
|
+ if (res.code !== 1 && response.config.url !== '/website-api/admin/verify') {
|
|
|
Message({
|
|
|
message: res.message || 'Error',
|
|
|
type: 'error',
|