Açıklama Yok

push.php 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. return [
  3. 'mi_push_url' => 'https://api.xmpush.xiaomi.com',
  4. 'test_mi_push_url' => 'https://sandbox.xmpush.xiaomi.com',
  5. //向某个regid或一组regid列表推送某条消息
  6. 'mi_push_regid' => '/v2/message/regid',
  7. //向某个alias或一组alias列表推送某条消息
  8. 'mi_push_alias' => '/v3/message/alias',
  9. //向某个account或一组account列表推送某条消息
  10. 'mi_push_user_account' => '/v2/message/user_account',
  11. //向某个topic推送某条消息
  12. 'mi_push_topic' => '/v2/message/topic',
  13. //向多个topic推送单条消息
  14. 'mi_push_multi_topic' => '/v2/message/multi_topic',
  15. //向所有设备推送某条消息
  16. // 'mi_push_all' => '/v2/message/all',
  17. 'mi_push_all' => '/v3/message/all',
  18. //删除定时任务
  19. 'mi_push_delete' => '/v2/schedule_job/delete',
  20. //获取华为token的url
  21. 'hua_wei_token_url' => 'https://login.cloud.huawei.com/oauth2/v2/token',
  22. //华为发送push
  23. 'hua_wei_push_url' => 'https://api.push.hicloud.com/pushsend.do',
  24. //华为pushversion
  25. 'hua_wei_push_version' => 1,
  26. //oppo推送url
  27. 'oppo_push_url' => 'https://api.push.oppomobile.com',
  28. //oppo获取token路径
  29. 'oppo_get_auth' => '/server/v1/auth',
  30. //oppo保存消息
  31. 'save_message_content' => '/server/v1/message/notification/save_message_content',
  32. //oppo群推路径
  33. 'save_message_broadcast' => '/server/v1/message/notification/broadcast',
  34. //oppo单用户单推送
  35. 'save_message_unicast' => '/server/v1/message/notification/unicast',
  36. //多用户多推
  37. 'save_message_unicast_batch' => '/server/v1/message/notification/unicast_batch',
  38. // vivo push
  39. 'vivo_url' => 'https://api-push.vivo.com.cn',
  40. // vivo获取authtoken
  41. 'vivo_get_auth' => '/message/auth',
  42. // vivo单推
  43. 'task_id' =>'/message/send',
  44. // vivo 保存群推消息
  45. 'task_ids' =>'/message/saveListPayload',
  46. // vivo 批量推送用户
  47. 'push_user' =>'/message/pushToList',
  48. // 全量发送(向所有设备推送某条消息)
  49. 'push_all' =>'/message/all',
  50. // 消息推送的统计值
  51. 'taskid_total' =>'/report/getStatistics',
  52. // 消息送达回执
  53. ];