feat: 同步今日小程序与后台迭代版本
集中提交今日 API、管理端、小程序与部署文档调整,确保 Gitea 主分支与本地最新开发版本一致。 Made-with: Cursor
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user