shish 4 年之前
父节点
当前提交
5bc89af158
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app-pt/controllers/MainController.php

+ 2 - 2
app-pt/controllers/MainController.php

@@ -11,7 +11,7 @@ use common\services\xhWxOpenAdminService;
 class MainController extends PlatformController
 {
 
-    public $guestAccess = ['login', 'logout', 'check-login', 'index', 'app', 'xhb-user-privacy', 'xhb-register'];
+    public $guestAccess = ['login', 'logout', 'check-login', 'index', 'app', 'xhb-privacy', 'xhb-register'];
 
     public function actionApp()
     {
@@ -96,7 +96,7 @@ class MainController extends PlatformController
     }
 
     //隐私协议
-    public function actionXhbUserPrivacy()
+    public function actionXhbPrivacy()
     {
         AgreementClass::xhbPrivacy();
         exit();