fix lỗi ID cửa c3-400

This commit is contained in:
dongpd 2020-11-11 10:35:38 +07:00
parent 7cee5029b1
commit 1225b1bd2f
2 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ class DeviceController extends Controller {
$UserAuthorizeInfos[] = [
"Pin" => $value["id"],
"AuthorizeTimezoneId" => $value["schedule_id"],
"AuthorizeDoorId" => $v->code
"AuthorizeDoorId" => 2 ** ($v->code - 1)
];
// $UserAuthorizeInfosDelete[] = [
// "Pin" => "",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB