Browse Source

Merge remote-tracking branch 'origin/sendMessage' into uat

njs 1 year ago
parent
commit
32109bdfcd

+ 6 - 6
suishenbang-admin/src/main/resources/application-uat.yml

@@ -59,7 +59,7 @@ server:
     # Tomcat启动初始化的线程数,默认值25
     min-spare-threads: 30
     basedir: /tmp/tomcat
- 
+
 # 日志配置
 logging:
   level:
@@ -139,11 +139,11 @@ mybatis:
     configLocation: classpath:mybatis/mybatis-config.xml
 
 # PageHelper分页插件
-pagehelper: 
+pagehelper:
   helperDialect: mysql
   reasonable: true
   supportMethodsArguments: true
-  params: count=countSql 
+  params: count=countSql
 
 # Shiro
 shiro:
@@ -160,7 +160,7 @@ shiro:
     captchaType: math
   cookie:
     # 设置Cookie的域名 默认空,即当前访问的域名
-    domain: 
+    domain:
     # 设置cookie的有效访问路径
     path: /
     # 设置HttpOnly属性
@@ -171,7 +171,7 @@ shiro:
     # Session超时时间,-1代表永不过期(默认30分钟)
     expireTime: 30
     # 同步session到数据库的周期(默认1分钟)
-    dbSyncPeriod: 1
+    dbSyncPeriod: 3
     # 相隔多久检查一次session的有效性,默认就是10分钟
     validationInterval: 10
     # 同一个用户最大会话数,比如2的意思是同一个账号允许最多同时两个人登录(默认-1不限制)
@@ -180,7 +180,7 @@ shiro:
     kickoutAfter: false
 
 # 防止XSS攻击
-xss: 
+xss:
   # 过滤开关
   enabled: true
   # 排除链接(多个用逗号分隔)

+ 0 - 1
suishenbang-admin/src/main/resources/static/ruoyi/js/common.js

@@ -272,7 +272,6 @@ var storage = {
 
 /** 设置全局ajax处理 */
 $.ajaxSetup({
-	timeout:180000,
     complete: function(XMLHttpRequest, textStatus) {
         if (textStatus == 'timeout') {
         	$.modal.alertWarning("服务器超时,请稍后再试!");