feat: 功能优化
This commit is contained in:
33
CLAUDE.md
33
CLAUDE.md
@@ -1,22 +1,23 @@
|
||||
<!-- OPENSPEC:START -->
|
||||
# OpenSpec Instructions
|
||||
# OpenSpec 指令
|
||||
|
||||
These instructions are for AI assistants working in this project.
|
||||
本指令适用于参与此项目的 AI 助手。
|
||||
|
||||
Always open `@/openspec/AGENTS.md` when the request:
|
||||
- Mentions planning or proposals (words like proposal, spec, change, plan)
|
||||
- Introduces new capabilities, breaking changes, architecture shifts, or big performance/security work
|
||||
- Sounds ambiguous and you need the authoritative spec before coding
|
||||
当请求出现以下情况时,请务必查阅 `@/openspec/AGENTS.md`:
|
||||
* 提及规划或提案(如提案、规范、变更、计划等词)
|
||||
* 引入新功能、破坏性变更、架构调整或重大的性能/安全相关工作
|
||||
* 表述含糊,需要在编码前查阅权威规范
|
||||
|
||||
Use `@/openspec/AGENTS.md` to learn:
|
||||
- How to create and apply change proposals
|
||||
- Spec format and conventions
|
||||
- Project structure and guidelines
|
||||
通过 `@/openspec/AGENTS.md` 可了解:
|
||||
* 如何创建和应用变更提案
|
||||
* 规范格式与约定
|
||||
* 项目结构与指导方针
|
||||
|
||||
Keep this managed block so 'openspec update' can refresh the instructions.
|
||||
请保留此受管理的代码块,以便 `openspec update` 可以更新指令。
|
||||
|
||||
<!-- OPENSPEC:END -->
|
||||
# CLAUDE.md
|
||||
|
||||
## 使用中文与用户沟通
|
||||
|
||||
## 项目简介
|
||||
**Yudao(芋道)** - Spring Boot快速开发平台,AI/媒体功能增强版
|
||||
@@ -103,8 +104,8 @@ module/
|
||||
|
||||
## 开发命令
|
||||
```bash
|
||||
# 前端开发
|
||||
cd frontend/app/web-gold
|
||||
# 前端开发(绝对路径)
|
||||
cd /d/projects/sionrui/frontend/app/web-gold
|
||||
pnpm install
|
||||
pnpm run dev # 启动开发服务器
|
||||
|
||||
@@ -113,6 +114,10 @@ mvn clean install
|
||||
mvn spring-boot:run
|
||||
```
|
||||
|
||||
## 路径别名说明
|
||||
- `@gold` - 前端项目根目录的别名,指向 `frontend/app/web-gold/src`
|
||||
- 例如:`import tokenManager from '@gold/utils/token-manager'` 等价于 `import tokenManager from 'frontend/app/web-gold/src/utils/token-manager'`
|
||||
|
||||
## 重要提醒
|
||||
1. **OSS配额检查**: 文件上传前必须检查用户/系统配额
|
||||
2. **多租户**: 默认启用,DO类需继承 `TenantBaseDO`
|
||||
|
||||
Reference in New Issue
Block a user