From d4993b89e8e82c1a372b2431914d1aac1ea969c0 Mon Sep 17 00:00:00 2001 From: 18500206848 Date: Sun, 31 Mar 2024 02:44:00 +0800 Subject: [PATCH] 111 --- api/mission.js | 6 +++--- vue.config.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/mission.js b/api/mission.js index 6c2624a..af2333d 100644 --- a/api/mission.js +++ b/api/mission.js @@ -175,7 +175,7 @@ export const getNewsPolicyList = (ids) => { /*我的收藏*/ export const myCollection = (current, size, status) => { return request({ - url: '/api/jobslink-api/works/jkworkscollect/getCollectListByUserId', + url: '/api/jobslink-api/jkWorks/jkWorks/getCollectListByUserId', method: 'get', params: { current, @@ -248,7 +248,7 @@ export const workDetail = (workId) => { /*获取收藏状态*/ export const getCollectState = (workId, type) => { return request({ - url: '/api/jobslink-api/works/jkworkscollect/getCollectStatus', + url: '/api/jobslink-api/jkWorks/jkWorks/getCollectStatus', method: 'get', params: { workId, @@ -260,7 +260,7 @@ export const getCollectState = (workId, type) => { /*收藏和取消收藏接口*/ export const updateCollectStatus = (workId, status, type) => { return request({ - url: '/api/jobslink-api/works/jkworkscollect/updateCollectStatus', + url: '/api/jobslink-api/jkWorks/jkWorks/updateCollectStatus', method: 'get', params: { workId, diff --git a/vue.config.js b/vue.config.js index c0273d5..476c9f0 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,7 +3,7 @@ module.exports = { port: 1887, proxy: { '/api': { - target: 'http://10.165.0.173:8000', // 内网 + target: 'http://localhost:8000', // 内网 // target: 'http://192.168.1.109:8000', // 本地测试 ws: true, pathRewrite: {