|
|
@@ -1268,12 +1268,12 @@ class ProductController extends BaseController
|
|
|
}
|
|
|
$sameList = ProductClass::getAllByCondition(['itemId' => $ptItemId], null, 'id,itemId,mainId');
|
|
|
$sameMainList = array_column($sameList, 'mainId');
|
|
|
- //echo "<pre>";
|
|
|
- //print_r($sameMainList);
|
|
|
- //print_r($hasMainList);
|
|
|
+ echo "<pre>";
|
|
|
+ print_r($sameMainList);
|
|
|
+ print_r($hasMainList);
|
|
|
$hasNot = array_diff($sameMainList, $hasMainList);
|
|
|
- //print_r($hasNot);
|
|
|
- //die;
|
|
|
+ print_r($hasNot);
|
|
|
+ die;
|
|
|
$hasRightChange = empty($hasNot) ? 1 : 0;
|
|
|
$respond['hasRightChange'] = $hasRightChange;
|
|
|
|