update 新增mp3,aif,aiff,wav,wma 文件上传功能
This commit is contained in:
@@ -70,8 +70,9 @@ public class WebSocketBrokerConfig implements WebSocketMessageBrokerConfigurer {
|
||||
.setHeartbeatValue(new long[] {20000, 20000})
|
||||
.setTaskScheduler(new DefaultManagedTaskScheduler());
|
||||
|
||||
//发送消息前缀
|
||||
config.setApplicationDestinationPrefixes(Destination.SEND_PREFIX);
|
||||
//服务端通知客户端的前缀,可以不设置,默认为user
|
||||
//客户端订阅前缀,可以不设置,默认为user
|
||||
config.setUserDestinationPrefix(Destination.USER_PREFIX);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user