修复登陆日志入库错误,升级部分composer依赖项;

临时修复登陆通知邮件不能多发的问题;
This commit is contained in:
2025-07-13 19:37:43 +08:00
parent 037f274ec5
commit 45bc700e8f
93 changed files with 6405 additions and 6804 deletions
+5
View File
@@ -23,6 +23,11 @@ class Common extends Controller
$get = Yii::$app->request->get();
$session = Yii::$app->session;
$this->pid = $session->get('pid');
if (isset($_GET['pid']) && (int)$_GET['pid'] > 0) {
$session->set('pid', (int)$_GET['pid']);
$this->pid = (int)$_GET['pid'];
}
if (!$this->pid) {
return Yii::$app->response->redirect(['index/index']);
}