shish 3 лет назад
Родитель
Сommit
39ad623132
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app-hd/controllers/CgRefundController.php

+ 2 - 2
app-hd/controllers/CgRefundController.php

@@ -12,7 +12,7 @@ use common\components\util;
 class CgRefundController extends BaseController
 {
 
-    public $guestAccess = ['list','get-refund-data'];
+    public $guestAccess = ['list', 'get-refund-data'];
 
     //列表
     public function actionList()
@@ -32,7 +32,7 @@ class CgRefundController extends BaseController
     {
         $id = Yii::$app->request->get('id', 0);
         $refund = CgRefundClass::getById($id, true);
-        CgRefundClass::valid($refund, $this->mainId);
+        //CgRefundClass::valid($refund, $this->mainId);
         $cgId = $refund->cgId ?? 0;
         $cg = PurchaseClass::getById($cgId, true);
         if (empty($refund)) {