|
@@ -119,7 +119,7 @@ class Goods extends Controller
|
|
|
->whereIn('status','1,3')
|
|
|
->where('c_id',$data['id'])
|
|
|
->count();
|
|
|
- $blind_count = Db::name('store_blind_box')->where(['prize_id'=>$data['id'],'is_deleted'=>0])->sum('num');
|
|
|
+ $blind_count = Db::name('store_blind_box')->where(['prize_id'=>$data['id'],'is_del'=>0])->sum('num');
|
|
|
$buy_count += $blind_count;
|
|
|
}else{
|
|
|
$buy_count = 0;
|