From c774009f820f1b960f4f6fb4c44ec0c2b35f07fc Mon Sep 17 00:00:00 2001 From: eoao Date: Thu, 6 Nov 2025 22:59:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-en.md | 45 ++++++++++++++++++++++++++++++++++++++ README.md | 45 ++++++++++++++++++++++++++++++++++++++ mail-worker/src/i18n/zh.js | 2 +- 3 files changed, 91 insertions(+), 1 deletion(-) diff --git a/README-en.md b/README-en.md index a6ebb81..9d5a09c 100644 --- a/README-en.md +++ b/README-en.md @@ -66,6 +66,51 @@ - **File Storage**: [Cloudflare R2](https://developers.cloudflare.com/r2/) +## 目录结构 + +``` +cloud-mail +├── mail-worker # Backend worker project +│ ├── src +│ │ ├── api # API layer +│ │ ├── const # Project constants +│ │ ├── dao # Data access layer +│ │ ├── email # Email processing and handling +│ │ ├── entity # Database entities +│ │ ├── error # Custom exceptions +│ │ ├── hono # Web framework, middleware, error handling +│ │ ├── i18n # Internationalization +│ │ ├── init # Database and cache initialization +│ │ ├── model # Response data models +│ │ ├── security # Authentication and authorization +│ │ ├── service # Business logic layer +│ │ ├── template # Message templates +│ │ ├── utils # Utility functions +│ │ └── index.js # Entry point +│ ├── package.json # Project dependencies +│ └── wrangler.toml # Project configuration +│ +├─ mail-vue # Frontend Vue project +│ ├── src +│ │ ├── axios # Axios configuration +│ │ ├── components # Custom components +│ │ ├── echarts # ECharts integration +│ │ ├── i18n # Internationalization +│ │ ├── init # Startup initialization +│ │ ├── layout # Main layout components +│ │ ├── perm # Permissions and access control +│ │ ├── request # API request layer +│ │ ├── router # Router configuration +│ │ ├── store # Global state management +│ │ ├── utils # Utility functions +│ │ ├── views # Page components +│ │ ├── app.vue # Root component +│ │ ├── main.js # Entry JS file +│ │ └── style.css # Global styles +│ ├── package.json # Project dependencies +└── └── env.release # Environment configuration + +``` ## Support diff --git a/README.md b/README.md index 752aa2d..e6dd517 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,51 @@ - **文件存储**:[Cloudflare R2](https://developers.cloudflare.com/r2/) +## 目录结构 + +``` +cloud-mail +├── mail-worker # worker后端项目 +│ ├── src +│ │ ├── api # api接口层 +│ │ ├── const # 项目常量 +│ │ ├── dao # 数据访问层 +│ │ ├── email # 邮件处理接收 +│ │ ├── entity # 数据库实体 +│ │ ├── error # 自定义异常 +│ │ ├── hono # web框架配置、拦截器、全局异常等 +│ │ ├── i18n # 语言国际化 +│ │ ├── init # 数据库缓存初始化 +│ │ ├── model # 响应体数据封装 +│ │ ├── security # 身份权限认证 +│ │ ├── service # 业务服务层 +│ │ ├── template # 消息模板 +│ │ ├── utils # 工具类 +│ │ └── index.js # 入口文件 +│ ├── pageckge.json # 项目依赖 +│ └── wrangler.toml # 项目配置 +│ +├── mail-vue # vue前端项目 +│ ├── src +│ │ ├── axios # axios配置 +│ │ ├── components # 自定义组件 +│ │ ├── echarts # echarts组件导入 +│ │ ├── i18n # 语言国际化 +│ │ ├── init # 入站初始化 +│ │ ├── layout # 主体布局组件 +│ │ ├── perm # 权限认证 +│ │ ├── request # api接口 +│ │ ├── router # 路由配置 +│ │ ├── store # 全局状态管理 +│ │ ├── utils # 工具类 +│ │ ├── views # 页面组件 +│ │ ├── app.vue # 入口组件 +│ │ ├── main.js # 入口js +│ │ └── style.css # 全局css +│ ├── package.json # 项目依赖 +└── └── env.release # 项目配置 +``` + ## 赞助 diff --git a/mail-worker/src/i18n/zh.js b/mail-worker/src/i18n/zh.js index cc991a8..ffda96f 100644 --- a/mail-worker/src/i18n/zh.js +++ b/mail-worker/src/i18n/zh.js @@ -13,7 +13,7 @@ const zh = { usernameLengthLimit: '用户名长度超出限制', noOsDomainSendPic: '对象存储域名未配置不能发送正文图片', noOsSendPic: '对象存储未配置不能发送正文图片', - noOsDomainSendAtt: '域名未配置不能发送附件', + noOsDomainSendAtt: '对象存储域名未配置不能发送附件', noOsSendAtt: '对象存储未配置不能发送附件', disabledSend: '邮件发送功能已停用', noSeparateSend: '分别发送暂时不支持附件',