改名
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user