executeMall(); // if($res == true) { // echo 'executeMall操作成功'; // } $res = $logic->executeStore(); if($res == true) { echo 'executeStore操作成功'; } return ExitCode::OK; } catch (\Exception $e) { echo $e->getMessage(); $this->stderr('Error: ' . ExitCode::getReason(ExitCode::UNSPECIFIED_ERROR)); return ExitCode::UNSPECIFIED_ERROR; } } }