mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-21 08:46:46 +08:00
Merge branch 'compulsory_professional_skills' into master_1202
This commit is contained in:
@@ -18,8 +18,8 @@ import { boeRequest } from "@/api/request";
|
||||
// "application/x-www-form-urlencoded";
|
||||
axios.defaults.withCredentials = true;
|
||||
const http = axios.create({
|
||||
// baseURL: '/growth',
|
||||
baseURL: process.env.VUE_APP_BASE_API_GROWTH,
|
||||
baseURL: '/growth',
|
||||
// baseURL: process.env.VUE_APP_BASE_API_GROWTH,
|
||||
timeout: 1000 * 15,
|
||||
// headers: { "Content-Type": "multipart/form-data" },
|
||||
headers: { "Content-Type": "application/json" },
|
||||
@@ -54,7 +54,7 @@ http.interceptors.response.use(
|
||||
const {
|
||||
data: { code, msg, show },
|
||||
} = response;
|
||||
if (code === 0 || code === 200) {
|
||||
if (code === 0 || code === 200 || response?.data?.status == 200) {
|
||||
return response;
|
||||
} else if (code === 1000) {
|
||||
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)
|
||||
|
||||
@@ -87,7 +87,7 @@ export const taskCompletionRate = (growthId) => http.get('/professional/manageme
|
||||
export const getStudyStatisticsList = (data) => http.post('/professional/statics/getStudyStatisticsList', data)
|
||||
|
||||
// 专业力列表
|
||||
export const boeuGrowthPlatePageList = (obj) => http.post('/boeu/growth/pageList', obj)
|
||||
export const boeuGrowthPlatePageList = (obj) => http.post('/boeu/grow/pageList', obj)
|
||||
|
||||
|
||||
// 是否按顺序学习
|
||||
|
||||
@@ -32,4 +32,4 @@ export const boeuCasePlatePageList = (obj) => http.post('/boeu/case/pageList', o
|
||||
|
||||
|
||||
// 专业力列表
|
||||
export const boeuGrowthPlatePageList = (obj) => http.post('/boeu/growth/pageList', obj)
|
||||
export const boeuGrowthPlatePageList = (obj) => http.post('/boeu/grow/pageList', obj)
|
||||
Reference in New Issue
Block a user