diff --git a/app/api/controller/InformationController.php b/app/api/controller/InformationController.php index ed6814353..8b8f544d0 100644 --- a/app/api/controller/InformationController.php +++ b/app/api/controller/InformationController.php @@ -113,7 +113,6 @@ class InformationController extends BaseApiController } UserInformationg::where('id', $param['id'])->update(['update_time' => time(), 'is_update' => 1]); - return $this->success('成功'); } diff --git a/app/common/model/informationg/UserInformationg.php b/app/common/model/informationg/UserInformationg.php index fec977ef0..59b4b8926 100644 --- a/app/common/model/informationg/UserInformationg.php +++ b/app/common/model/informationg/UserInformationg.php @@ -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); }