feat: 新增后台布局拖拽编辑器

- 布局改为 JSON 文件持久化,新增 /api/layouts 读写接口与坐标/组件校验

- 新增 /editor 拖拽编辑器:12 列网格画布、拖动缩放、属性面板、增删组件

- 图片接口支持外部目录,Content-Type 按扩展名返回

- deploy.yaml 挂载 /opt/composeremote/data,布局与图片持久化
This commit is contained in:
tongtong committed 2026-11-25 02:32:02 +08:00
1 parent 484380b11a
commit 07b038b4e7
10 files changed
+1183 -13

No files matched your search

+5
View File
@@ -45,6 +45,11 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<!-- 布局文件是 Kotlin data class,反序列化需要 Kotlin 模块 -->
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>