|
|
@@ -5,6 +5,7 @@ namespace common\models;
|
|
|
use backendApi\modules\v1\models\Admin;
|
|
|
use backendApi\modules\v1\models\AdminCountry;
|
|
|
use common\helpers\Tool;
|
|
|
+use common\libs\dataList\DataListInterface;
|
|
|
use Yii;
|
|
|
|
|
|
/**
|
|
|
@@ -19,7 +20,7 @@ use Yii;
|
|
|
* @property int $SORT 排序值
|
|
|
* @property int $CREATED_AT 创建时间
|
|
|
*/
|
|
|
-class Article extends \common\components\ActiveRecord
|
|
|
+class Article extends \common\libs\dataList\DataList implements DataListInterface
|
|
|
{
|
|
|
/**
|
|
|
* @inheritdoc
|
|
|
@@ -29,6 +30,14 @@ class Article extends \common\components\ActiveRecord
|
|
|
return '{{%ARTICLE}}';
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 列表名称
|
|
|
+ * @return string
|
|
|
+ */
|
|
|
+ public function getListName(){
|
|
|
+ return '会员列表';
|
|
|
+ }
|
|
|
+
|
|
|
public function dataHandle()
|
|
|
{
|
|
|
$this->condition .= '';
|