<?php
// {$ind}/{$code} 业务模块后台路由

use think\facade\Route;

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


