Commit f8758784 by 冷斌

fix bug

parent e9ea58f5
...@@ -20,6 +20,7 @@ class GiftController extends AdminbaseController { ...@@ -20,6 +20,7 @@ class GiftController extends AdminbaseController {
$page = $this->page($count, 20); $page = $this->page($count, 20);
$lists = $gift_model $lists = $gift_model
//->where() //->where()
->where(['channel' => '0'])
->order("orderno, addtime desc") ->order("orderno, addtime desc")
->limit($page->firstRow . ',' . $page->listRows) ->limit($page->firstRow . ',' . $page->listRows)
->select(); ->select();
...@@ -42,6 +43,7 @@ class GiftController extends AdminbaseController { ...@@ -42,6 +43,7 @@ class GiftController extends AdminbaseController {
$page = $this->page($count, 20); $page = $this->page($count, 20);
$lists = $gift_model $lists = $gift_model
//->where() //->where()
->where(['channel' => '1'])
->order("orderno, addtime desc") ->order("orderno, addtime desc")
->limit($page->firstRow . ',' . $page->listRows) ->limit($page->firstRow . ',' . $page->listRows)
->select(); ->select();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment