diff --git a/app/controller/admin/store/StoreCategory.php b/app/controller/admin/store/StoreCategory.php index 961c8c69..3dd7b2e6 100644 --- a/app/controller/admin/store/StoreCategory.php +++ b/app/controller/admin/store/StoreCategory.php @@ -44,7 +44,6 @@ class StoreCategory extends BaseController */ public function lst() { - halt(1111); return app('json')->success($this->repository->getFormatList($this->request->merId())); } diff --git a/route/admin.php b/route/admin.php index c39af230..c08fc3cf 100644 --- a/route/admin.php +++ b/route/admin.php @@ -27,7 +27,7 @@ Route::group(config('admin.admin_prefix'), function () { Route::group(config('admin.api_admin_prefix') . '/', function () { $path = $this->app->getRootPath() . 'route' . DIRECTORY_SEPARATOR.'admin'; - halt($path); + $files = scandir($path); foreach ($files as $file) { if($file != '.' && $file != '..'){