This commit is contained in:
2021-09-02 11:26:11 +08:00
parent 4e2bb41358
commit 428987406c
11 changed files with 111 additions and 110 deletions
+2 -2
View File
@@ -21,12 +21,12 @@ class GiiRpcService extends GiiBase
public function generate(): array
{
$managerName = $this->input->get('name', null);
$managerName = $this->input->getArgument('name', null);
if (empty($managerName)) {
throw new Exception('文件名称不能为空~');
}
$port = $this->input->get('port', 443);
$port = $this->input->getArgument('port', 443);
$html = '<?php