dev xml rm
This commit is contained in:
parent
b6fae6ea87
commit
b786c8e24a
|
|
@ -1,40 +0,0 @@
|
|||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(mkdir:*)",
|
||||
"Bash(npm create vue:*)",
|
||||
"Bash(npm install)",
|
||||
"Bash(npm install:*)",
|
||||
"Bash(mvn clean:*)",
|
||||
"Bash(npm run build:*)",
|
||||
"Bash(rm:*)",
|
||||
"Bash(npm run dev:*)",
|
||||
"Bash(npm run:*)",
|
||||
"Bash(mvn:*)",
|
||||
"Bash(pkill:*)",
|
||||
"Bash(mysql:*)",
|
||||
"Bash(grep:*)",
|
||||
"Bash(lsof:*)",
|
||||
"Bash(kill:*)",
|
||||
"Bash(curl:*)",
|
||||
"Bash(find:*)",
|
||||
"Bash(echo $JAVA_HOME)",
|
||||
"Bash(java:*)",
|
||||
"Read(/Users/kazusa/Library/Mobile Documents/iCloud~md~obsidian/Documents/笔记/.obsidian/**)",
|
||||
"Read(/Users/kazusa/Library/Mobile Documents/iCloud~md~obsidian/Documents/笔记/.obsidian/themes/Blue Topaz/**)",
|
||||
"Read(/Users/kazusa/Library/Mobile Documents/iCloud~md~obsidian/Documents/笔记/.obsidian/themes/Blue Topaz/**)",
|
||||
"Read(/Users/kazusa/Library/Mobile Documents/iCloud~md~obsidian/Documents/笔记/.obsidian/themes/Blue Topaz/**)",
|
||||
"Read(/Users/kazusa/Library/Mobile Documents/iCloud~md~obsidian/Documents/笔记/.obsidian/snippets/**)",
|
||||
"Read(/Users/kazusa/Library/Mobile Documents/iCloud~md~obsidian/Documents/笔记/.obsidian/**)",
|
||||
"Read(/Users/kazusa/Library/Mobile Documents/iCloud~md~obsidian/Documents/笔记/.obsidian/**)",
|
||||
"Read(/Users/kazusa/Library/Mobile Documents/iCloud~md~obsidian/Documents/笔记/.obsidian/themes/Obsidianite/**)",
|
||||
"Read(/Users/kazusa/Library/Mobile Documents/iCloud~md~obsidian/Documents/笔记/.obsidian/themes/Obsidianite/**)",
|
||||
"Read(/Users/kazusa/Library/Mobile Documents/iCloud~md~obsidian/Documents/笔记/.obsidian/themes/Obsidianite/**)"
|
||||
],
|
||||
"deny": [],
|
||||
"ask": [],
|
||||
"additionalDirectories": [
|
||||
"/Users/kazusa/.sdkman/candidates/java"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ApifoxUploaderProjectSetting">
|
||||
<option name="apiAccessToken" value="APS-fqVD1Y7hESdEfyuf3WkBVHlqPP6WIsBG" />
|
||||
<option name="yapiTokens" value="" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="admin-backend" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
|
||||
<module name="admin-backend" options="-parameters" />
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="com.github.wanniwa.editorjumper.settings.EditorJumperProjectSettings">
|
||||
<option name="projectEditorType" value="Cursor" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/admin-backend/src/main/java" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<component name="InspectionProjectProfileManager">
|
||||
<profile version="1.0">
|
||||
<option name="myName" value="Project Default" />
|
||||
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="SqlDialectInspection" enabled="false" level="WARNING" enabled_by_default="false" />
|
||||
<inspection_tool class="SqlNoDataSourceInspection" enabled="false" level="WARNING" enabled_by_default="false" />
|
||||
</profile>
|
||||
</component>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://maven.aliyun.com/repository/public" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/admin-backend/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="zulu-1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/admin-manager.iml" filepath="$PROJECT_DIR$/.idea/admin-manager.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
---
|
||||
inclusion: always
|
||||
---
|
||||
|
||||
# 项目开发规范
|
||||
|
||||
## 语言和交流规范
|
||||
- 所有回复、对话、文档和代码注释使用中文(简体中文)
|
||||
- 保持技术术语的准确性和一致性
|
||||
|
||||
## 代码更改约定
|
||||
- 修复问题后,对需不需要进行修复文档的新增进行询问,如果选择不新增,在对话框中修复情况进行说明即可
|
||||
|
||||
## 后端开发规范 (Spring Boot + MyBatis Plus)
|
||||
|
||||
### 项目结构
|
||||
- Controller层:处理HTTP请求,参数验证
|
||||
- Service层:业务逻辑处理,必须添加 `@Transactional` 注解
|
||||
- Mapper层:数据访问层,使用MyBatis Plus
|
||||
- Entity层:数据实体,使用Lombok注解简化代码
|
||||
- DTO层:数据传输对象,用于API请求响应
|
||||
|
||||
### 代码约定
|
||||
- 统一返回格式:使用 `Result<T>` 包装所有API响应
|
||||
- 异常处理:使用 `@ControllerAdvice` 全局异常处理
|
||||
- API文档:所有接口必须添加Swagger注解
|
||||
- 数据库表名:统一使用 `sys_` 前缀
|
||||
- API路径:统一使用 `/api` 前缀
|
||||
|
||||
## 前端开发规范 (Vue 3 + TypeScript)
|
||||
|
||||
### 项目结构
|
||||
- 组件命名:使用PascalCase(如 `UserManagement.vue`)
|
||||
- 状态管理:使用Pinia,store文件放在 `src/stores/`
|
||||
- API调用:统一封装在 `src/api/` 目录
|
||||
- 类型定义:放在 `src/types/` 目录
|
||||
|
||||
### 开发约定
|
||||
- 所有组件必须使用TypeScript
|
||||
- 路由配置支持基于角色的权限控制
|
||||
- 使用组合式API(Composition API)
|
||||
|
||||
## 架构和安全规范
|
||||
|
||||
### 认证授权
|
||||
- JWT Token认证机制
|
||||
- RBAC(基于角色的访问控制)权限模型
|
||||
- 密码使用BCrypt加密存储
|
||||
|
||||
### API设计
|
||||
- 遵循RESTful设计原则
|
||||
- 分页查询统一返回 `PageResult<T>` 格式
|
||||
- 时间格式统一使用ISO 8601标准
|
||||
|
||||
### 数据库设计
|
||||
- 主键统一使用Long类型的id
|
||||
- 创建时间和更新时间字段必须包含
|
||||
- 逻辑删除使用deleted字段标识
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "java",
|
||||
"name": "启动后台管理",
|
||||
"request": "launch",
|
||||
"mainClass": "com.admin.AdminBackendApplication",
|
||||
"cwd": "${workspaceFolder}/admin-backend",
|
||||
"vmArgs": "-Xms256m -Xmx256m",
|
||||
"javaExec": "/Users/kazusa/.sdkman/candidates/java/17.0.15.fx-zulu/bin/java",
|
||||
// "args": "--spring.profiles.active=zzw",
|
||||
// "preLaunchTask": "等待erp启动"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"liveServer.settings.port": 5501
|
||||
}
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
autoDetectedPackages:
|
||||
- com.admin
|
||||
enableAutoDetect: true
|
||||
entryDisplayConfig:
|
||||
excludedPathPatterns: []
|
||||
skipJsCss: true
|
||||
funcDisplayConfig:
|
||||
skipConstructors: false
|
||||
skipFieldAccess: true
|
||||
skipFieldChange: true
|
||||
skipGetters: false
|
||||
skipNonProjectPackages: false
|
||||
skipPrivateMethods: false
|
||||
skipSetters: false
|
||||
ignoreSameClassCall: null
|
||||
ignoreSamePackageCall: null
|
||||
includedPackagePrefixes: null
|
||||
includedParentClasses: null
|
||||
maxColSize: 32
|
||||
maxNumFirst: 12
|
||||
maxNumFirstImportant: 1024
|
||||
maxNumHash: 3
|
||||
maxNumHashImportant: 256
|
||||
maxObjectDepth: 4
|
||||
maxStrSize: 4096
|
||||
name: xcodemap-filter
|
||||
openMainWindow: true
|
||||
recordMode: manual
|
||||
sourceDisplayConfig:
|
||||
color: blue
|
||||
startOnDebug: false
|
||||
Loading…
Reference in New Issue