feat: 本次提交更新内容如下

样式定版本
This commit is contained in:
2025-07-16 15:36:09 +08:00
parent 9e1dc36853
commit e1e54b5666
3 changed files with 37 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
import { get, del } from './request';
import { get, del, post } from './request';
import type { ApiResponse } from '@/types/common';
// 服务器返回的场景数据类型
@@ -239,4 +239,8 @@ export const transformSceneItem = (item: SceneItem): Channel => {
};
};
export const getPlanScenes = () => get<any>('/v1/plan/scenes');
export const getPlanScenes = () => get<any>('/v1/plan/scenes');
export async function createScenarioPlan(data: any) {
return post('/v1/plan/create', data);
}