试图更改,但是没有
This commit is contained in:
parent
b21b2e6588
commit
8a3ba3296a
@ -103,12 +103,13 @@ public function authorization(Request $request)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (count($usernames) === 1) {
|
if (count($usernames) === 1) {
|
||||||
// 是模块自己的连接
|
// 是模块自己的连接
|
||||||
return $this->allow();
|
return $this->allow();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Log::debug('联系模块。');
|
// 其他情况,让模块去验证
|
||||||
|
|
||||||
// 联系模块,让模块去验证设备授权。
|
// 联系模块,让模块去验证设备授权。
|
||||||
$response = $module->baseRequest('post', 'mqtt/authorization', [
|
$response = $module->baseRequest('post', 'mqtt/authorization', [
|
||||||
|
Loading…
Reference in New Issue
Block a user