<?php

// Prefix: /api/cards
$router->group(['prefix' => 'cards', 'as' => 'cards'], function($router) {

    // The controllers live in Domains/Card/Http/Controllers
    $router->get('/', ['as' => 'index', 'uses' => 'CardController@index']);
    
    /**
     * 需要认证的接口
     */
    // $router->group(['middleware' => ['adminAuth']], function($router) {
    //     // $router->post('delete', ['as' => 'delete', 'uses' => 'CardController@delete']);
    // });
});