|
|
@@ -5,6 +5,7 @@ namespace ghs\controllers;
|
|
|
use bizGhs\book\classes\BookItemCustomClass;
|
|
|
use bizGhs\order\classes\CheckOrderClass;
|
|
|
use bizGhs\product\classes\ProductClass;
|
|
|
+use common\components\noticeUtil;
|
|
|
use Yii;
|
|
|
use common\components\util;
|
|
|
|
|
|
@@ -378,9 +379,13 @@ class CheckOrderController extends BaseController
|
|
|
}
|
|
|
|
|
|
if ($could == false) {
|
|
|
+ noticeUtil::push("不能清空库存", '15280215347');
|
|
|
util::fail('无法清空库存');
|
|
|
}
|
|
|
|
|
|
+ noticeUtil::push("可以清空库存", '15280215347');
|
|
|
+ util::complete('清除成功');
|
|
|
+
|
|
|
$mainId = $this->mainId ?? 0;
|
|
|
$adminId = $this->adminId ?? 0;
|
|
|
$shopId = $this->shopId ?? 0;
|