refactor:拆分 API 路由与请求校验,统一 final 类和代码风格
This commit is contained in:
@@ -9,21 +9,21 @@
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
use App\Http\Middleware\EnsureAdminApi;
|
||||
use App\Http\Middleware\EnsureAdminPermission;
|
||||
use App\Http\Middleware\EnsurePlayerApi;
|
||||
use App\Http\Middleware\NegotiateLotteryLocale;
|
||||
use App\Lottery\ErrorCode;
|
||||
use App\Support\ApiResponse;
|
||||
use Illuminate\Http\Request;
|
||||
use App\Support\LotteryLocale;
|
||||
use Illuminate\Auth\AuthenticationException;
|
||||
use Illuminate\Console\Scheduling\Schedule;
|
||||
use Illuminate\Database\Eloquent\ModelNotFoundException;
|
||||
use Illuminate\Foundation\Application;
|
||||
use App\Http\Middleware\EnsureAdminApi;
|
||||
use App\Http\Middleware\EnsurePlayerApi;
|
||||
use Illuminate\Console\Scheduling\Schedule;
|
||||
use Illuminate\Auth\AuthenticationException;
|
||||
use App\Http\Middleware\EnsureAdminPermission;
|
||||
use Illuminate\Validation\ValidationException;
|
||||
use App\Http\Middleware\NegotiateLotteryLocale;
|
||||
use Illuminate\Foundation\Configuration\Exceptions;
|
||||
use Illuminate\Foundation\Configuration\Middleware;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Validation\ValidationException;
|
||||
use Illuminate\Database\Eloquent\ModelNotFoundException;
|
||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
use Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException;
|
||||
|
||||
Reference in New Issue
Block a user