Compare commits
No commits in common. "7343267d3c254a424a7903be646d9bb1a863be9a" and "9ad385e04407e9c45cf9457806c0fa8ef5b53cb1" have entirely different histories.
7343267d3c
...
9ad385e044
@ -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