微信小程序 springwebsocket 報錯: Error during WebSocket handshak 403

<websocket:handlers allowed-origins="*">
    <websocket:mapping path="/websocket" handler="myHandler"/>
    <websocket:handshake-interceptors>
        <ref bean="myInterceptor"/>
    </websocket:handshake-interceptors>
</websocket:handlers>

加上這一句就夠了 web

allowed-origins="*"websocket

相關文章
相關標籤/搜索