作者 wangzhi

222

... ... @@ -516,7 +516,7 @@ class Api
->where(['p.id' => $product_id])
->join('class_con c', 'c.id=p.class_con_id')
->join('logo l', 'l.id=p.logo_id')
->field('p.avatar,p.name,c.class_con,l.logo')
->field('p.avatar,p.name,c.class_con,l.logo,p.fengzhuang,p.con,p.stock,')
->select();
$tidu_new = Db::name('product')->where(['id' => $product_id])->select();
foreach ($tidu_new as $k => $v) {
... ...