update
This commit is contained in:
@ -39,4 +39,14 @@ class NewsController extends AbstractController
|
||||
{
|
||||
return $render->render('news/insert');
|
||||
}
|
||||
|
||||
/**
|
||||
* 导入新闻
|
||||
* @url /admin/news/insert
|
||||
*/
|
||||
#[RequestMapping(path: 'import', methods: 'get')]
|
||||
public function import(RenderInterface $render): \Psr\Http\Message\ResponseInterface
|
||||
{
|
||||
return $render->render('news/import');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user