broadcast.service.ts
320 Bytes
import { Injectable, HttpException, HttpStatus } from '@nestjs/common'
@Injectable()
export class BroadcastService {
// constructor(private readonly wsGateway: WsGateway) { }
// // 广播消息
// message(param:WsTypes.SendBody<WsTypes.MessageType>) {
// return this.wsGateway.send(param)
// }
}