|
|
@@ -78,10 +78,10 @@ class User extends Api
|
|
|
->join("product_list b", "b.id = a.product_id", "left")
|
|
|
->join("products c", "c.id = b.type_id", "left")
|
|
|
->field('a.id as order_id,a.product_id,'.'b.'.$this->lan.'_name,b.images as img_url,a.price,a.status,a.type_id,c.'.$this->lan.'_title')
|
|
|
- ->where('a.user_id', $this->auth->id)
|
|
|
+ ->where('a.user_id', 1008)
|
|
|
->order('a.id DESC')
|
|
|
->paginate($this->pageSize);
|
|
|
-
|
|
|
+
|
|
|
$this->success('', $list);
|
|
|
}
|
|
|
|