Merge branch 'develop'

This commit is contained in:
mzl
2025-12-10 20:18:46 +08:00
parent 2a6d517a74
commit 628429af66
28 changed files with 4436 additions and 548 deletions
+6
View File
@@ -22,6 +22,12 @@ class CheckWeb
// });
// }
// 每秒执行:队列二手车数据处理
new Crontab('* * * * * *', function(){
$service = new \app\common\utils\crawl\service\UsedCarCrawl();
$service->execute();
});
new Crontab('*/50 * * * * *', function(){
$userIds = User::where('status', 1)->pluck('id')->toArray();
foreach ($userIds as $userId) {
+1 -1
View File
@@ -15,7 +15,7 @@ class Task
{
// 每半小时执行一次,通知待跟进客户
new Crontab('0 */30 * * * *', function(){
echo date('Y-m-d H:i:s') . "\n";
// echo date('Y-m-d H:i:s') . "\n";
Log::info('send follow start',[time()]);
$where = [