shish 1 год назад
Родитель
Сommit
14fb127efc
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      app-ghs/controllers/CustomController.php

+ 5 - 0
app-ghs/controllers/CustomController.php

@@ -1046,6 +1046,11 @@ class CustomController extends BaseController
     //总赊账和总余额汇总 ssh 20250620
     public function actionShowTotalBalance()
     {
+        $lookMoney = \bizGhs\shop\classes\ShopAdminClass::lookMoneyPower($this->shopAdmin, $this->shop);
+        if($lookMoney == 0){
+            util::fail('无法查看哦');
+        }
+
         $pfShop = $this->shop;
         $lsShopId = $pfShop->lsShopId;
         $pfShopId = $this->shopId;