vali 6 年之前
父节点
当前提交
7413ea9e4b
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      vendor/GatewayWorker_windows/Applications/whisper/Events.php

+ 12 - 0
vendor/GatewayWorker_windows/Applications/whisper/Events.php

@@ -1322,6 +1322,18 @@ class Events
 
         // 发送给客服用户信息.
         $userInfo['intime'] = date("H:i", $userInfo['intime']);
+        $ut_tmp = self::getUserInfoCache($uid);
+        $userInfo = array_merge($userInfo,
+            [
+                'account_name' => $ut_tmp['account_name'],
+                'nick_name' => $ut_tmp['nick_name'],
+                'account_email' => $ut_tmp['account_email'],
+                'account_phone' => $ut_tmp['account_phone'],
+                'address' => $ut_tmp['address'],
+                'remark' => $ut_tmp['remark'],
+                'label' => self::$global->accountslabel[$ut_tmp['label_id']]['name']
+            ]
+        );
         $noticeKf = [
             'message_type' => 'connect',
             'data' => [