19 lines
412 B
JavaScript
19 lines
412 B
JavaScript
import request from '@/utils/request';
|
|
|
|
export function getDraftLesson(params, mapId) {
|
|
/** 根据mapId获取草稿课程 */
|
|
return request({
|
|
url: `/api/mapSystem/findDraftLessonBy/${mapId}`,
|
|
method: 'get',
|
|
params
|
|
});
|
|
}
|
|
|
|
/** 获取用户地图树 */
|
|
export function getUserMapTree(cityCode) {
|
|
return request({
|
|
url: `/api/mapSystem/findDraftMapByCityCode?cityCode=${cityCode}`,
|
|
method: 'get'
|
|
});
|
|
}
|