finish(); return ExitCode::OK; } catch (\Exception $e) { \Yii::error(FormatHelper::exception($e, __CLASS__)); return ExitCode::UNSPECIFIED_ERROR; } } /** * 签到关系绑定过期 * @return int */ public function actionSignInExpire(): int { try { (new SignInService())->expired(); return ExitCode::OK; } catch (\Exception $e) { \Yii::error(FormatHelper::exception($e, __CLASS__)); return ExitCode::UNSPECIFIED_ERROR; } } }