...
|
...
|
@@ -64,7 +64,7 @@ class Omessages extends Api |
|
|
$data = Db::table('gc_porder')
|
|
|
->alias('o')
|
|
|
->join('gc_product p','o.p_id = p.id','LEFT')
|
|
|
->join('gc_user u','o.s_uid = u.id','LEFT')
|
|
|
->join('gc_user u','o.uid = u.id','LEFT')
|
|
|
->where(['o.s_uid'=>$this->user_id,'p.status'=>$this->normal,'u.status'=>'normal'])
|
|
|
->page($page,$limit)
|
|
|
->field('o.id,o.order_sn,o.status,p.title,u.username,o.is_read')
|
...
|
...
|
|