|
|
@@ -194,7 +194,6 @@ class RefundController extends BaseController
|
|
|
$itemList = ProductClass::getAllByCondition(['mainId' => $this->mainId, 'classId' => ['in', $ids]], null, 'id', 'id');
|
|
|
if (!empty($itemList)) {
|
|
|
$productIds = array_keys($itemList);
|
|
|
- $productIds = array_unique($productIds);
|
|
|
}
|
|
|
if (empty($productIds)) {
|
|
|
util::success(['list' => [], 'moreData' => 0, 'totalAmount' => 0, 'totalNum' => 0, 'totalPage' => 1]);
|