|
@@ 322-327 (lines=6) @@
|
| 319 |
|
$params['timestamp'] = time(); |
| 320 |
|
$params['environment'] = $environment; |
| 321 |
|
|
| 322 |
|
if (!is_null($message->getLoopInterval()) && $message->getLoopInterval() > 0 |
| 323 |
|
&& !is_null($message->getLoopTimes()) && $message->getLoopTimes() > 0 |
| 324 |
|
) { |
| 325 |
|
$params['loop_interval'] = $message->getLoopInterval(); |
| 326 |
|
$params['loop_times'] = $message->getLoopTimes(); |
| 327 |
|
} |
| 328 |
|
//var_dump($params); |
| 329 |
|
|
| 330 |
|
return $this->callRestful(self::RESTAPI_PUSHALLDEVICE, $params); |
|
@@ 379-384 (lines=6) @@
|
| 376 |
|
$params['timestamp'] = time(); |
| 377 |
|
$params['environment'] = $environment; |
| 378 |
|
|
| 379 |
|
if (!is_null($message->getLoopInterval()) && $message->getLoopInterval() > 0 |
| 380 |
|
&& !is_null($message->getLoopTimes()) && $message->getLoopTimes() > 0 |
| 381 |
|
) { |
| 382 |
|
$params['loop_interval'] = $message->getLoopInterval(); |
| 383 |
|
$params['loop_times'] = $message->getLoopTimes(); |
| 384 |
|
} |
| 385 |
|
|
| 386 |
|
return $this->callRestful(self::RESTAPI_PUSHTAGS, $params); |
| 387 |
|
} |