试图更改,但是没有

This commit is contained in:
iVampireSP.com 2022-12-03 12:51:28 +08:00
parent b21b2e6588
commit 8a3ba3296a
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -103,12 +103,13 @@ public function authorization(Request $request)
}
}
if (count($usernames) === 1) {
// 是模块自己的连接
return $this->allow();
}
// Log::debug('联系模块。');
// 其他情况,让模块去验证
// 联系模块,让模块去验证设备授权。
$response = $module->baseRequest('post', 'mqtt/authorization', [