|
|
@@ -204,10 +204,8 @@ class CheckOrderController extends BaseController
|
|
|
ini_set('memory_limit', '2045M');
|
|
|
set_time_limit(0);
|
|
|
$staff = $this->shopAdmin;
|
|
|
- if ($staff->mobile != '15280215347') {
|
|
|
- if ($staff->founder == 1) {
|
|
|
- util::fail('不能清空');
|
|
|
- }
|
|
|
+ if ($staff->mobile != '15280215347' && $staff->founder == 1) {
|
|
|
+ util::fail('不能清空');
|
|
|
}
|
|
|
$mainId = $this->mainId ?? 0;
|
|
|
$adminId = $this->adminId ?? 0;
|
|
|
@@ -223,7 +221,7 @@ class CheckOrderController extends BaseController
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if(empty($productList)){
|
|
|
+ if (empty($productList)) {
|
|
|
util::fail('没有花材需要清空');
|
|
|
}
|
|
|
$modifyData = [
|