This commit is contained in:
ichynul 2024-09-18 14:39:08 +08:00
parent 2cb516ded1
commit 3faaf7c647
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ class Push
*/
public function trigger($user, $request = [], $response = [])
{
if (!$user) {
return;
}
$app = model\WokChatApp::where('id', $user['app_id'])->find();
if (!$app || !$app['push_url']) {