更新星火认知模型聊天

This commit is contained in:
yaooo 2023-10-14 16:47:25 +08:00
parent 36d86f82e2
commit e3bdf99015
2 changed files with 2 additions and 1 deletions

View File

@ -113,7 +113,6 @@ class InformationController extends BaseApiController
}
UserInformationg::where('id', $param['id'])->update(['update_time' => time(), 'is_update' => 1]);
return $this->success('成功');
}

View File

@ -8,6 +8,7 @@ use think\facade\Log;
use app\common\logic\BaseLogic;
use app\common\model\Company;
use app\common\model\user\User;
use app\job\AiAianalyse;
class UserInformationg extends BaseModel
{
@ -120,6 +121,7 @@ class UserInformationg extends BaseModel
'status' => 1,
'information_id' => $id,
];
queue(AiAianalyse::class, $data);
return UserInformationgDemand::create($data);
}