up. 优化代码内容

This commit is contained in:
扶桑花间 2025-08-30 00:05:07 +08:00
parent 02da5fff0c
commit f385f315b8

View File

@ -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")
// ),
// ));
}
/**