|
@@ -8,6 +8,7 @@ use App\User;
|
|
trait JpushHelper
|
|
trait JpushHelper
|
|
{
|
|
{
|
|
public function jPush($title,$content='',$userid=0) {
|
|
public function jPush($title,$content='',$userid=0) {
|
|
|
|
+ \Log::info('hello');
|
|
$app_key = '69838317211448192366f9d8';
|
|
$app_key = '69838317211448192366f9d8';
|
|
$master_secret = 'f202d10301151e1816b49e55';
|
|
$master_secret = 'f202d10301151e1816b49e55';
|
|
$client = new JPush($app_key, $master_secret, storage_path('logs/jpush.log'));
|
|
$client = new JPush($app_key, $master_secret, storage_path('logs/jpush.log'));
|