|
|
|
@ -24,6 +24,8 @@ use Symfony\Component\HttpFoundation\BinaryFileResponse; |
|
|
|
class ParkingPatternController extends BaseController |
|
|
|
{ |
|
|
|
|
|
|
|
protected string $menuUri = 'pattern'; |
|
|
|
|
|
|
|
protected ParkingPatternService $service; |
|
|
|
|
|
|
|
/** |
|
|
|
@ -372,23 +374,6 @@ class ParkingPatternController extends BaseController |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @return JsonResponse |
|
|
|
* @throws InvalidArgumentException |
|
|
|
*/ |
|
|
|
public function rule(): JsonResponse |
|
|
|
{ |
|
|
|
try { |
|
|
|
return $this->responseService->success( |
|
|
|
$this->methodShow('pattern', ['batchImport', 'import']) |
|
|
|
); |
|
|
|
} catch (Exception $e) { |
|
|
|
return $this->responseService->systemError( |
|
|
|
__('exception.get_data_failed') . ':' . $e->getMessage() |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 释出 优越 车位 |
|
|
|
* @param Request $request |
|
|
|
|