Browse Source

非代理商用户跳回加盟页

pull/103/head
pengda 4 weeks ago
parent
commit
c864b09d96
  1. 4
      src/utils/request.js

4
src/utils/request.js

@ -62,6 +62,10 @@ service.interceptors.response.use(
return handleTokenRefresh(error.config, service); // <<< 封装方法
}
break;
case 403:
// 加盟用户为注册为代理商 跳回加盟页
window.location.href = '/franchise';
break;
case 404:
// 资源未找到
console.error("资源未找到");

Loading…
Cancel
Save