parent
0632911e4a
commit
0163a2799b
@ -0,0 +1,18 @@
|
|||||||
|
package cn.com.connor.bh.bhdemo.demos.web.Constants;
|
||||||
|
|
||||||
|
public final class Constants {
|
||||||
|
/**
|
||||||
|
* 成功
|
||||||
|
*/
|
||||||
|
public static final int SUCCESS = 1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 失败
|
||||||
|
*/
|
||||||
|
public static final int FAIL = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 异常
|
||||||
|
*/
|
||||||
|
public static final int EXCEPTION = -1;
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
#本地测试环境配置
|
||||||
|
spring:
|
||||||
|
profiles: test
|
||||||
|
datasource:
|
||||||
|
driverClassName: oracle.jdbc.driver.OracleDriver
|
||||||
|
url: jdbc:oracle:thin:@192.168.3.125:1521/TC12
|
||||||
|
username: infodba
|
||||||
|
password: infodba
|
||||||
|
rabbitmq:
|
||||||
|
host: 192.168.3.125
|
||||||
|
port: 5672
|
||||||
|
username: kuma
|
||||||
|
password: 123
|
||||||
|
|
||||||
|
template:
|
||||||
|
default-receive-queue: StoCAPP
|
||||||
|
|
||||||
|
mybatis:
|
||||||
|
mapper-locations: classpath:mapper/*.xml
|
||||||
|
type-aliases-package: cn.com.connor.bh.bhdemo.demos.web.entity
|
||||||
|
configuration:
|
||||||
|
map-underscore-to-camel-case: true
|
@ -1,26 +1,35 @@
|
|||||||
server:
|
##正式环境配置
|
||||||
port: 8080
|
#server:
|
||||||
spring:
|
# port: 8080
|
||||||
datasource:
|
#spring:
|
||||||
driverClassName: oracle.jdbc.driver.OracleDriver
|
# datasource:
|
||||||
url: jdbc:oracle:thin:@10.41.213.19:1521/orcl
|
# driverClassName: oracle.jdbc.driver.OracleDriver
|
||||||
username: system
|
# url: jdbc:oracle:thin:@10.41.213.19:1521/orcl
|
||||||
password: Aa12345678
|
# username: system
|
||||||
rabbitmq:
|
# password: Aa12345678
|
||||||
host: 192.168.3.125
|
# rabbitmq:
|
||||||
port: 5672
|
# host: 192.168.3.125
|
||||||
# virtual-host: /
|
# port: 5672
|
||||||
username: kuma
|
## virtual-host: /
|
||||||
password: 123
|
# username: kuma
|
||||||
|
# password: 123
|
||||||
|
#
|
||||||
|
# template:
|
||||||
|
# default-receive-queue: StoCAPP
|
||||||
|
#
|
||||||
|
## url: jdbc:oracle:thin:@192.168.3.125:1521/TC12
|
||||||
|
## username: infodba
|
||||||
|
## password: infodba
|
||||||
|
#mybatis:
|
||||||
|
# mapper-locations: classpath:mapper/*.xml
|
||||||
|
# type-aliases-package: cn.com.connor.bh.bhdemo.demos.web.entity
|
||||||
|
# configuration:
|
||||||
|
# map-underscore-to-camel-case: true
|
||||||
|
|
||||||
|
|
||||||
template:
|
|
||||||
default-receive-queue: StoCAPP
|
|
||||||
|
|
||||||
# url: jdbc:oracle:thin:@192.168.3.125:1521/TC12
|
spring:
|
||||||
# username: infodba
|
profiles:
|
||||||
# password: infodba
|
active: test #需要使用的配置文件的后缀
|
||||||
mybatis:
|
server:
|
||||||
mapper-locations: classpath:mapper/*.xml
|
port: 8080
|
||||||
type-aliases-package: cn.com.connor.bh.bhdemo.demos.web.entity
|
|
||||||
configuration:
|
|
||||||
map-underscore-to-camel-case: true
|
|
Loading…
Reference in new issue