Skip to content

Commit

Permalink
update timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
sn01615 committed Jan 29, 2021
1 parent 902406f commit 79f9b5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/UmengPush.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ function __construct($key, $secret)
{
$this->appKey = $key;
$this->appMasterSecret = $secret;
$this->updateTimestamp();
}

public function updateTimestamp()
{
$this->timestamp = strval(time());
return $this;
}

function sendAndroidBroadcast(array $values, array $extra)
Expand Down

0 comments on commit 79f9b5c

Please sign in to comment.