فهرست منبع

数据源复制

chenw 7 سال پیش
والد
کامیت
73307fbc4b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      bi-server/src/main/java/com/usoftchina/bi/server/service/dashboard/DashboardsService.java

+ 1 - 1
bi-server/src/main/java/com/usoftchina/bi/server/service/dashboard/DashboardsService.java

@@ -202,7 +202,7 @@ public class DashboardsService {
         String message = EncryUtil.decryptBiCode(code);
         String[] params = message.split("&");
         if (params.length == 2) {
-            if (System.currentTimeMillis() - Long.valueOf(params[1]) > 15 * 60 * 000) {
+            if (System.currentTimeMillis() - Long.valueOf(params[1]) > 15 * 60 * 1000) {
                 LOGGER.error("now={}, params[1]={}, diff={}", System.currentTimeMillis(), params[1], System.currentTimeMillis()-Long.valueOf(params[1]));
                 throw new MyException("请求超时");
             }