Commit 44c3b46748848bfbaa0bab3ea2388442f9be3347
1 parent
ec844ee4
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/httpserver.go
@@ -154,7 +154,8 @@ func ClearData(w http.ResponseWriter, r *http.Request) { | @@ -154,7 +154,8 @@ func ClearData(w http.ResponseWriter, r *http.Request) { | ||
154 | } | 154 | } |
155 | 155 | ||
156 | fmt.Fprint(w, "清除数据成功了,恭喜!uuid=%v",uuid) | 156 | fmt.Fprint(w, "清除数据成功了,恭喜!uuid=%v",uuid) |
157 | - | 157 | + //将id从白名单删除 |
158 | + redishandler.GetRedisClient().HDel(rkey,uuid) | ||
158 | //HandleRegeister(w,s) | 159 | //HandleRegeister(w,s) |
159 | } | 160 | } |
160 | 161 |