|
@@ -5,7 +5,7 @@ use think\Db;
|
|
|
use JPush\Client;
|
|
|
require_once env('root_path').'vendor/jpush/jpush/autoload.php';
|
|
|
|
|
|
-function Jpush($user_id = 0,$alert = '',$module='',$type=''){
|
|
|
+function Jpush($user_id = 0,$alert = '',$module='video',$type='1'){
|
|
|
$appKey = '02a7faefd91c8a6a446a6a14';
|
|
|
$masterSecret = 'ba2e100db997024d9b6e5d35';
|
|
|
$client = new Client($appKey, $masterSecret,null);
|