...
|
...
|
@@ -403,7 +403,7 @@ class Api |
|
|
->join('product p', 'p.id=s.product_id')
|
|
|
->join('class_con c', 'c.id=p.class_con_id')
|
|
|
->join('logo l', 'l.id=p.logo_id')
|
|
|
->field('p.stock,s.product_id,s.id,p.avatar,p.name,c.class_con,l.logo,s.buy_num')
|
|
|
->field('p.stock,s.product_id,p.price,s.id,p.avatar,p.name,c.class_con,l.logo,s.buy_num')
|
|
|
->select();
|
|
|
|
|
|
$tidu = Db::name('product')->where(['id' => $product_id])->find();
|
...
|
...
|
|