Compare commits

..

2 Commits

Author SHA1 Message Date
junleea 3be19bf29c Merge branch 'refs/heads/feat-tool' 2024-11-26 10:58:32 +08:00
junleea 16ab36261e 修复monitor 时间问题 2024-11-26 10:58:07 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func SetDeviceStatusV2(c *gin.Context) {
for _, v := range devices {
if v == req.ID {
// 继续处理请求
worker.SetRedisWithExpire(req.ID, "1", 300)
worker.SetRedisWithExpire(req.ID, "1", time.Second*300)
c.JSON(200, gin.H{"code": 0, "message": "success"})
return
}