From 705e1034e3bd638b532210f3a83bd169036724d1 Mon Sep 17 00:00:00 2001 From: nengjie Date: Wed, 5 Jun 2019 17:06:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AEspring.application.name?= =?UTF-8?q?=E4=BF=9D=E8=AF=81=E7=A8=8B=E5=BA=8F=E5=90=AF=E5=8A=A8=E4=B8=8D?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/config/application.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/order/order-service-impl/src/main/resources/config/application.yaml b/order/order-service-impl/src/main/resources/config/application.yaml index d61d36c88..9ba14b66b 100644 --- a/order/order-service-impl/src/main/resources/config/application.yaml +++ b/order/order-service-impl/src/main/resources/config/application.yaml @@ -5,6 +5,8 @@ spring: driver-class-name: com.mysql.jdbc.Driver username: root password: ${MALL_MYSQL_PASSWORD} + application: + name: order-impl # 设置值保证程序启动时不报错,具体的值需要修改[nengjie] # mybatis #mybatis: @@ -32,7 +34,7 @@ dubbo: port: -1 name: dubbo scan: - base-packages: cn.iocoder.mall.order.biz.service + base-packages: cn.iocoder.mall.order.service provider: filter: -exception CartService: