chore(sql): 自有 SQL 脚本统一迁入 sql/ttstd 并更新目录约定
This commit is contained in:
1 parent
337033f743
commit
ee94762905
23 files changed
+4
-2
No files matched your search
@@ -82,7 +82,9 @@ git log --oneline gitee/master -- src/main/java/com/youlai/boot/xxx #
|
||||
|
||||
#### C. 数据与运维脚本(非 Java 代码,允许新增)
|
||||
|
||||
`sql/*.sql`、`docs/sql/*.sql`、`docker/*`。
|
||||
- `sql/ttstd/*.sql`:业务建表、菜单/权限、数据修复等脚本统一放这里。
|
||||
- `docs/sql/*.sql`:部署/运维类脚本(如 TDengine、EMQX 规则)。
|
||||
- `docker/*`。
|
||||
|
||||
#### D. 禁止事项
|
||||
|
||||
@@ -140,7 +142,7 @@ xxx/
|
||||
- 头像:家属端走 `POST /api/v1/client/files/avatar`,落 `app/avatar`。管理端头像继续用上游 `POST /api/v1/files`,`system/controller/FileController` 保持 gitee 原样(不再提供 `/api/v1/files/avatar`)。
|
||||
- **文件上传规则的改动边界**:涉及存储目录、对象命名、扩展名校验、URL 生成等上传规则调整时,只允许改我方新增的接口与实现(`/api/v1/client/files/**`、`/api/v1/sn/**` 等);gitee 上游已有的上传接口(`POST /api/v1/files`、`system/controller/FileController` 及其调用的 `FileService` 原方法)保持上游原样,不因我方需求改其入参、出参、校验与行为。
|
||||
- `FilePath` + `/static/{子目录}/**` 仅用于设备截图等纯本地资源,以及存量历史文件的访问。
|
||||
- 新增后台菜单/表结构请补充 `sql/` 脚本,保持与代码同步。
|
||||
- 新增后台菜单/表结构请补充 `sql/ttstd/` 脚本,保持与代码同步。
|
||||
|
||||
## 5. 提交约定
|
||||
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user