From ee3852617124fd8f2b738ee696b271ac5dc9f1da Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Fri, 2 Apr 2021 22:49:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=B7=BB=E5=8A=A0loadbalancer=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E8=A7=A3=E5=86=B3=E8=B5=84=E6=BA=90=E8=AE=BF=E9=97=AE?= =?UTF-8?q?=E6=97=A0=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/youlai/mall/oms/enums/OrderStatusEnum.java | 2 -- mall-oms/oms-boot/pom.xml | 5 +++++ mall-pms/pms-boot/pom.xml | 6 +++++- mall-sms/sms-boot/pom.xml | 5 +++++ youlai-admin/admin-boot/pom.xml | 7 +++++++ youlai-auth/pom.xml | 6 ++++++ youlai-common/common-mybatis/pom.xml | 5 ----- .../common-web/src/main/resources/logback-spring.xml | 2 +- youlai-gateway/pom.xml | 5 +++++ 9 files changed, 34 insertions(+), 9 deletions(-) diff --git a/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/enums/OrderStatusEnum.java b/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/enums/OrderStatusEnum.java index a12fb8a04..78c2069a1 100644 --- a/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/enums/OrderStatusEnum.java +++ b/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/enums/OrderStatusEnum.java @@ -1,9 +1,7 @@ package com.youlai.mall.oms.enums; -import com.youlai.common.enums.QueryModeEnum; import lombok.AllArgsConstructor; import lombok.Getter; -import lombok.Setter; /** * @author huawei diff --git a/mall-oms/oms-boot/pom.xml b/mall-oms/oms-boot/pom.xml index 9a165f370..1b23a1d23 100644 --- a/mall-oms/oms-boot/pom.xml +++ b/mall-oms/oms-boot/pom.xml @@ -31,6 +31,11 @@ spring-cloud-starter-alibaba-nacos-discovery + + org.springframework.cloud + spring-cloud-starter-loadbalancer + + com.alibaba.cloud diff --git a/mall-pms/pms-boot/pom.xml b/mall-pms/pms-boot/pom.xml index 2fcfdd2b3..4b5d85e33 100644 --- a/mall-pms/pms-boot/pom.xml +++ b/mall-pms/pms-boot/pom.xml @@ -32,7 +32,6 @@ test - org.springframework.cloud spring-cloud-starter-bootstrap @@ -43,6 +42,11 @@ spring-cloud-starter-alibaba-nacos-discovery + + org.springframework.cloud + spring-cloud-starter-loadbalancer + + com.alibaba.cloud spring-cloud-starter-alibaba-nacos-config diff --git a/mall-sms/sms-boot/pom.xml b/mall-sms/sms-boot/pom.xml index 05bc73d79..710f28de2 100644 --- a/mall-sms/sms-boot/pom.xml +++ b/mall-sms/sms-boot/pom.xml @@ -46,6 +46,11 @@ spring-cloud-starter-alibaba-nacos-discovery + + org.springframework.cloud + spring-cloud-starter-loadbalancer + + com.alibaba.cloud diff --git a/youlai-admin/admin-boot/pom.xml b/youlai-admin/admin-boot/pom.xml index edfe90ab7..0a0ccbe40 100644 --- a/youlai-admin/admin-boot/pom.xml +++ b/youlai-admin/admin-boot/pom.xml @@ -41,11 +41,18 @@ spring-cloud-starter-bootstrap + com.alibaba.cloud spring-cloud-starter-alibaba-nacos-discovery + + org.springframework.cloud + spring-cloud-starter-loadbalancer + + + com.alibaba.cloud spring-cloud-starter-alibaba-nacos-config diff --git a/youlai-auth/pom.xml b/youlai-auth/pom.xml index 9d39f619d..e9b26357a 100644 --- a/youlai-auth/pom.xml +++ b/youlai-auth/pom.xml @@ -41,6 +41,12 @@ spring-cloud-starter-alibaba-nacos-discovery + + org.springframework.cloud + spring-cloud-starter-loadbalancer + + + com.alibaba.cloud spring-cloud-starter-alibaba-nacos-config diff --git a/youlai-common/common-mybatis/pom.xml b/youlai-common/common-mybatis/pom.xml index 7dc5d300d..9795835f8 100644 --- a/youlai-common/common-mybatis/pom.xml +++ b/youlai-common/common-mybatis/pom.xml @@ -22,11 +22,6 @@ druid-spring-boot-starter - - com.alibaba - druid-spring-boot-starter - - com.baomidou mybatis-plus-boot-starter diff --git a/youlai-common/common-web/src/main/resources/logback-spring.xml b/youlai-common/common-web/src/main/resources/logback-spring.xml index f3a33e841..18efe3640 100644 --- a/youlai-common/common-web/src/main/resources/logback-spring.xml +++ b/youlai-common/common-web/src/main/resources/logback-spring.xml @@ -23,7 +23,7 @@ - g.youlai.store:5044 + g.youlai.tech:5044 diff --git a/youlai-gateway/pom.xml b/youlai-gateway/pom.xml index 26d1fd4b9..52dc0c1b0 100644 --- a/youlai-gateway/pom.xml +++ b/youlai-gateway/pom.xml @@ -34,6 +34,11 @@ spring-cloud-starter-alibaba-nacos-discovery + + org.springframework.cloud + spring-cloud-starter-loadbalancer + + com.alibaba.cloud