GTAndroid.php 490 B

1234567891011121314151617181920212223242526
  1. <?php
  2. require_once(dirname(__FILE__) . '/' . 'GTUps.php');
  3. class GTAndroid extends GTApiRequest
  4. {
  5. //android厂商通道推送消息内容
  6. private $ups;
  7. public function getUps()
  8. {
  9. return $this->ups;
  10. }
  11. public function setUps($ups)
  12. {
  13. $this->ups = $ups;
  14. }
  15. public function getApiParam()
  16. {
  17. if ($this->ups != null){
  18. $this->apiParam["ups"] = $this->ups->getApiParam();
  19. }
  20. return $this->apiParam;
  21. }
  22. }