shish 2 months ago
parent
commit
b323e52661

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

@@ -282,7 +282,7 @@ class CustomController extends BaseController
         $transaction = $connection->beginTransaction();
 
         //检查客户余额是否有问题
-        CustomClass::checkBalance($custom);
+        //CustomClass::checkBalance($custom);
 
         try {
             $staff = $this->shopAdmin;

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

@@ -81,7 +81,7 @@ class OrderClearController extends BaseController
         $complete = $post['complete'] ?? 0;
 
         //检查客户余额是否有问题
-        CustomClass::checkBalance($custom);
+        //CustomClass::checkBalance($custom);
 
         $data = [
             'customId' => $customId,

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

@@ -50,7 +50,7 @@ class CustomRechargeController extends BaseController
         }
 
         //检查余额是否有问题
-        GhsClass::checkBalance($ghs, $custom);
+        //GhsClass::checkBalance($ghs, $custom);
 
         // 花店自助充值建单前:挂账并入净 balance
         AccountMoneyClass::ensureCustomMoneyReady($custom, true);

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

@@ -41,7 +41,7 @@ class PurchaseClearController extends BaseController
             Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 5, 'has']);
 
             //检查余额是否有问题
-            \bizHd\ghs\classes\GhsClass::checkBalance($ghs);
+            //\bizHd\ghs\classes\GhsClass::checkBalance($ghs);
 
             //老的没有清的结账单直接过期掉
             $list = PurchaseClearClass::getAllByCondition(['ghsId' => $ghsId, 'status' => PurchaseClearClass::STATUS_AWAIT_PAY], null, '*', null, true);