feat(PushService): 日志记录PushService::push方法

This commit is contained in:
mkm 2024-06-25 11:50:54 +08:00
parent d3f90f03af
commit 287cd9d2ff

View File

@ -2,6 +2,7 @@
namespace app\common\service;
use support\Log;
use Webman\Push\Api;
class PushService
@ -15,6 +16,7 @@ class PushService
*/
public static function push($subscription, $uid, $content)
{
Log::info('PushService::push', [$subscription, $uid, $content]);
$api = new Api(
getenv('PUSH_URL'),
config('plugin.webman.push.app.app_key'),