Commit 175da11cc77530f984cb1fa23c84063cb996a362
1 parent
72538149
Exists in
master
提交
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/httpserver.go
... | ... | @@ -799,6 +799,9 @@ func UserLogin(w http.ResponseWriter, r *http.Request) { |
799 | 799 | r.Body.Close() |
800 | 800 | |
801 | 801 | s := string(result) |
802 | + if s == "" { | |
803 | + return | |
804 | + } | |
802 | 805 | logger.Info("UserLogin , body:%v,uuid=%v token=%v", s, Uuid, Token) |
803 | 806 | |
804 | 807 | HandlerLogin(w, s, Uuid, Token) | ... | ... |