This commit is contained in:
mzl
2025-08-23 16:52:08 +08:00
parent 8c4c2eeb89
commit 6730f11cca
4 changed files with 121 additions and 23 deletions
+8 -15
View File
@@ -116,27 +116,20 @@ class IndexController
// 'recipient' => [1],
// ];
$data['recipient'] = [1, 74];
// // 同步推送
// (new MessageNotificationsService())->pushNotice($data);
// $data['recipient'] = [1, 74];
// // // 同步推送
// // (new MessageNotificationsService())->pushNotice($data);
// 异步推送
\Webman\RedisQueue\Redis::send('notice', $data);
// // 异步推送
// \Webman\RedisQueue\Redis::send('notice', $data);
return 'success';
$info = InquiryLog::with(['channelInfo', 'countryInfo', 'enter'])->where('id', 25998)->where('sync_crm', 0)->first();
// return json($data);
var_dump($info);
// $phone = '';
// $email = '';
// $userByPhone = User::where('corp_id', 2)->where('phone', $phone)->where('phone', '!=', '')->first();
// $userByEmail = User::where('corp_id', 2)->where('email', $email)->where('email', '!=', '')->first();
// $user = $userByPhone ?: $userByEmail;
// return json($user);
return json(['code' => 0, 'msg' => 'success']);
}
}