mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
no message
This commit is contained in:
parent
77224c3726
commit
6fda0bd548
@ -284,7 +284,7 @@ class UserBot extends AbstractModel
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
} elseif (preg_match('/^(manual|locat|face|checkin)-(\d+)$/i', $mac, $match)) {
|
} 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]);
|
$mac = intval($match[2]);
|
||||||
$remark = match ($type) {
|
$remark = match ($type) {
|
||||||
'manual' => $setting['manual_remark'] ?: 'Manual',
|
'manual' => $setting['manual_remark'] ?: 'Manual',
|
||||||
@ -303,6 +303,8 @@ class UserBot extends AbstractModel
|
|||||||
'remark' => $remark,
|
'remark' => $remark,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
if ($array) {
|
if ($array) {
|
||||||
$record = UserCheckinRecord::where($array)->first();
|
$record = UserCheckinRecord::where($array)->first();
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit a5e51c29d7d28cfbfadbf12adcc67632a0305186
|
Subproject commit fbcd75e75fac890b337981214e9163484a634c47
|
||||||
Loading…
x
Reference in New Issue
Block a user