up. 优化代码内容
This commit is contained in:
parent
02da5fff0c
commit
f385f315b8
@ -77,11 +77,11 @@ class GatewaySubscribe
|
||||
));
|
||||
|
||||
// // 方式1. 通过注入Array
|
||||
GatewayClientService::sendToClient($put->wsClientId, new OutMessage(
|
||||
ScriptEnum::create(
|
||||
new Swal(title: '登录成功,欢迎您', text: "当前登录Ip: $ip")
|
||||
),
|
||||
));
|
||||
// GatewayClientService::sendToClient($put->wsClientId, new OutMessage(
|
||||
// ScriptEnum::create(
|
||||
// new Swal(title: '登录成功,欢迎您', text: "当前登录Ip: $ip")
|
||||
// ),
|
||||
// ));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user