dy-dashboard/vault/知识库/工作指南/训练记录/2026-08-28-下单备份接口字符集错误修复.md
2026-10-28 11:14:17 +08:00

13 lines
858 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 1. 主题
**旭东 → OpenClaw:**
> app.js?v=1787912577:16405 GET http://192.168.8.186:18888/api/purchase/pending_list?status=backup 500 (INTERNAL SERVER ERROR)
> loadBackupList @ app.js?v=1787912577:16405
> loadPurchaseReadyPage @ app.js?v=1787912577:16379
> loadPage @ app.js?v=1787912577:3692
> (anonymous) @ ready:634
> VM488:1 Uncaught (in promise) SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
**OpenClaw 响应:**
已修复下单备份列表接口500错误。原因是新增下单人关联查询时,不同数据表字符集排序规则不一致,触发MySQL `Illegal mix of collations`;现对相关编码关联查询统一使用BINARY比较,保留原有数据和功能。数据库查询验证、Python/JavaScript语法检查、diff检查通过;测试服务已重载,HTTP 200正常。Git提交 `09994f1`。