Browse Source

tencent_im_user_id update

xiaogang 3 years ago
parent
commit
ca0f75c794
1 changed files with 5 additions and 0 deletions
  1. 5 0
      app/Services/HomeService.php

+ 5 - 0
app/Services/HomeService.php

xqd
@@ -100,7 +100,12 @@ class HomeService
                     $query['data'][$k]['avatar'] = $photo[0]['url'];
                 }
             }
+            if(!$v['tencent_im_user_id']){
+                $query['data'][$k]['tencent_im_user_id'] = '';
+            }
         }
+
+
         return $query;
     }