<?php

namespace App\Http\Controllers\Api\V1\Player;

use App\Support\ApiResponse;
use Illuminate\Http\JsonResponse;
use App\Http\Controllers\Controller;

/**
 * 无需登录：仅供网关/前端确认「玩家 API 前缀」可达。
 * 路由：GET /api/v1/player/ping
 */
final class PingController extends Controller
{
    public function __invoke(): JsonResponse
    {
        return ApiResponse::success(['scope' => 'player']);
    }
}
