Closed huntersu closed 1 year ago
public SseEmitter chat(@RequestParam("message") String msg, @RequestHeader Map<String, String> headers) throws IOException { SseEmitter sseEmitter = new SseEmitter(0L);
改成上面代码就好了
是的
public SseEmitter chat(@RequestParam("message") String msg, @RequestHeader Map<String, String> headers) throws IOException { SseEmitter sseEmitter = new SseEmitter(0L);
改成上面代码就好了