ny
23 小时以前 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
spring:
  application:
    # 应用名称
    name: jnpf-visualdata
#  servlet:
#    # 文件上传大小限制
#    multipart:
#      max-file-size: 10MB
#      max-request-size: 10MB
  mvc:
    servlet:
      #  启动之后立即加载servlet
      load-on-startup: 0
  main:
  #解决bean重复定义的。设置为true时,后定义的bean会覆盖之前定义的相同名称的bean
    allow-bean-definition-overriding: true
    allow-circular-references: true
  profiles:
    active: dev
  config:
    import:
      - nacos:datasource.yaml
      - nacos:resources.yaml
      - nacos:system-config.yaml
      - nacos:frame-config.yaml
      - nacos:logger.yaml
      - nacos:mq.yaml
  cloud:
    nacos:
      username: nacos
      password: nacos
      discovery:
        # 服务注册地址
        server-addr: 127.0.0.1:30099
        namespace: 69c4eecb-05bd-4041-81fe-1473f95f578c
      config:
        server-addr: ${spring.cloud.nacos.discovery.server-addr}
        file-extension: yaml
        group: DEFAULT_GROUP
        namespace: ${spring.cloud.nacos.discovery.namespace}
        refresh-enabled: true