Compare commits
No commits in common. "430af8aede2bd4dc1e9b88644a6180b61f4327f9" and "9b926634cf863f7e66f05d38c34b64af195f3011" have entirely different histories.
430af8aede
...
9b926634cf
@ -2,7 +2,7 @@
|
|||||||
"name": "maiyoule/mqttclient_author",
|
"name": "maiyoule/mqttclient_author",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"description": "MQTT管理模块操作库",
|
"description": "MQTT管理模块操作库",
|
||||||
"version": "1.2.1",
|
"version": "1.1.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,6 @@ class AppUserCreateRequest extends IRequest
|
|||||||
'role' => $this->getRole(),
|
'role' => $this->getRole(),
|
||||||
'publish' => join(',', $this->getPublish()),
|
'publish' => join(',', $this->getPublish()),
|
||||||
'subscribe' => join(',', $this->getSubscribe()),
|
'subscribe' => join(',', $this->getSubscribe()),
|
||||||
'expire' => $this->expireAt
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,21 +38,6 @@ class AppUserCreateRequest extends IRequest
|
|||||||
$this->subscribe = $subscribe;
|
$this->subscribe = $subscribe;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @var string 过期时间
|
|
||||||
*/
|
|
||||||
private string $expireAt = '';
|
|
||||||
|
|
||||||
public function getExpireAt(): string
|
|
||||||
{
|
|
||||||
return $this->expireAt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setExpireAt(string $expireAt): void
|
|
||||||
{
|
|
||||||
$this->expireAt = $expireAt;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private array $publish = [];
|
private array $publish = [];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user