...
|
...
|
@@ -121,7 +121,7 @@ class Cars extends Api |
|
|
if($this->request->isGet()){
|
|
|
$res = Db::name('car')
|
|
|
->alias('c')
|
|
|
->join('goods g','c.g_id = g.id','LEFT')
|
|
|
->join('goods g','c.g_id = g.id')
|
|
|
->where(['c.uid'=>$this->uid])
|
|
|
->field('c.id,c.g_id goods_id,c.price,c.goods_number,c.style,g.name,g.image,g.style g_style,g.stock,g.introduce')
|
|
|
->useSoftDelete('g.deletetime')
|
...
|
...
|
|