This commit is contained in:
2026-03-06 02:27:52 +08:00
parent f598cc8157
commit 70c4966aad
80 changed files with 796 additions and 1191 deletions
+1
View File
@@ -44,6 +44,7 @@ class User{
* @var \support\OpenImSdk\Client $IM
*/
$IM = request()->IM;
log_alert($data['userID']);
$imToken = $IM->auth->getUserToken($data['userID'],Input('platform'));
$data['imToken'] = $imToken['token'];
return $data;