gaodd 2 gadi atpakaļ
vecāks
revīzija
38d0b179ae
2 mainītis faili ar 14 papildinājumiem un 22 dzēšanām
  1. 4 11
      pom.xml
  2. 10 11
      src/main/resources/bootstrap.yml

+ 4 - 11
pom.xml

@@ -4,10 +4,10 @@
4 4
     <modelVersion>4.0.0</modelVersion>
5 5
     <!--model-->
6 6
     <groupId>com.chinaitop</groupId>
7
-    <artifactId>depot-storage</artifactId>
7
+    <artifactId>depot-storage-qinghai</artifactId>
8 8
     <!--<version>1.0.1</version>--><!--上传正式版(GBase:1开头)-->
9 9
     <version>0.0.1-SNAPSHOT</version>
10
-    <name>depot-storage</name>
10
+    <name>depot-storage-qinghai</name>
11 11
     <packaging>jar</packaging>
12 12
     <!--model description-->
13 13
     <description>
@@ -51,16 +51,9 @@
51 51
             <groupId>org.springframework.cloud</groupId>
52 52
             <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
53 53
         </dependency>
54
-        <!-- gbase依赖包 -->
55 54
         <dependency>
56
-            <groupId>com.gbase8s</groupId>
57
-            <artifactId>ifxjdbc</artifactId>
58
-            <version>1.0</version>
59
-        </dependency>
60
-        <dependency>
61
-            <groupId>com.gbase</groupId>
62
-            <artifactId>druid</artifactId>
63
-            <version>1.0.28</version>
55
+            <groupId>mysql</groupId>
56
+            <artifactId>mysql-connector-java</artifactId>
64 57
         </dependency>
65 58
         <!-- mybatis -->
66 59
         <dependency>

+ 10 - 11
src/main/resources/bootstrap.yml

@@ -10,7 +10,7 @@ mybatis:
10 10
 eureka:
11 11
   client:
12 12
     service-url:
13
-      defaultZone: http://172.16.0.16:9001/eureka/
13
+      defaultZone: http://localhost:9001/eureka/
14 14
     #register-with-eureka: false
15 15
     #fetchRegistry: false
16 16
   instance:
@@ -21,21 +21,20 @@ eureka:
21 21
 
22 22
 spring:
23 23
   application:
24
-    name: depot-storage-g
24
+    name: depot-storage
25 25
   # 数据库配置
26 26
   datasource:
27
-    type: com.alibaba.druid.pool.DruidDataSource
28
-    driver-class-name: com.gbasedbt.jdbc.IfxDriver
29
-    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;
30
-    username: gbasedbt
31
-    password: cDbK2S0go8
27
+    driver-class-name: com.mysql.jdbc.Driver
28
+    url: jdbc:mysql://101.36.160.140:10311/depot_qh?useUnicode=true&characterEncoding=utf-8
29
+    username: root
30
+    password: admin@1234
32 31
   session:
33 32
     store-type: redis
34 33
   redis:
35
-    database: 3
36
-    host: 172.16.0.2
37
-    port: 6379
38
-    password: 123456
34
+    database: 0
35
+    host: 101.36.160.140
36
+    port: 10316
37
+    password: admin@1234
39 38
     timeout: 3000
40 39
     jedis:
41 40
       pool: