|
@@ -89,6 +89,8 @@ func Tick(c *gin.Context) {
|
|
c_log.GlobalLogger.Infof("队伍 %v 的考试在中途中断后重新开始。", teamName)
|
|
c_log.GlobalLogger.Infof("队伍 %v 的考试在中途中断后重新开始。", teamName)
|
|
} else if util.ContainsKey(cacheTeamName, teamName) { // 进行中
|
|
} else if util.ContainsKey(cacheTeamName, teamName) { // 进行中
|
|
cacheTeamName[teamName] = time.Now()
|
|
cacheTeamName[teamName] = time.Now()
|
|
|
|
+ } else {
|
|
|
|
+ c_log.GlobalLogger.Errorf("接收到心跳信息但考试并未开始 %v", param)
|
|
}
|
|
}
|
|
|
|
|
|
c.JSON(http.StatusOK, commonEntity.Response{
|
|
c.JSON(http.StatusOK, commonEntity.Response{
|