Compare commits
4 Commits
9ad385e044
...
7343267d3c
Author | SHA1 | Date | |
---|---|---|---|
7343267d3c | |||
9028a8c59d | |||
daefbe884c | |||
9b926634cf |
@ -2,7 +2,7 @@
|
|||||||
"name": "maiyoule/mqttclient_author",
|
"name": "maiyoule/mqttclient_author",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"description": "MQTT管理模块操作库",
|
"description": "MQTT管理模块操作库",
|
||||||
"version": "1.1.2",
|
"version": "1.2.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
@ -20,6 +20,7 @@ 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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -38,6 +39,21 @@ 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