사령턴 커맨드 버그 수정

This commit is contained in:
2020-03-22 02:47:44 +09:00
parent 9ea8d3ec97
commit a9435f8f32
6 changed files with 49 additions and 12 deletions
+22 -1
View File
@@ -31,8 +31,21 @@ class che_백성동원 extends Command\NationCommand{
static public $reqArg = true;
protected function argTest():bool{
$this->arg = [];
if($this->arg === null){
return false;
}
if(!key_exists('destCityID', $this->arg)){
return false;
}
if(CityConst::byID($this->arg['destCityID']) === null){
return false;
}
$destCityID = $this->arg['destCityID'];
$this->arg = [
'destCityID'=>$destCityID,
];
return true;
}
@@ -145,6 +158,14 @@ class che_백성동원 extends Command\NationCommand{
return true;
}
public function getJSFiles(): array
{
return [
'js/defaultSelectCityByMap.js'
];
}
public function getForm(): string
{
ob_start();