作者 景琛

后台控制大屏显示内容

... ... @@ -261,7 +261,7 @@ class Screen extends Backend
Db::startTrans();
try {
$list = $this->model->where($this->model->getPk(), 'in', $ids)->select();
$res = $this->model->where('is_view',1)->find()->toArray();
$res = \db('screen')->where('is_view',1)->find();
foreach ($list as $item) {
//注意:修改区域!!!!!!!!!!!!
if ($values['is_view'] == 1) {
... ...