feat: 同步今日小程序与后台迭代版本
集中提交今日 API、管理端、小程序与部署文档调整,确保 Gitea 主分支与本地最新开发版本一致。 Made-with: Cursor
This commit is contained in:
@@ -11,7 +11,12 @@ class AiConversation extends Model
|
||||
{
|
||||
use SoftDelete;
|
||||
|
||||
protected $strict = false;
|
||||
/**
|
||||
* 须为 true:库表字段为驼峰 userId / lastMessageAt 等。
|
||||
* strict=false 时 ORM 会把属性转成 snake_case 写入,与真实列名不一致 → userId、时间戳落库为 0,
|
||||
* 异步 executeAssistantTurn 按 userId 查会话失败 →「会话不存在」与小程序兜底文案。
|
||||
*/
|
||||
protected $strict = true;
|
||||
|
||||
protected $name = 'ai_conversations';
|
||||
protected $deleteTime = 'deletedAt';
|
||||
|
||||
Reference in New Issue
Block a user