Browse Source

暂时放开

shish 4 năm trước cách đây
mục cha
commit
8549084b12

+ 1 - 2
app-hd/controllers/ClearController.php

@@ -13,8 +13,7 @@ use Yii;
 class ClearController extends BaseController
 {
 
-
-    public $guestAccess = ['get-full-info'];
+    public $guestAccess = ['get-full-info','detail'];
 
     //取消结账单 ssh 20220509
     public function actionCancel()

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

@@ -201,7 +201,7 @@ class PurchaseController extends BaseController
         $id = $get['id'] ?? 0;
         $info = PurchaseService::getInfo($id, true, true);
         if (isset($info['mainId']) == false || $info['mainId'] != $this->mainId) {
-            util::fail('没有权限访问');
+            //util::fail('没有权限访问');
         }
 
         $customId = $info['customId'] ?? 0;