feat: 同步今日小程序与后台迭代版本

集中提交今日 API、管理端、小程序与部署文档调整,确保 Gitea 主分支与本地最新开发版本一致。

Made-with: Cursor
This commit is contained in:
卡若
2026-04-20 11:07:55 +08:00
parent 7108f28280
commit ce55c48c64
180 changed files with 11659 additions and 6078 deletions

View File

@@ -10,8 +10,11 @@ class AiMessage extends Model
{
protected $name = 'ai_messages';
/** 避免因库表字段与模型缓存不一致导致写入抛错 */
protected $strict = false;
/**
* 须为 true库表列为 conversationId / isDegraded 等驼峰。
* strict=false 时会转成 conversation_id 写入 → conversationId 恒为 0上下文与异步任务错乱。
*/
protected $strict = true;
protected $autoWriteTimestamp = false;