feat: 添加 JWT 支持与开发环境配置,更新 API 路由与中间件
This commit is contained in:
@@ -6,7 +6,10 @@ use App\Http\Controllers\Controller;
|
||||
use App\Support\ApiResponse;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
|
||||
/** 探路由用,上线前可删除或改为需登录 */
|
||||
/**
|
||||
* 无需登录(当前 admin 中间件为直通):确认 `/api/v1/admin` 前缀可达。
|
||||
* 路由:GET /api/v1/admin/ping
|
||||
*/
|
||||
class PingController extends Controller
|
||||
{
|
||||
public function __invoke(): JsonResponse
|
||||
|
||||
Reference in New Issue
Block a user