mirror of
https://github.com/cnlimiter/codex-register.git
synced 2026-06-06 08:00:19 +08:00
feat: 新增 freemail 邮箱服务渠道支持
This commit is contained in:
@@ -210,6 +210,7 @@
|
||||
<option value="moemail">MoeMail(自定义域名 API)</option>
|
||||
<option value="tempmail">TempMail(自部署 Cloudflare Worker)</option>
|
||||
<option value="duckmail">DuckMail(DuckMail API)</option>
|
||||
<option value="freemail">Freemail(自部署 Cloudflare Worker)</option>
|
||||
</select>
|
||||
</div>
|
||||
<!-- MoeMail 字段 -->
|
||||
@@ -261,6 +262,21 @@
|
||||
<input type="number" id="custom-dm-password-length" name="dm_password_length" min="6" max="64" value="12">
|
||||
</div>
|
||||
</div>
|
||||
<!-- Freemail 字段 -->
|
||||
<div id="add-freemail-fields" style="display:none;">
|
||||
<div class="form-group">
|
||||
<label for="custom-fm-base-url">Worker 地址</label>
|
||||
<input type="text" id="custom-fm-base-url" name="fm_base_url" placeholder="https://freemail.example.com">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="custom-fm-admin-token">Admin Token</label>
|
||||
<input type="password" id="custom-fm-admin-token" name="fm_admin_token" placeholder="JWT_TOKEN 值">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="custom-fm-domain">邮箱域名 (可选)</label>
|
||||
<input type="text" id="custom-fm-domain" name="fm_domain" placeholder="example.com">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group">
|
||||
<label for="custom-priority">优先级</label>
|
||||
@@ -354,6 +370,22 @@
|
||||
<input type="number" id="edit-dm-password-length" name="dm_password_length" min="6" max="64" value="12">
|
||||
</div>
|
||||
</div>
|
||||
<!-- Freemail 字段 -->
|
||||
<div id="edit-freemail-fields" style="display:none;">
|
||||
<div class="form-group">
|
||||
<label for="edit-fm-base-url">Worker 地址</label>
|
||||
<input type="text" id="edit-fm-base-url" name="fm_base_url" placeholder="https://freemail.example.com">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="edit-fm-admin-token">Admin Token</label>
|
||||
<input type="password" id="edit-fm-admin-token" name="fm_admin_token" placeholder="留空则不修改">
|
||||
<small style="color: var(--text-muted);">留空则保持原值不变</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="edit-fm-domain">邮箱域名 (可选)</label>
|
||||
<input type="text" id="edit-fm-domain" name="fm_domain" placeholder="example.com">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group">
|
||||
<label for="edit-custom-priority">优先级</label>
|
||||
|
||||
Reference in New Issue
Block a user