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