This commit is contained in:
2022-09-27 16:59:36 +08:00
parent 1d945f8cac
commit 831644d235
-2
View File
@@ -197,8 +197,6 @@ use {$model_namespace}\\{$managerName};
* @return string * @return string
* @throws Exception * @throws Exception
*/ */
#[Route(uri: "' . $_path . '/add", method: RequestMethod::REQUEST_POST)]
#[Middleware(middleware: [CoreMiddleware::class, OAuthMiddleware::class])]
public function actionAdd(): string public function actionAdd(): string
{ {
$model = new ' . $className . '(); $model = new ' . $className . '();