linwu 5 mēneši atpakaļ
vecāks
revīzija
3914b59b6b
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      app/mobile/controller/Human.php

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

@@ -15,12 +15,12 @@ class Human extends MobileBaseController
 {
     protected function initialize()
     {
-        /*$open_id = session('mobile.human.open_id');
+        $open_id = session('mobile.human.open_id');
         if (empty($open_id)) {
             session('mobile.human.back_url', request()->url(true));
             $response = redirect('https://www.jucai.gov.cn/api/auth/wechat_auth?url=' . urlencode(url('/mobile/login/humanLogin')));
             throw new \think\exception\HttpResponseException($response);
-        }*/
+        }
     }
 
     /**