私域操盘手 - 修复设备配置错误的问题

This commit is contained in:
柳清爽
2025-05-08 15:16:29 +08:00
parent 40000b397b
commit 6354dd8565
5 changed files with 11 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ class GetRelatedAccountsV1Controller extends BaseController
$hasPermission = DeviceUserModel::where($where)->count() > 0;
if (!$hasPermission) {
throw new \Exception('您没有权限查看该设备', '403');
throw new \Exception('您没有权限查看该设备', 403);
}
}