Răsfoiți Sursa

系统升级中,请30分钟后再操作

shish 4 ani în urmă
părinte
comite
66b993e936

+ 1 - 1
app-ghs/controllers/OrderController.php

@@ -81,7 +81,7 @@ class OrderController extends BaseController
     public function actionCreateOrder()
     {
         $post = Yii::$app->request->post();
-
+        util::fail('系统升级中,请30分钟后再操作');
         if (isset($post['newVersion']) == false) {
             util::fail('请升级小程序');
         }

+ 1 - 1
app-hd/controllers/PurchaseController.php

@@ -29,8 +29,8 @@ class PurchaseController extends BaseController
         $ghsInfo = GhsClass::getById($ghsId);
         if (empty($ghsInfo)) {
             util::fail('没有找到供应商');
-
         }
+        util::fail('系统升级中,请30分钟后再操作');
         //增加判定,若是快递配置,则判定供应商是否开通达达,若未开通,则不能现在配送
         $getType = $post['getType'] ?? 0;
         if ($getType == 1) {