Commit f8758784 by 冷斌

fix bug

parent e9ea58f5
......@@ -20,6 +20,7 @@ class GiftController extends AdminbaseController {
$page = $this->page($count, 20);
$lists = $gift_model
//->where()
->where(['channel' => '0'])
->order("orderno, addtime desc")
->limit($page->firstRow . ',' . $page->listRows)
->select();
......@@ -42,6 +43,7 @@ class GiftController extends AdminbaseController {
$page = $this->page($count, 20);
$lists = $gift_model
//->where()
->where(['channel' => '1'])
->order("orderno, addtime desc")
->limit($page->firstRow . ',' . $page->listRows)
->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