From 35faeb8583f31452f1fe14e830bc8106ca7dd7fd Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 30 Sep 2019 18:13:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E5=88=86=E5=8C=96=20?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E5=B9=B3=E5=8F=B0=20=E5=89=A7=E6=9C=AC?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/quest.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api/quest.js b/src/api/quest.js index 799467a5c..7384988ff 100644 --- a/src/api/quest.js +++ b/src/api/quest.js @@ -3,7 +3,8 @@ import request from '@/utils/request'; /** 查找个人录制的仿真任务*/ export function getQuestPageList(mapId) { return request({ - url: `/api/script/${mapId}/list`, + // url: `/api/script/${mapId}/list`, + url: `/api/script/draft/list/${mapId}`, method: 'get' }); } @@ -27,7 +28,8 @@ export function deleteQuest(id) { /** 根据id查询任务基础信息 */ export function getQuestById(id) { return request({ - url: `/api/script/${id}/basic`, + // url: `/api/script/${id}/basic`, + url: `/api/script/draft/${id}/basic`, method: 'get' }); }