import request from '@/utils/request'; /** 分页查找上线的剧本*/ export function getScriptPageListOnline(params) { return request({ url: `/api/script/paging/online`, // url: `/api/script/paging/published`, method: 'get', params: params }); } /** 通过ID查询发布的剧本的详细信息 */ export function getScriptById(id) { return request({ url: `/api/script/${id}/detail`, method: 'get' }); } /** 通过ID查询未发布剧本的详细信息 */ export function getDraftScriptByGroup(group) { return request({ url: `/api/simulation/${group}/script/loadedScript`, method: 'get' }); }