|
@@ -679,11 +679,6 @@ class ProductController extends BaseController
|
|
|
public function actionBatchChangeMore()
|
|
public function actionBatchChangeMore()
|
|
|
{
|
|
{
|
|
|
$shop = $this->shop;
|
|
$shop = $this->shop;
|
|
|
- $default = $shop->default ?? 0;
|
|
|
|
|
- if ($default == 0) {
|
|
|
|
|
- util::fail('请在首店修改');
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
$shopAdmin = $this->shopAdmin;
|
|
$shopAdmin = $this->shopAdmin;
|
|
|
if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {
|
|
if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {
|
|
|
util::fail('超管才能操作');
|
|
util::fail('超管才能操作');
|