hcong
2024-11-08 d7d7da5c09340eafcd2e2c672e6b2c001a4cc0be
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);
  }
};