mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 17:26:46 +08:00
Merge branch 'new_1205_bug' into zcwy-teacher-manage
This commit is contained in:
@@ -18,4 +18,4 @@ export const REFRESH_TOKEN_API = "/userbasic/refreshToken";
|
||||
|
||||
export const COURSE_AUDIT = "/systemapi/xboe/m/course/manage/audit post formData";
|
||||
export const OTHER_AUDIT = "/systemapi/xboe/m/course/audit/appoint post formData";
|
||||
export const ONLINE_COURSE_DEL = (id, courseId,studentId) => `/systemapi/xboe/school/study/course/delete-signup?id=${id}&couserId=${courseId}&studentId=${studentId} post`;
|
||||
export const ONLINE_COURSE_DEL = (id, courseId,studentId) => `/systemapi/xboe/school/study/course/delete-signup?id=${id}&courseId=${courseId}&studentId=${studentId} post`;
|
||||
@@ -501,9 +501,6 @@ export async function request(_url, params) {
|
||||
if (res.code === 0 || res.code === 200 || res.status === 200) {
|
||||
return res;
|
||||
}
|
||||
if (res.code === 4 ){
|
||||
return Promise.reject(res);
|
||||
}
|
||||
if (res.code === 1000 || res.code === 1002) {
|
||||
window.location.href = process.env.VUE_APP_LOGIN_URL + encodeURIComponent(window.location.protocol + process.env.VUE_APP_BOE_API_URL + process.env.VUE_APP_BASE + router.currentRoute.value.fullPath)
|
||||
localStorage.removeItem('refreshPage')
|
||||
|
||||
Reference in New Issue
Block a user