FrozenToActive(); if($result === true) { echo 'success'; return ExitCode::OK; } } catch (\Exception $e) { echo '冻结红包转激活红包' . $e->getMessage(); $this->stderr('Error: ' . ExitCode::getReason(ExitCode::UNSPECIFIED_ERROR)); return ExitCode::UNSPECIFIED_ERROR; } } }