fix: 手续费同步改为后台执行,避免阻塞 Web 请求

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-24 13:45:39 +08:00
parent e01c011df5
commit 1d95950b5c
3 changed files with 47 additions and 2 deletions
+3
View File
@@ -34,6 +34,9 @@
{% if fee_last_sync %}
<span class="text-muted" style="font-size:.8rem">上次:{{ fee_last_sync[:16] }}</span>
{% endif %}
{% if fee_sync_running %}
<span class="badge planned">同步中…</span>
{% endif %}
{% if fee_counts.get('ctp') %}
<span class="text-muted" style="font-size:.8rem">共 {{ fee_counts.ctp }} 个品种</span>
{% endif %}