zhoulj 4 سال پیش
والد
کامیت
0808fb74c6
2فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 3 1
      src/Controllers/BaseControllerConfig.php
  2. 1 1
      src/Services/LandingPage/LandingPageLinkService.php

+ 3 - 1
src/Controllers/BaseControllerConfig.php

@@ -64,7 +64,9 @@ trait BaseControllerConfig
     //获取快应用子账号
     protected function qapp_account(): string
     {
-        return session('qapp_account');
+        $qapp_account = session('qapp_account');
+        \Log::info('session_qapp_account:'.$qapp_account);
+        return $qapp_account;
     }
 
     protected function channel_name(): string

+ 1 - 1
src/Services/LandingPage/LandingPageLinkService.php

@@ -221,7 +221,7 @@ class LandingPageLinkService
         }
         
         $qapp_account = isset($params['qapp_account']) && !empty($params['qapp_account']) ? $params['qapp_account']:'';
-        \Log::info('findUserReportInfos:channel_id:'.$channel_id.' qapp_account:'.$qapp_account);
+        \Log::info('findUserReportInfos:channel_id:'.$channel_id.' qapp_account:'.$qapp_account.' params:'.json_encode($params));
         
         // 注意:快应用的子账号必须要限制下权限
         if (!empty($qapp_account)) {