llmage/wwwroot/api/llmusage_history_update.dspy
yumoqing 1e335d35cb fix(llmage): 规范检查修复
- accounting.py: 删除重复datetime导入, 清理未使用env变量
- failed_accounting.ui: Button text→label(规范), DatePicker→TextInput(不确定的widget)
- index.ui: backgroundColor→bgcolor(规范), 3处修复
- llmusage_accounting_failed_update.dspy: 删除ServerEnv()违规(.dspy禁用), 用datetime替代
- 新增llmusage_history只读DSPY(create/update/delete返回只读提示)
2026-05-24 14:11:33 +08:00

5 lines
173 B
Python

#!/usr/bin/env python3
import json
result = {'success': False, 'message': '历史数据为只读,不可修改'}
return json.dumps(result, ensure_ascii=False, default=str)