张延森 vor 3 Jahren
Ursprung
Commit
0637a331e5

+ 3
- 2
src/main/java/com/yunzhi/roundabout/controller/TaPersonController.java Datei anzeigen

179
         long endTime = System.currentTimeMillis();
179
         long endTime = System.currentTimeMillis();
180
         long totalMillsec = endTime - startTime;
180
         long totalMillsec = endTime - startTime;
181
 
181
 
182
-        int oneSec = 1000;
182
+        // 最低时间
183
+        int oneSec = 1350;
183
         int oneHour = 60 * 60 * 1000;
184
         int oneHour = 60 * 60 * 1000;
184
 
185
 
185
         // 防止异常
186
         // 防止异常
186
         if (totalMillsec < oneSec || totalMillsec > oneHour) {
187
         if (totalMillsec < oneSec || totalMillsec > oneHour) {
187
-            throw new Exception("请刷新重试");
188
+            throw new Exception("成绩无效, 请刷新重试");
188
         }
189
         }
189
 
190
 
190
         taPerson.setLastEnd(String.valueOf(endTime));
191
         taPerson.setLastEnd(String.valueOf(endTime));