变更
This commit is contained in:
@@ -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 . '();
|
||||||
|
|||||||
Reference in New Issue
Block a user