张延森 3 anos atrás
pai
commit
0637a331e5

+ 3
- 2
src/main/java/com/yunzhi/roundabout/controller/TaPersonController.java Ver arquivo

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