24282 2 gadi atpakaļ
vecāks
revīzija
37123412b6

+ 0 - 1
src/main/java/com/fjhx/service/impl/AccountServiceImpl.java

@@ -268,7 +268,6 @@ public class AccountServiceImpl implements IAccountService, ServletContextAware
 
     }
 
-
     /**
      * 用户绑定邮箱
      *

+ 1 - 1
src/main/java/com/fjhx/vo/BindingVo.java

@@ -38,7 +38,7 @@ public class BindingVo {
     private int pages;
 
     public int getPages() {
-        return pages <= 10 ? 300 : pages;
+        return pages <= 0 ? 10 : pages;
     }
 
 }

+ 9 - 9
src/main/resources/application-pro.yml

@@ -1,24 +1,24 @@
 server:
-  port: 8080
+  port: 9998
 
 # 数据源配置
 spring:
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://36.134.91.96:17330/service_email?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-    username: fjhx2012mysql
-    password: 3PN-Mzn#vnP&q6d
+    url: jdbc:mysql://139.159.200.162:13601/service_email?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
+    username: root
+    password: 033f55c495797e47
 
   redis:
     # 地址
-    host: localhost
+    host: 139.159.200.162
     # 端口,默认为6379
-    port: 6379
+    port: 15501
     # 密码
-    password:
+    password: fjhx2012
     # 数据库索引
-    database: 0
+    database: 1
 
 config:
   urlPrefix: http://127.0.0.1:3000/
-  attachmentPath: /mnt/file
+  attachmentPath: /mnt/file/

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

@@ -3,7 +3,7 @@ server:
   max-http-header-size: 10KB
 spring:
   profiles:
-    active: test
+    active: prod
 
   jackson:
     date-format: yyyy-MM-dd HH:mm:ss