| xqd
@@ -2097,7 +2097,7 @@ class AlbumController extends Controller
|
|
|
$detail = json_decode($val['detail'],true);
|
|
|
//dd($detail);die;
|
|
|
$goods_id = $detail['goods_id'];
|
|
|
- $goods = AlbumProductModel::where(['id',$goods_id])->first();
|
|
|
+ $goods = AlbumProductModel::where([['id',$goods_id]])->first();
|
|
|
$count= AlbumWatchRecord::where([['action',3],['store_id',$store_id],['open_id',$open_id],['detail',$detail]])->count();
|
|
|
$arr[] = ['name'=>$goods->name,'count'=>$count];
|
|
|
}
|