Explorar el Código

tencent_im_user_id update

xiaogang hace 3 años
padre
commit
ca0f75c794
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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;
     }