|
|
@@ -302,7 +302,13 @@ class ProductController extends BaseController
|
|
|
} else {
|
|
|
$upData = ['priceLabel' => ProductClass::PRICE_LABEL_CHANGE, 'price' => $val];
|
|
|
}
|
|
|
- ProductClass::updateByCondition(['itemId' => $currentItemId], $upData);
|
|
|
+ $shopAll = ShopClass::getAllShop($this->sjId);
|
|
|
+ if (!empty($shopAll)) {
|
|
|
+ foreach ($shopAll as $currentShop) {
|
|
|
+ $currentShopId = $currentShop->id;
|
|
|
+ ProductClass::updateByCondition(['shopId' => $currentShopId, 'itemId' => $currentItemId], $upData);
|
|
|
+ }
|
|
|
+ }
|
|
|
continue;
|
|
|
}
|
|
|
|