사령턴 커맨드 버그 수정
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user