src/api/fysp/sceneApi.js
@@ -66,5 +66,19 @@ */ updateScene(scene) { return $fysp.post('scense', scene).then((res) => res.data); }, /** * 批量更新场景 */ updateSceneList(sceneList) { return $fysp.post('scense/update/list', sceneList).then((res) => res.data); }, /** * 获取所有场景类型 */ getAllScene() { return $fysp.get('scense/alltype').then((res) => res.data); } };