feat: 添加系统日志功能,记录运行时错误和AI调用失败,提供日志查看页面
This commit is contained in:
@@ -91,7 +91,10 @@
|
||||
<section class="panel ai-panel" id="ai-panel">
|
||||
<div class="ai-panel-head">
|
||||
<h2>AI补货建议</h2>
|
||||
<a class="btn btn-light" href="{{ url_for('ai_settings_page') }}">参数</a>
|
||||
<div class="hero-actions">
|
||||
<a class="btn btn-light" href="{{ url_for('system_logs_page') }}">日志</a>
|
||||
<a class="btn btn-light" href="{{ url_for('ai_settings_page') }}">参数</a>
|
||||
</div>
|
||||
</div>
|
||||
<p class="hint">根据低库存与近30天出库数据,生成可执行补货建议。</p>
|
||||
<button class="btn" id="ai-restock-btn" type="button">生成建议</button>
|
||||
|
||||
Reference in New Issue
Block a user