ソースを参照

feat: EK-2806: 会员端Promo和banner图增加分国家设置.

kevin 4 ヶ月 前
コミット
6712bdaa96
1 ファイル変更4 行追加0 行削除
  1. 4 0
      common/libs/dataList/DataList.php

+ 4 - 0
common/libs/dataList/DataList.php

@@ -4,6 +4,7 @@ namespace common\libs\dataList;
 use backendApi\modules\v1\models\Admin;
 use backendApi\modules\v1\models\Admin;
 use backendApi\modules\v1\models\AdminRole;
 use backendApi\modules\v1\models\AdminRole;
 use common\components\Model;
 use common\components\Model;
+use common\helpers\LoggerTool;
 use common\helpers\Tool;
 use common\helpers\Tool;
 use yii\base\Exception;
 use yii\base\Exception;
 
 
@@ -125,6 +126,9 @@ class DataList extends Model
         if(!$this->isExport){
         if(!$this->isExport){
             $this->getFilterTypes();
             $this->getFilterTypes();
         }
         }
+
+        LoggerTool::error([$this->dataHandle(), $this->getColumn(), $this->getFilterTypes()]);
+
         // 利用权限处理掉不需要的字段(只需要从$this->columns中去掉就可以)
         // 利用权限处理掉不需要的字段(只需要从$this->columns中去掉就可以)
         $userId = isset($params['userId']) && $params['userId'] ? $params['userId'] : null;
         $userId = isset($params['userId']) && $params['userId'] ? $params['userId'] : null;
         $this->permissionColumn($userId);
         $this->permissionColumn($userId);