shish hai 1 ano
pai
achega
23967cce8c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app-ghs/controllers/CustomController.php

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

@@ -204,7 +204,7 @@ class CustomController extends BaseController
         $customShopId = $custom->shopId ?? 0;
         $customShopId = $custom->shopId ?? 0;
         $shop = $this->shop;
         $shop = $this->shop;
         if ($customShopId == $shop->lsShopId) {
         if ($customShopId == $shop->lsShopId) {
-            //util::fail('不能给自己充值');
+            util::fail('不能给自己充值');
         }
         }
         $connection = Yii::$app->db;
         $connection = Yii::$app->db;
         $transaction = $connection->beginTransaction();
         $transaction = $connection->beginTransaction();