config.php.example 239 B

12345678910
  1. <?php
  2. require __DIR__ . '/../autoload.php';
  3. use JPush\Client as JPush;
  4. $app_key = getenv('app_key');
  5. $master_secret = getenv('master_secret');
  6. $registration_id = getenv('registration_id');
  7. $client = new JPush($app_key, $master_secret);