@@ -641,7 +641,7 @@ class ProductController extends BaseController
}
$shopAdmin = $this->shopAdmin;
- if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {
+ if (!isset($shopAdmin->super) || $shopAdmin->super != 1) {
util::fail('超管才能修改');
@@ -1341,6 +1341,7 @@ class ProductClass extends BaseClass
'targetId' => $targetId,
];
PriceChangeClass::addData($changeData);
+ return true;
//下单时计算商品的价格 lqh 2021.1.28