diff --git a/config/nacos/ruoyi-resource.yml b/config/nacos/ruoyi-resource.yml index 4c8d0322..004b43c6 100644 --- a/config/nacos/ruoyi-resource.yml +++ b/config/nacos/ruoyi-resource.yml @@ -26,6 +26,13 @@ spring: # username: ${datasource.system-postgres.username} # password: ${datasource.system-postgres.password} +websocket: + enabled: true + # 路径 + path: /websocket + # 设置访问源地址 + allowedOrigins: '*' + mail: enabled: false host: smtp.163.com diff --git a/ruoyi-modules/ruoyi-resource/pom.xml b/ruoyi-modules/ruoyi-resource/pom.xml index ea934a9e..14caecfb 100644 --- a/ruoyi-modules/ruoyi-resource/pom.xml +++ b/ruoyi-modules/ruoyi-resource/pom.xml @@ -105,6 +105,11 @@ ruoyi-common-translation + + org.dromara + ruoyi-common-websocket + + org.dromara