linwu 5 月之前
父節點
當前提交
551533b671
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      app/mobile/controller/Human.php

+ 3 - 2
app/mobile/controller/Human.php

@@ -17,6 +17,7 @@ class Human extends MobileBaseController
     protected function initialize()
     {
 //        session('mobile.human.open_id','o8F4O6OW6pUzLWulOi-OzuGaBzoE');
+//        session('mobile.human.open_id','null');
         $open_id = session('mobile.human.open_id');
         if (empty($open_id)) {
             session('mobile.human.back_url', request()->url(true));
@@ -393,12 +394,12 @@ class Human extends MobileBaseController
 
     private function _listValidate()
     {
-        /*$action = $this->request->action();
+        $action = $this->request->action();
         if ($action != 'center') {
             if (time() < 1730736000) {
                 jump('11月5日开启,敬请期待','mobile/human/center');
             }
-        }*/
+        }
         $open_id = session('mobile.human.open_id');
 
         $institution = HumanInstitutionApplyModel::where('open_id', $open_id)->find();