Compare commits

..

No commits in common. "27ba32888d783adfcd1955d33a8e689c55204d1e" and "4275ef759394760f3dcec22728f58c4072683298" have entirely different histories.

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("monitor_"+req.ID, "1", time.Second*300)
worker.SetRedisWithExpire(req.ID, "1", time.Second*300)
c.JSON(200, gin.H{"code": 0, "message": "success"})
return
}