正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
@@ -99,6 +99,8 @@ class SlideItemController extends AdminBaseController | @@ -99,6 +99,8 @@ class SlideItemController extends AdminBaseController | ||
99 | { | 99 | { |
100 | $id = $this->request->param('id'); | 100 | $id = $this->request->param('id'); |
101 | $result = Db::name('slideItem')->where(['id' => $id])->find(); | 101 | $result = Db::name('slideItem')->where(['id' => $id])->find(); |
102 | + $activity = Db::name('activity')->where(array('delete_time'=>0,'is_up'=>1))->order('create_time desc')->select(); | ||
103 | + $this->assign('activity', $activity); | ||
102 | 104 | ||
103 | $this->assign('result', $result); | 105 | $this->assign('result', $result); |
104 | $this->assign('slide_id', $result['slide_id']); | 106 | $this->assign('slide_id', $result['slide_id']); |
-
请 注册 或 登录 后发表评论