springboot
一、application.yml
server:
port: 8086
spring:
profiles:
active: prod
#mybatis
mybatis:
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*Mapper.xml
type-aliases-package: com.sekorm.sps.autoproject.entity
logging:
config: classpath:logback-spring.xml
#myconfig
send_approve_pref: http://zookpr.sekorm.com:7003/koa
send_approve_end: /prize/sendApproveByDocKind
send_time: 0 15 18 24 5 ?
二、application-dev.yml
spring:
datasource:
driver-class-name: oracle.jdbc.driver.OracleDriver
url: jdbc:oracle:thin:@192.168.xx.xx:1529:PROD
username: root
password: 123456
二、application-prod.yml
spring:
datasource:
driver-class-name: oracle.jdbc.driver.OracleDriver
url: jdbc:oracle:thin:@192.168.xx.xx:1521:PROD
username: root
password: 123456