Commit 4f66ecf4 by llj

feat:更改api

1 parent 7882963d
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Date: 2022-03-23 16:47:37 * @Date: 2022-03-23 16:47:37
*/ */
import { post } from '@/utils/http'; import { post } from '@/utils/http';
const basePath = 'https://saas-crm-wx.jimijiayuan.cn/rest/saas/crm/xcx'; const basePath = '/rest/saas/crm/xcx';
// 获取任务详情 // 获取任务详情
export const makeSceneTaskInfo = data => export const makeSceneTaskInfo = data =>
post(`${basePath}/pdf/ms/makeSceneTaskInfo`, data); post(`${basePath}/pdf/ms/makeSceneTaskInfo`, data);
...@@ -89,7 +89,11 @@ module.exports = { ...@@ -89,7 +89,11 @@ module.exports = {
noInfo: true, noInfo: true,
overlay: true, overlay: true,
proxy: { proxy: {
target: 'https://saas-crm-wx.jimijiayuan.cn' '/rest': {
target: 'https://saas-crm-wx.jimijiayuan.cn',
changeOrigin: true,
secure: false
}
} }
}, },
performance: { performance: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!