11
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user