<?php
// {$ind} 扩展插件 {$code} 后台路由

use think\facade\Route;

Route::get('{$ind}/plugins/{$code}/list', 'Applications\\{$ind}\\plugins\\{$code}\\adminapi\\controller\\{$cls}@list')->middleware(\\app\\middleware\\AdminPermission::class, 'plugins.{$code}.view');
Route::get('{$ind}/plugins/{$code}/detail/:id', 'Applications\\{$ind}\\plugins\\{$code}\\adminapi\\controller\\{$cls}@detail')->middleware(\\app\\middleware\\AdminPermission::class, 'plugins.{$code}.view');
Route::post('{$ind}/plugins/{$code}/save', 'Applications\\{$ind}\\plugins\\{$code}\\adminapi\\controller\\{$cls}@save')->middleware(\\app\\middleware\\AdminPermission::class, 'plugins.{$code}.save');
Route::post('{$ind}/plugins/{$code}/delete', 'Applications\\{$ind}\\plugins\\{$code}\\adminapi\\controller\\{$cls}@delete')->middleware(\\app\\middleware\\AdminPermission::class, 'plugins.{$code}.delete');


