Commit de2c9ba7 authored by lijd's avatar lijd

修改加载路径

parent e6192c4e
......@@ -18,7 +18,10 @@ import java.util.TimeZone;
* @createTime: 2020/04/07 15:17
* @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
public class AppApplication {
......
......@@ -3,14 +3,14 @@ server:
servlet:
context-path: /app
nacos:
url: 119.3.171.225:8848
namespace: 38512237-cfe2-44e5-a6ba-df156723d7b6
url: 192.168.31.248:8848
namespace: aad5aa26-5351-4e7a-a65e-ecb332f3c52c
group: DEFAULT_GROUP
spring:
application:
name: freight-app-service
profiles:
active: demo
active: dev
cloud:
nacos:
discovery:
......@@ -20,5 +20,5 @@ spring:
config:
server-addr: ${nacos.url}
namespace: ${nacos.namespace}
file-extension: yml
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