no message

This commit is contained in:
kuaifan 2024-11-11 17:49:46 +08:00
parent 77224c3726
commit 6fda0bd548
2 changed files with 4 additions and 2 deletions

View File

@ -284,7 +284,7 @@ class UserBot extends AbstractModel
];
}
} elseif (preg_match('/^(manual|locat|face|checkin)-(\d+)$/i', $mac, $match)) {
$type = str_replace('checkin', 'face', $match[1]);
$type = strtolower(str_replace('checkin', 'face', $match[1]));
$mac = intval($match[2]);
$remark = match ($type) {
'manual' => $setting['manual_remark'] ?: 'Manual',
@ -303,6 +303,8 @@ class UserBot extends AbstractModel
'remark' => $remark,
];
}
} else {
continue;
}
if ($array) {
$record = UserCheckinRecord::where($array)->first();

@ -1 +1 @@
Subproject commit a5e51c29d7d28cfbfadbf12adcc67632a0305186
Subproject commit fbcd75e75fac890b337981214e9163484a634c47