This commit is contained in:
2021-04-06 18:23:40 +08:00
parent e8043c05c4
commit 9fc0b7f404
+2
View File
@@ -74,6 +74,7 @@ use Snowflake\Core\JSON;
use HttpServer\Http\Request;
use HttpServer\Http\Response;
use HttpServer\Controller;
use use JetBrains\PhpStorm\ArrayShape;
use {$model_namespace}\\{$managerName};
";
}
@@ -198,6 +199,7 @@ use {$model_namespace}\\{$managerName};
* @return array
* @throws Exception
*/
#[ArrayShape([])]
private function loadParam(): array
{
return [' . $this->getData($fields) . '