|
@@ -17,6 +17,7 @@ class Attachment extends Backend
|
|
* @var \app\common\model\Attachment
|
|
* @var \app\common\model\Attachment
|
|
*/
|
|
*/
|
|
protected $model = null;
|
|
protected $model = null;
|
|
|
|
+ protected $dataLimit = 'auth';
|
|
|
|
|
|
protected $searchFields = 'id,filename,url';
|
|
protected $searchFields = 'id,filename,url';
|
|
protected $noNeedRight = ['classify'];
|
|
protected $noNeedRight = ['classify'];
|
|
@@ -153,5 +154,4 @@ class Attachment extends Backend
|
|
\app\common\model\Attachment::where('id', 'in', $ids)->update(['category' => $category]);
|
|
\app\common\model\Attachment::where('id', 'in', $ids)->update(['category' => $category]);
|
|
$this->success();
|
|
$this->success();
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|