使用workman
This commit is contained in:
@@ -29,8 +29,11 @@ class AppUserCreateRequest extends IRequest
|
||||
return $this->biz;
|
||||
}
|
||||
|
||||
public function setBiz(array $biz): void
|
||||
public function setBiz(array|string $biz): void
|
||||
{
|
||||
if (is_string($biz)) {
|
||||
$biz = [$biz];
|
||||
}
|
||||
$this->biz = $biz;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user