修复登陆日志入库错误,升级部分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
+2 -16
View File
@@ -28,22 +28,8 @@ use common\models\CVcode;
use addons\models\AcContact;
use common\models\Fans;
class OrderController extends \yii\web\Controller
class OrderController extends Common
{
//替代常规的_construct 析构函数;其他方法调用前执行
public function init()
{
parent::init();
$session = Yii::$app->session;
if (isset($_GET['pid']) && (int)$_GET['pid']>0) {
$session->set('pid', (int)$_GET['pid']);
}
$pid = $session->get('pid');
if (!$pid) {
return Yii::$app->response->redirect(['index/index']);
}
}
//主界面
public function actionIndex()
{
@@ -55,7 +41,7 @@ class OrderController extends \yii\web\Controller
public function actionList()
{
global $_HI,$_FM;
$pid = Yii::$app->session->get('pid');
$pid = $this->pid;
$session = Yii::$app->session;
$model = new AcOrder();
$where = [];