feat: 功能优化

This commit is contained in:
2025-12-28 15:15:27 +08:00
parent bbf8093ca3
commit 5ed0cfff07
4 changed files with 115 additions and 105 deletions

View File

@@ -35,6 +35,7 @@ Keep this managed block so 'openspec update' can refresh the instructions.
- TypeScript类型定义规范
- 组件保持小巧专注,逻辑清晰
- 样式优先使用less 示例:`<style scoped lang="less"><style>`
- 代码简洁,只包含核心的功能
### Java开发规范
- 分层架构Controller → Service → Mapper → VO/DO
@@ -42,6 +43,7 @@ Keep this managed block so 'openspec update' can refresh the instructions.
- DO继承 `BaseDO``TenantBaseDO`
- API响应统一使用 `CommonResult<T>`
- 权限注解:`@PreAuthorize("hasPermission(...)")`
- 代码简洁,只包含核心的功能
## 项目结构
```