feat: 功能优化
This commit is contained in:
@@ -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(...)")`
|
||||
- 代码简洁,只包含核心的功能
|
||||
|
||||
## 项目结构
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user