Commit de2c9ba7 authored by lijd's avatar lijd

修改加载路径

parent e6192c4e
...@@ -18,7 +18,10 @@ import java.util.TimeZone; ...@@ -18,7 +18,10 @@ import java.util.TimeZone;
* @createTime: 2020/04/07 15:17 * @createTime: 2020/04/07 15:17
* @version:1.0 * @version:1.0
*/ */
@SpringBootApplication @SpringBootApplication(scanBasePackages = {"com.esv.freight.app.feign",
"com.esv.freight.app.common",
"com.esv.freight.app.config",
"com.esv.freight.app.module"})
@EnableDiscoveryClient @EnableDiscoveryClient
public class AppApplication { public class AppApplication {
......
...@@ -3,14 +3,14 @@ server: ...@@ -3,14 +3,14 @@ server:
servlet: servlet:
context-path: /app context-path: /app
nacos: nacos:
url: 119.3.171.225:8848 url: 192.168.31.248:8848
namespace: 38512237-cfe2-44e5-a6ba-df156723d7b6 namespace: aad5aa26-5351-4e7a-a65e-ecb332f3c52c
group: DEFAULT_GROUP group: DEFAULT_GROUP
spring: spring:
application: application:
name: freight-app-service name: freight-app-service
profiles: profiles:
active: demo active: dev
cloud: cloud:
nacos: nacos:
discovery: discovery:
...@@ -20,5 +20,5 @@ spring: ...@@ -20,5 +20,5 @@ spring:
config: config:
server-addr: ${nacos.url} server-addr: ${nacos.url}
namespace: ${nacos.namespace} namespace: ${nacos.namespace}
file-extension: yml
group: ${nacos.group} group: ${nacos.group}
file-extension: yml
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment