feat(api): 添加图片管理、回收站和系统设置功能

- 在 Grouping 模型和控制器中添加删除和更新方法
- 实现完整的图片上传、删除、预览和批量操作功能
- 添加图片清理功能用于删除冗余图片文件
- 实现 Markdown 文件按分组查询、搜索和标题更新功能
- 添加回收站功能支持软删除和恢复操作
- 实现系统设置和注册码生成功能
- 配置新的 API 路由包括图片、系统和回收站相关接口
- 更新前端开发服务器代理地址从 8084 到 80 端口
This commit is contained in:
ikmkj
2026-01-26 09:48:31 +08:00
parent 90f63d9df1
commit c50d96490d
13 changed files with 772 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ export default defineConfig(({ mode }) => {
server: {
proxy: {
'/api': {
target: 'http://127.0.0.1:8084',
target: 'http://127.0.0.1:80',
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, '') //去掉 api
}