使用workman

This commit is contained in:
2025-05-13 15:49:27 +08:00
parent c1547e191c
commit 2ff864b8c8
9 changed files with 446 additions and 13 deletions

View File

@@ -0,0 +1,34 @@
<?php
namespace cn\com\maiyoule\mqttclient\biz;
use cn\com\maiyoule\mqttclient\IRequest;
class AppUsersRequest extends IRequest
{
public function path(): string
{
return 'mqtt/users';
}
private string $role;
public function getRole(): string
{
return $this->role;
}
public function setRole(string $role): void
{
$this->role = $role;
}
public function body(): array
{
return [
'role' => $this->role,
];
}
}