|
|
@@ -178,8 +178,12 @@ class ItemController extends BaseController
|
|
|
$needCgList[$biProductId] = $biInfo->needCgNum;
|
|
|
}
|
|
|
}
|
|
|
- if ($globalCgMyCharge == 1 && !empty($myIds)) {
|
|
|
- $where['id'] = ['in', $myIds];
|
|
|
+ if ($globalCgMyCharge == 1) {
|
|
|
+ if(!empty($myIds)){
|
|
|
+ $where['id'] = ['in', $myIds];
|
|
|
+ }else{
|
|
|
+ $where['id'] = ['in', [0]];
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|