Commit ded79c55a1cca7f957792f271803fa3561ee3f55
1 parent
1c85643c
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/httpserver.go
| ... | ... | @@ -267,7 +267,7 @@ func ClearData(w http.ResponseWriter, r *http.Request) { |
| 267 | 267 | |
| 268 | 268 | |
| 269 | 269 | rediskey1 := "cat:cafe:data_new:where:data_uid:" + uuid |
| 270 | - exist,_ = redishandler.GetRedisClient().Exists(rediskey) | |
| 270 | + exist,_ = redishandler.GetRedisClient().Exists(rediskey1) | |
| 271 | 271 | if exist { |
| 272 | 272 | //存在,即删除 |
| 273 | 273 | err = redishandler.GetRedisClient().Delete(rediskey1) | ... | ... |