Kaynağa Gözat

采购页不需要登陆

shish 5 yıl önce
ebeveyn
işleme
7c89a89a79
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      app-hd/controllers/ProductController.php

+ 2 - 0
app-hd/controllers/ProductController.php

@@ -18,6 +18,8 @@ use Yii;
 class ProductController extends BaseController
 class ProductController extends BaseController
 {
 {
 
 
+    public $guestAccess = ['ghs-item'];
+
     public function actionIndex()
     public function actionIndex()
     {
     {
         $py = Yii::$app->request->get('py', '');
         $py = Yii::$app->request->get('py', '');