<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ~ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------

// you should use `$router`
$router->group(function () use ($router){
	// configLog路由
	$router->resource('configLog', '\catchAdmin\logs\controller\ConfigLog');
	// dwLog路由
	$router->resource('dwLog', '\catchAdmin\logs\controller\DwLog');
	// wxPushResultLog路由
	$router->resource('wxPushResultLog', '\catchAdmin\logs\controller\WxPushResultLog');
	// heartBeat路由
	$router->resource('heartBeat', '\catchAdmin\logs\controller\HeartBeat');
	// batteryLog路由
	$router->resource('batteryLog', '\catchAdmin\logs\controller\BatteryLog');
	// maintainLog路由
	$router->resource('maintainLog', '\catchAdmin\logs\controller\MaintainLog');
	// wrenchCheckLog路由
	$router->resource('wrenchCheckLog', '\catchAdmin\logs\controller\WrenchCheckLog');
})->middleware('auth');