feat(PushService): 日志记录PushService::push方法
This commit is contained in:
parent
d3f90f03af
commit
287cd9d2ff
@ -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'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user