tz
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user