1 parent
362cf0d4cc
commit
8ee5f6083a
4 files changed
+9
-12
No files matched your search
+4
-4
@@ -32,13 +32,13 @@
|
||||
https://mail.example.com
|
||||
```
|
||||
|
||||
请替换为实际的 Smail Web 地址。开发环境也可以使用:
|
||||
请替换为实际的 Smail Web 地址。开发环境通过前端 HTTPS 入口访问:
|
||||
|
||||
```text
|
||||
http://127.0.0.1:80
|
||||
https://xuans.com
|
||||
```
|
||||
|
||||
生产环境应优先使用 HTTPS。
|
||||
开发后端 API 独立监听 `http://127.0.0.1:5201`,由前端开发服务代理 `/api` 和 `/attachments` 请求。浏览器不应绕过前端入口直接访问后端端口。生产环境应始终使用正式 HTTPS 入口。
|
||||
|
||||
### 2.2 通用响应格式
|
||||
|
||||
@@ -767,4 +767,4 @@ Content-Disposition: attachment; filename="attachment"; filename*=UTF-8''report.
|
||||
- 邮件发送:`backend/controllers/email/send.go`
|
||||
- 统一 JSON 响应:`backend/dto/response/response.go`
|
||||
|
||||
原版对照来源为 PMail Wiki 的《后端接口文档》。原版文档仅作为历史兼容性参考,接口是否可调用以当前 Smail 路由和处理器实现为准。
|
||||
原版对照来源为 PMail Wiki 的《后端接口文档》。原版文档仅作为历史兼容性参考,接口是否可调用以当前 Smail 路由和处理器实现为准。
|
||||
Reference in new issue
Block a user