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
|
||||
spring:
|
||||
datasource:
|
||||
driverClassName: oracle.jdbc.driver.OracleDriver
|
||||
url: jdbc:oracle:thin:@10.41.213.19:1521/orcl
|
||||
username: system
|
||||
password: Aa12345678
|
||||
rabbitmq:
|
||||
host: 192.168.3.125
|
||||
port: 5672
|
||||
# virtual-host: /
|
||||
username: kuma
|
||||
password: 123
|
||||
##正式环境配置
|
||||
#server:
|
||||
# port: 8080
|
||||
#spring:
|
||||
# datasource:
|
||||
# driverClassName: oracle.jdbc.driver.OracleDriver
|
||||
# url: jdbc:oracle:thin:@10.41.213.19:1521/orcl
|
||||
# username: system
|
||||
# password: Aa12345678
|
||||
# rabbitmq:
|
||||
# host: 192.168.3.125
|
||||
# port: 5672
|
||||
## virtual-host: /
|
||||
# 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
|
||||
# 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
|
||||
spring:
|
||||
profiles:
|
||||
active: test #需要使用的配置文件的后缀
|
||||
server:
|
||||
port: 8080
|
Loading…
Reference in new issue