@@ -130,6 +130,7 @@ class Goods extends Controller
->whereIn('status','1,2')
->where('c_id',$data['id'])
->count();
+ echo Db::name('store_order_info')->getLastSql();die;
}else{
$buy_count = 0;
}