产品分化 设计平台 剧本修改

This commit is contained in:
joylink_cuiweidong 2019-09-30 18:13:24 +08:00
parent ca413e3331
commit 35faeb8583

View File

@ -3,7 +3,8 @@ import request from '@/utils/request';
/** 查找个人录制的仿真任务*/ /** 查找个人录制的仿真任务*/
export function getQuestPageList(mapId) { export function getQuestPageList(mapId) {
return request({ return request({
url: `/api/script/${mapId}/list`, // url: `/api/script/${mapId}/list`,
url: `/api/script/draft/list/${mapId}`,
method: 'get' method: 'get'
}); });
} }
@ -27,7 +28,8 @@ export function deleteQuest(id) {
/** 根据id查询任务基础信息 */ /** 根据id查询任务基础信息 */
export function getQuestById(id) { export function getQuestById(id) {
return request({ return request({
url: `/api/script/${id}/basic`, // url: `/api/script/${id}/basic`,
url: `/api/script/draft/${id}/basic`,
method: 'get' method: 'get'
}); });
} }