hanfucheng 1 سال پیش
والد
کامیت
7c8e5b371c
2فایلهای تغییر یافته به همراه12 افزوده شده و 12 حذف شده
  1. 1 1
      public/ext2/ext-config/ext-config.xml
  2. 11 11
      src/main/resources/application.yml

+ 1 - 1
public/ext2/ext-config/ext-config.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <ext-config>
 	<constant name="devMode" value="true" />
-	<constant name="dbName" value="sqlite" />
+	<constant name="dbName" value="mysql" />
 	<!-- 关闭在多维分析中显示节日 -->
 	<constant name="closeFestival" value="true" />
 

+ 11 - 11
src/main/resources/application.yml

@@ -1,16 +1,16 @@
 #数据库连接 mysql
-#spring:
-#  datasource:
-#    url: jdbc:mysql://localhost:3306/rs_report?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=GMT%2B8
-#    username: root
-#    password: 12345678
-#    driver-class-name: com.mysql.cj.jdbc.Driver
 spring:
   datasource:
-    url: jdbc:sqlite::resource:rsreport.sqlite3
-    username:
-    password:
-    driver-class-name: org.sqlite.JDBC
+    url: jdbc:mysql://192.168.10.15:63306/rs_report?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=GMT%2B8
+    username: sooka
+    password: sooka1a2b3c4d%...
+    driver-class-name: com.mysql.cj.jdbc.Driver
+#spring:
+#  datasource:
+#    url: jdbc:sqlite::resource:rsreport.sqlite3
+#    username:
+#    password:
+#    driver-class-name: org.sqlite.JDBC
 mybatis:
   #mapper配置文件
   mapper-locations: classpath:mybatis/*.xml
@@ -22,4 +22,4 @@ pagehelper:
   reasonable: false  #开启优化,如果开启优化,在分页页码结果没有数据的时候,会显示有数据的页码数据
   supportMethodsArguments: true #是否支持接口参数来传递分页参数,默认false
   pageSizeZero: true #pageSize=0 返回所有
-  params: count=countSql
+  params: count=countSql