♻️ 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:
@@ -130,10 +130,10 @@ Content field contains:
|
||||
```
|
||||
|
||||
### Template Variables
|
||||
- {{code}}: Verification code
|
||||
- {{minutes}}: Valid time
|
||||
- {{product}}: Product name
|
||||
- {{amount}}: Amount
|
||||
- <code v-pre>{{code}}</code>: Verification code
|
||||
- <code v-pre>{{minutes}}</code>: Valid time
|
||||
- <code v-pre>{{product}}</code>: Product name
|
||||
- <code v-pre>{{amount}}</code>: Amount
|
||||
|
||||
## Cost Management
|
||||
|
||||
|
||||
@@ -151,10 +151,10 @@ A sidebar form that opens when clicking "Add" or "Edit", divided into three tabs
|
||||
- Function: Write subscription content using Go template syntax
|
||||
- Supports: Syntax highlighting, code completion
|
||||
- Variables:
|
||||
- `{{.SiteName}}`: Site name
|
||||
- `{{.SubscribeName}}`: Subscription name
|
||||
- `{{.Proxies}}`: Node array
|
||||
- `{{.UserInfo}}`: User information
|
||||
- <code v-pre>{{.SiteName}}</code>: Site name
|
||||
- <code v-pre>{{.SubscribeName}}</code>: Subscription name
|
||||
- <code v-pre>{{.Proxies}}</code>: Node array
|
||||
- <code v-pre>{{.UserInfo}}</code>: User information
|
||||
|
||||
**Template Variable Reference**
|
||||
|
||||
|
||||
@@ -28,11 +28,11 @@ The following sections mirror the cards you see in the admin panel—work throug
|
||||
|
||||
3. **Template tabs** (`Verify / Expiration / Maintenance / Traffic`)
|
||||
- Templates are HTML-capable and support variables:
|
||||
- `{{.Type}}`: Email type (1 register, 2 reset password); combine with `{{if eq .Type 1}}` for conditions.
|
||||
- `{{.SiteLogo}}` / `{{.SiteName}}`: Branding assets.
|
||||
- `{{.Expire}}`: OTP expiration; `{{.ExpireDate}}`: Subscription expiration.
|
||||
- `{{.Code}}`: Verification code.
|
||||
- `{{.MaintenanceDate}}`, `{{.MaintenanceTime}}`: Maintenance notice specifics.
|
||||
- <code v-pre>{{.Type}}</code>: Email type (1 register, 2 reset password); combine with <code v-pre>{{if eq .Type 1}}</code> for conditions.
|
||||
- <code v-pre>{{.SiteLogo}}</code> / <code v-pre>{{.SiteName}}</code>: Branding assets.
|
||||
- <code v-pre>{{.Expire}}</code>: OTP expiration; <code v-pre>{{.ExpireDate}}</code>: Subscription expiration.
|
||||
- <code v-pre>{{.Code}}</code>: Verification code.
|
||||
- <code v-pre>{{.MaintenanceDate}}</code>, <code v-pre>{{.MaintenanceTime}}</code>: Maintenance notice specifics.
|
||||
- The embedded editor is WYSIWYG—save to apply instantly to new outbound mail.
|
||||
|
||||
### SMS authentication
|
||||
@@ -44,7 +44,7 @@ The following sections mirror the cards you see in the admin panel—work throug
|
||||
2. **Platform & dynamic fields**
|
||||
- Select an SMS provider; the form reveals the exact fields that provider requires and offers a shortcut link to apply for service.
|
||||
- Common fields include `Access Key`, `Secret Key`, `Endpoint`, `Template Code`, `Sign Name`, and dedicated sender numbers.
|
||||
- If the provider expects custom templates, paste the body that contains `{{code}}` (or its vendor-specific variable).
|
||||
- If the provider expects custom templates, paste the body that contains <code v-pre>{{code}}</code> (or its vendor-specific variable).
|
||||
|
||||
3. **Test SMS**
|
||||
- Choose an area code, enter a number, and click “Test SMS” to call the gateway immediately.
|
||||
@@ -100,7 +100,7 @@ Best for client/TV apps that exchange a one-time device code.
|
||||
- Some enterprise SMTP vendors require the From address to exactly match the authenticated account—otherwise the message is dropped.
|
||||
|
||||
### SMS keeps failing
|
||||
- Ensure the template is approved and that the placeholder name (e.g., `{{code}}`) matches what the vendor expects.
|
||||
- Ensure the template is approved and that the placeholder name (e.g., <code v-pre>{{code}}</code>) matches what the vendor expects.
|
||||
- Verify the destination area code is whitelisted.
|
||||
- Still failing? Inspect the API error code in DevTools and cross reference it with the SMS provider documentation.
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
<div v-pre>
|
||||
|
||||
# Document Management
|
||||
|
||||
Create and manage help documents with Markdown format and tag classification.
|
||||
@@ -45,9 +43,9 @@ Document body, supports Markdown format:
|
||||
- Headings: # ## ### ####
|
||||
- Bold: **text**
|
||||
- Italic: *text*
|
||||
- Code blocks: ```language
|
||||
- Images: 
|
||||
- Links: [text](url)
|
||||
- Code blocks: \`\`\`language
|
||||
- Images: ``
|
||||
- Links: `[text](url)`
|
||||
- Lists: - or 1.
|
||||
- Quotes: >
|
||||
- Tables: | Col1 | Col2 |
|
||||
@@ -140,5 +138,3 @@ Input tag to find documents in that category.
|
||||
6. **Batch Operations**: Can batch delete outdated documents
|
||||
7. **Search Optimization**: Titles and tags are search indexed
|
||||
8. **Update Indicator**: Update time changes after modification
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user