MQTT 管理客户端

This commit is contained in:
2025-05-07 10:51:21 +08:00
commit 5eefef9b19
9 changed files with 532 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?php
namespace cn\com\maiyoule\mqttclient\biz;
use cn\com\maiyoule\mqttclient\IRequest;
/**
* 删除用户请求
*/
class AppUserDeleteRequest extends IRequest
{
public function path(): string
{
return 'mqtt/user/delete';
}
public function body(): array
{
return [
'username' => $this->getUsername()
];
}
private string $username;
public function getUsername(): string
{
return $this->username;
}
public function setUsername(string $username): void
{
$this->username = $username;
}
}