application.yml 986 Bytes
server:
  port: 7777
spring:
  application:
    name: smartCampusSearch
  datasource:
    username: szjxtuser
    password: RQminVCJota3H1u8bBYH
    url: jdbc:sqlserver://116.62.155.137:33419;database=SmartCampus
    #    username: SZJXTUSER
    #    password: xst200919
    #    url: jdbc:sqlserver://60.190.202.57:14333;database=SmartCampusSZ
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  mvc:
    static-path-pattern: /images/**
  resources:
    static-locations: file:C:\upload
##mybatis
mybatis:
  mapper-locations: classpath:mapper/*.xml
  type-aliases-package: com.sincere.smartSearch.mapper
  check-config-location: true

eureka:
  instance:
#    hostname: 121.40.109.21
    hostname: 127.0.0.1
    lease-expiration-duration-in-seconds: 60
    lease-renewal-interval-in-seconds: 10
  client:
    service-url:
            defaultZone: http://127.0.0.1:8081/eureka/
#      defaultZone: http://121.40.109.21:8761/eureka/,http://121.40.109.21:8762/eureka/