Nessuna descrizione

1.php 515B

12345678910111213141516
  1. <?php
  2. include('HuaweiPush.php');
  3. $desc = array();
  4. $desc['appid'] = '100228763';
  5. $desc['appsecret'] = '6170edadd53e02e02139d5b532c84cd7';
  6. $desc['package'] = 'com.kuxuan.coupon';
  7. $desc['device_token'] = ['0869381031509981300002338700CN01'];
  8. $desc['message'] = '贴身的东西,就要用高档的一等品超大浴巾,随意一擦就干了>>';
  9. $desc['title'] = '【南极人】超大浴巾【券后28元】包邮';
  10. //$res = OppoPush::pushPartAndroid($desc);
  11. $res = HuaweiPush::pushAndroid($desc);
  12. var_dump($res);