...
|
...
|
@@ -30,7 +30,7 @@ class Collect extends WechatBase |
|
|
public function index(){
|
|
|
$data = Db::name('collect')
|
|
|
->alias('c')
|
|
|
->field('g.*,c.id as c_id,c.createtime')
|
|
|
->field('g.*,c.id as c_id')
|
|
|
->join('fa_goods g','g.id = c.goods_id')
|
|
|
->where(['c.user_id'=>$this->user_id])->order('c.id desc')->page(1,5)->select();
|
|
|
$this->assign('data',$data);
|
...
|
...
|
|