|
|
@@ -205,11 +205,13 @@ export interface GetListWorkshop<U, A> {
|
|
|
// tag?: string; //场景标签 自定义 后面需要修改
|
|
|
}
|
|
|
|
|
|
-export const getSceneList = (): Promise<
|
|
|
+export const getSceneList = (
|
|
|
+ skipPerm: boolean = true,
|
|
|
+): Promise<
|
|
|
SceneListType<GetListWorkshop<WorkspaceAddDatas, WorkShopTempleteType>, LabelModuleListType>[]
|
|
|
> => {
|
|
|
return http.request({
|
|
|
- url: '/scene/getList',
|
|
|
+ url: `/scene/getList?skipPerm=${skipPerm}`,
|
|
|
method: 'get',
|
|
|
});
|
|
|
};
|