This commit is contained in:
2026-04-13 20:00:32 +08:00
parent 9393185f25
commit 24273db8dd
15 changed files with 992 additions and 237 deletions
+2 -2
View File
@@ -122,8 +122,8 @@ class Auth implements MiddlewareInterface
'config' => $config
]);
$IM = new \support\OpenImSdk\Client([
'host' => 'http://127.0.0.1:10002', // OpenIM API地址
'secret' => 'n1e5a6s6m7', // OpenIM密钥
'host' => config('openim.server'), // OpenIM API地址
'secret' => config('openim.secret'), // OpenIM密钥
]);
$request->IM = $IM;
$response = $next($request);