Browse Source

同步客户群日志记录

shensong00 2 months ago
parent
commit
618be23919
1 changed files with 5 additions and 2 deletions
  1. 5 2
      app/Support/qyApi/QyCommon.php

+ 5 - 2
app/Support/qyApi/QyCommon.php

@@ -722,7 +722,9 @@ class QyCommon{
722 722
         }
723 723
 
724 724
         $responseData = json_decode($response, true);
725
-        Log::logInfo('getGroupChatList', (array)$responseData, 'qyWechat');
725
+        Log::logInfo('getGroupChatList', ['params' => [
726
+            'corpid' => $corpid, 'user_list' => $ownerFilter, 'cursor' => $cursor
727
+        ], 'response' => $responseData], 'qyWechat');
726 728
 
727 729
         return $responseData;
728 730
     }
@@ -754,7 +756,8 @@ class QyCommon{
754 756
         }
755 757
 
756 758
         $responseData = json_decode($response, true);
757
-        Log::logInfo('getGroupChatDetail', (array)$responseData, 'qyWechat');
759
+        Log::logInfo('getGroupChatDetail', ['params' => ['corpid' => $corpid, 'chat_id' => $chatId
760
+        ], 'response' => $responseData], 'qyWechat');
758 761
 
759 762
         return $responseData;
760 763
     }