gaodd %!s(int64=2) %!d(string=hai) anos
pai
achega
d26ca26711
Modificáronse 2 ficheiros con 12 adicións e 24 borrados
  1. 2 13
      pom.xml
  2. 10 11
      src/main/resources/application.properties

+ 2 - 13
pom.xml

@@ -4,11 +4,11 @@
4 4
     <modelVersion>4.0.0</modelVersion>
5 5
   
6 6
   	<groupId>com.chinaitop</groupId>
7
-	<artifactId>depot-system</artifactId>
7
+	<artifactId>depot-system-qinghai</artifactId>
8 8
 	<version>0.0.1-SNAPSHOT</version>
9 9
 	<packaging>jar</packaging>
10 10
 
11
-	<name>depot-system</name>
11
+	<name>depot-system-qinghai</name>
12 12
 	<description>Demo project for Spring Boot</description>
13 13
 	<parent>
14 14
 		<groupId>org.springframework.boot</groupId>
@@ -139,17 +139,6 @@
139 139
 		    <version>1.3.2</version>
140 140
 		</dependency>
141 141
 		
142
-		<!-- gbase依赖包 -->  
143
-		<dependency>
144
-	      	<groupId>com.gbase8s</groupId>
145
-	      	<artifactId>ifxjdbc</artifactId>
146
-	      	<version>1.0</version>
147
-	    </dependency>
148
-    	<dependency>
149
-      		<groupId>com.gbase</groupId>
150
-      		<artifactId>druid</artifactId>
151
-      		<version>1.0.28</version>
152
-    	</dependency>
153 142
 		
154 143
         <dependency>
155 144
             <groupId>org.springframework.boot</groupId>

+ 10 - 11
src/main/resources/application.properties

@@ -2,33 +2,32 @@
2 2
 server.port=9023
3 3
 
4 4
 #gbase8s的数据库配置
5
-spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
6
-spring.datasource.url=jdbc:gbasedbt-sqli://101.36.160.140:19089/depot:INFORMIXSERVER=ol_gbasedbt1210;NEWCODESET=GB18030,GB18030-2000,5488;DB_LOCALE=zh_cn.GB18030-2000;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
7
-spring.datasource.username=gbasedbt
8
-spring.datasource.password=cDbK2S0go8
9
-spring.datasource.driverClassName=com.gbasedbt.jdbc.IfxDriver
5
+spring.datasource.url=jdbc:mysql://101.36.160.140:10311/depot_qh?useUnicode=true&characterEncoding=utf-8
6
+spring.datasource.username=root
7
+spring.datasource.password=admin@1234
8
+spring.datasource.driverClassName=com.mysql.jdbc.Driver
10 9
 mybatis.config-location=classpath:mybatis/mybatis-config.xml
11 10
 
12 11
 
13
-eureka.client.serviceUrl.defaultZone=http://172.16.0.16:9001/eureka/
12
+eureka.client.serviceUrl.defaultZone=http://localhost:9001/eureka/
14 13
 
15 14
 # 每隔10s发送一次心跳(默认30s)
16 15
 eureka.instance.lease-renewal-interval-in-seconds=10
17 16
 # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
18 17
 eureka.instance.lease-expiration-duration-in-seconds=30
19 18
 
20
-spring.application.name=depot-system-g
19
+spring.application.name=depot-system
21 20
 
22 21
 eureka.instance.status-page-url=http://localhost:${server.port}/swagger-ui.html
23 22
 
24 23
 # Redis数据库索引(默认为0)
25
-spring.redis.database=3
24
+spring.redis.database=0
26 25
 # Redis服务器地址
27
-spring.redis.host=172.16.0.2
26
+spring.redis.host=101.36.160.140
28 27
 # Redis服务器连接端口
29
-spring.redis.port=6379
28
+spring.redis.port=10316
30 29
 # Redis服务器连接密码(默认为空)
31
-spring.redis.password=123456
30
+spring.redis.password=admin@1234
32 31
 # 连接池最大连接数(使用负值表示没有限制)
33 32
 spring.redis.jedis.pool.max-active=8
34 33
 # 连接池最大阻塞等待时间(使用负值表示没有限制)