2019-08-29 17:16:33 +08:00
|
|
|
import request from '@/utils/request';
|
|
|
|
|
|
|
|
/** 分页查找上线的剧本*/
|
|
|
|
export function getScriptPageListOnline(params) {
|
|
|
|
return request({
|
2019-10-09 14:01:02 +08:00
|
|
|
// url: `/api/script/paging/online`,
|
|
|
|
url: `/api/script/paging/published`,
|
2019-08-29 17:16:33 +08:00
|
|
|
method: 'get',
|
|
|
|
params: params
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/** 通过ID查询剧本的基础信息 */
|
|
|
|
export function getScriptByIdList(id) {
|
|
|
|
return request({
|
|
|
|
url: `/api/script/${id}/basic`,
|
|
|
|
method: 'get'
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/** 通过ID查询剧本的基础信息 */
|
|
|
|
export function getScriptById(id) {
|
|
|
|
return request({
|
|
|
|
url: `/api/script/${id}/detail`,
|
|
|
|
method: 'get'
|
|
|
|
});
|
|
|
|
}
|