shish hace 4 meses
padre
commit
88a240dc97

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

@@ -808,7 +808,7 @@ class ProductController extends BaseController
                 }
                 $hjPrice = $product['hjPrice'] ?? 0;
                 if (!isset($productInfo->mainId) || $productInfo->mainId != $this->mainId) {
-                    util::fail('无法访问');
+                    util::fail('无法访问..');
                 }
                 if ($hjPrice > $price) {
                     util::fail($productName . ' 批发价要大于会员价');

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

@@ -616,7 +616,7 @@ class ProductController extends BaseController
                 }
                 $hjPrice = $product['hjPrice'] ?? 0;
                 if (isset($productInfo->mainId) == false || $productInfo->mainId != $this->mainId) {
-                    util::fail('无法访问');
+                    util::fail('无法访问。。');
                 }
                 if ($hjPrice > $price) {
                     util::fail($productName . ' 批发价要大于会员价');

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

@@ -65,7 +65,7 @@ class PurchaseController extends BaseController
             util::fail('没有找到采购单');
         }
         if (isset($info->mainId) == false || $info->mainId != $this->mainId) {
-            util::fail('无法访问');
+            util::fail('无法访问');
         }
         if (getenv('YII_ENV') == 'production') {
             $url = "https://mall.huahb.cn/#/admin/cg/alipay?orderSn={$orderSn}";
@@ -88,7 +88,7 @@ class PurchaseController extends BaseController
             util::fail('没有找到采购单');
         }
         if (isset($info->mainId) == false || $info->mainId != $this->mainId) {
-            util::fail('无法访问');
+            util::fail('无法访问!!');
         }
         PurchaseClass::confirmTake($info);
         util::complete('确认成功');
@@ -103,7 +103,7 @@ class PurchaseController extends BaseController
             util::fail('没有找到采购单');
         }
         if (isset($info['mainId']) == false || $info['mainId'] != $this->mainId) {
-            util::fail('无法访问');
+            util::fail('无法访问。。。');
         }
         $orderSn = $info['orderSn'] ?? '';
         $ghsId = $info['ghsId'] ?? 0;

+ 1 - 1
biz-ghs/order/classes/PurchaseOrderClass.php

@@ -1278,7 +1278,7 @@ class PurchaseOrderClass extends BaseClass
             util::fail('订单不存在');
         }
         if (isset($orderData['shopId']) == false || $orderData['shopId'] != $shopId) {
-            util::fail('无法访问');
+            util::fail('无法访问,编号669');
         }
         $orderInfo = PurchaseOrderItemClass::getOrderItemDetail($orderSn);
         if ($orderInfo) {

+ 1 - 1
biz-hd/cg/classes/CgRefundClass.php

@@ -441,7 +441,7 @@ class CgRefundClass extends BaseClass
     public static function valid($refund, $mainId)
     {
         if (isset($refund->mainId) == false || $refund->mainId != $mainId) {
-            util::fail('无法访问');
+            util::fail('无法访问,编号5');
         }
         return true;
     }

+ 1 - 1
biz-hd/purchase/classes/PurchaseClass.php

@@ -1422,7 +1422,7 @@ class PurchaseClass extends BaseClass
     public static function valid($cg, $shopId)
     {
         if (isset($cg->shopId) == false || $cg->shopId != $shopId) {
-            util::fail('无法访问');
+            util::fail('无法访问,编号1255');
         }
     }
 

+ 1 - 1
biz-hd/px/classes/PxClassClass.php

@@ -83,7 +83,7 @@ class PxClassClass extends BaseClass
         if ($info['sjId'] == $sjId) {
             return true;
         }
-        util::fail('无法访问');
+        util::fail('无法访问,编号766');
     }
 
     //添加培训班 ssh 2021.3.18

+ 1 - 1
biz-mall/px/classes/PxClassClass.php

@@ -57,7 +57,7 @@ class PxClassClass extends BaseClass
         if ($info['sjId'] == $sjId) {
             return true;
         }
-        util::fail('无法访问');
+        util::fail('无法访问,编号563');
     }
 
     //添加培训班 ssh 2021.3.18