From daefbe884c26f8d5ddfa3bb5b5aab2f9b142179b Mon Sep 17 00:00:00 2001 From: "X14XA\\shengli" Date: Thu, 15 May 2025 17:52:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=9A=84=E8=BF=87=E6=9C=9F=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/biz/AppUserCreateRequest.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/biz/AppUserCreateRequest.php b/src/biz/AppUserCreateRequest.php index bf74220..7514fef 100644 --- a/src/biz/AppUserCreateRequest.php +++ b/src/biz/AppUserCreateRequest.php @@ -20,6 +20,7 @@ class AppUserCreateRequest extends IRequest 'role' => $this->getRole(), 'publish' => join(',', $this->getPublish()), 'subscribe' => join(',', $this->getSubscribe()), + 'expire' => $this->expireAt ]; } @@ -38,6 +39,21 @@ class AppUserCreateRequest extends IRequest $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 = []; From 9028a8c59dd557f036ecd23f1a292a07d3fde38d Mon Sep 17 00:00:00 2001 From: "X14XA\\shengli" Date: Thu, 15 May 2025 17:53:26 +0800 Subject: [PATCH 2/2] 1.2.1 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a512b44..0c44490 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "maiyoule/mqttclient_author", "type": "library", "description": "MQTT管理模块操作库", - "version": "1.1.2", + "version": "1.2.1", "license": "MIT", "authors": [ {