+ + 原图 +
+ ++ + 转换结果 +
+ +转换后图片将显示在这里
+diff --git a/.claude/README.md b/.claude/README.md new file mode 100644 index 00000000..83719146 --- /dev/null +++ b/.claude/README.md @@ -0,0 +1,18 @@ +# InfoGenie 仓库 — Claude / Cursor 工作区说明 + +本目录用于存放与 **Cursor / Claude Code** 等工具相关的本地配置(如 `settings.local.json`),**不放业务代码**。 + +## 与文档的关系 + +| 文档 | 路径 | 内容 | +|------|------|------| +| Go 后端 | [`infogenie-backend-go/后端文档.md`](../infogenie-backend-go/后端文档.md) | API、MySQL、AI 流式、站点配置、功能卡片统计 | +| React 前端 | [`infogenie-frontend/前端文档.md`](../infogenie-frontend/前端文档.md) | 路由、构建、环境变量、静态 AI 小应用 | + +## 仓库结构(与开发相关) + +- **`infogenie-backend-go/`**:万象口袋 **主后端**(Gin + GORM + MySQL)。生产环境前端默认请求此服务提供的 API。 +- **`infogenie-frontend/`**:**主站 SPA**(Create React App),`public/` 下含大量静态页(`aimodelapp/`、`smallgame/`、`toolbox/` 等)。 +- **`infogenie-backend-java/`**:Java 后端(若部署需与本仓库 Go 文档中的接口约定自行对齐)。 + +给助手或协作者改需求时,优先阅读上表两份 **后端文档 / 前端文档**,再下钻到具体源码路径。 diff --git a/InfoGenie-frontend/.env.development b/InfoGenie-frontend/.env.development index da2550ea..1d89ce1b 100644 --- a/InfoGenie-frontend/.env.development +++ b/InfoGenie-frontend/.env.development @@ -1,7 +1,7 @@ # 复制为 .env.local 后可按需覆盖本地开发值 -REACT_APP_API_URL=http://127.0.0.1:5002 -REACT_APP_AUTH_URL=https://auth.shumengya.top -REACT_APP_AUTH_API_URL=https://auth.api.shumengya.top -REACT_APP_NAME=InfoGenie -REACT_APP_VERSION=1.0.0 -REACT_APP_DEBUG=true +VITE_API_URL=http://127.0.0.1:5002 +VITE_AUTH_URL=https://auth.shumengya.top +VITE_AUTH_API_URL=https://auth.api.shumengya.top +VITE_NAME=InfoGenie +VITE_VERSION=1.0.0 +VITE_DEBUG=true diff --git a/InfoGenie-frontend/.env.production b/InfoGenie-frontend/.env.production index 33b98de6..5b26b406 100644 --- a/InfoGenie-frontend/.env.production +++ b/InfoGenie-frontend/.env.production @@ -1,7 +1,7 @@ # 生产前端环境变量 -REACT_APP_API_URL=https://infogenie.api.shumengya.top -REACT_APP_AUTH_URL=https://auth.shumengya.top -REACT_APP_AUTH_API_URL=https://auth.api.shumengya.top -REACT_APP_NAME=InfoGenie -REACT_APP_VERSION=1.0.0 -REACT_APP_DEBUG=false +VITE_API_URL=https://infogenie.api.shumengya.top +VITE_AUTH_URL=https://auth.shumengya.top +VITE_AUTH_API_URL=https://auth.api.shumengya.top +VITE_NAME=InfoGenie +VITE_VERSION=1.0.0 +VITE_DEBUG=false diff --git a/InfoGenie-frontend/public/index.html b/InfoGenie-frontend/index.html old mode 100755 new mode 100644 similarity index 90% rename from InfoGenie-frontend/public/index.html rename to InfoGenie-frontend/index.html index 55dcd0f0..63191cc8 --- a/InfoGenie-frontend/public/index.html +++ b/InfoGenie-frontend/index.html @@ -15,7 +15,7 @@ - + @@ -28,14 +28,14 @@ - - + + - + - + @@ -183,7 +183,7 @@
+
@@ -199,6 +199,8 @@
+
+
+
+
+
+ 纯浏览器本地转换 • 零上传 • 安全隐私 • 秒级处理
+点击或拖拽图片到此区域
+支持 PNG / JPG 格式,最大 50MB
+转换后图片将显示在这里
+