♻️ chore: remove unused Vue.js files and update documentation formatting

- Deleted cached Vue.js and source map files from the documentation.
- Updated template variable formatting in mobile logs, subscription management, and authentication control
This commit is contained in:
web@ppanel
2025-12-11 08:32:41 +00:00
parent 8752f7553f
commit 484975c657
24 changed files with 48 additions and 54578 deletions
+8 -8
View File
@@ -28,11 +28,11 @@
3. **模板管理** (位于页签 `验证邮件 / 到期提醒 / 维护公告 / 流量超限`)
- 模板支持 HTML 并带有变量, 常用变量如下:
- `{{.Type}}`: 邮件类型 (1 注册, 2 重置密码), 可结合 `{{if eq .Type 1}}` 编写条件。
- `{{.SiteLogo}}` / `{{.SiteName}}`: 站点 Logo 与名称。
- `{{.Expire}}`: 验证码过期时间; `{{.ExpireDate}}`: 订阅到期日。
- `{{.Code}}`: 验证码内容。
- `{{.MaintenanceDate}}``{{.MaintenanceTime}}`: 维护公告专用。
- <code v-pre>{{.Type}}</code>: 邮件类型 (1 注册, 2 重置密码), 可结合 <code v-pre>{{if eq .Type 1}}</code> 编写条件。
- <code v-pre>{{.SiteLogo}}</code> / <code v-pre>{{.SiteName}}</code>: 站点 Logo 与名称。
- <code v-pre>{{.Expire}}</code>: 验证码过期时间; <code v-pre>{{.ExpireDate}}</code>: 订阅到期日。
- <code v-pre>{{.Code}}</code>: 验证码内容。
- <code v-pre>{{.MaintenanceDate}}</code>、<code v-pre>{{.MaintenanceTime}}</code>: 维护公告专用。
- 所有模板使用统一的所见即所得编辑器, 保存后立即作用于新发邮件。
### 手机(短信)认证
@@ -42,9 +42,9 @@
- `区号白名单`: 打开后仅允许填写白名单区号, 列表通过输入框逐个添加, 例如 `1, 852, 886`
2. **平台选择与动态字段**
- 下拉选择 SMS 平台后, 系统会自动展示该平台所需字段并提供去申请链接。
- 下拉选择 SMS 平台后, 系统会自动展示该平台所需字段并提供"去申请"链接。
- 常见字段: `Access Key / Secret Key / Endpoint / Template Code / Sign Name / 专用手机号`
- 如果平台支持自定义模板, 需要在文本框内填入包含 `{{code}}`(或供应商自定义变量)的正文。
- 如果平台支持自定义模板, 需要在文本框内填入包含 <code v-pre>{{code}}</code>(或供应商自定义变量)的正文。
3. **测试短信**
- 右下角可选择区号 + 填写手机号, 点击“测试短信”直接调用短信网关。
@@ -100,7 +100,7 @@
- 如果使用企业 SMTP, 需确认发件地址与 SMTP 账号一致, 否则服务商可能拦截。
### 短信发送失败
- 平台模板是否审核通过; 模板参数名是否与平台 `{{code}}`(或其别名)一致。
- 平台模板是否审核通过; 模板参数名是否与平台 <code v-pre>{{code}}</code>(或其别名)一致。
- 区号白名单是否包含目标国家/地区。
- 若仍失败, 打开浏览器调试台查看 API 返回的错误码, 对照短信服务商文档定位。