Commit 1deb8c5de5334eeab46b9b8faf7191e24dd614e0
1 parent
3297fba3
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/HttpServer/logic/httpserver.go
@@ -804,8 +804,8 @@ func UserLogin(w http.ResponseWriter, r *http.Request) { | @@ -804,8 +804,8 @@ func UserLogin(w http.ResponseWriter, r *http.Request) { | ||
804 | s := string(result) | 804 | s := string(result) |
805 | if s == "" { | 805 | if s == "" { |
806 | logger.Error("UserLogin bodynil") | 806 | logger.Error("UserLogin bodynil") |
807 | - //fmt.Fprint(w, "failed") | ||
808 | - //return | 807 | + fmt.Fprint(w, "failed") |
808 | + return | ||
809 | } | 809 | } |
810 | logger.Info("UserLogin , body:%v,uuid=%v token=%v", s, Uuid, Token) | 810 | logger.Info("UserLogin , body:%v,uuid=%v token=%v", s, Uuid, Token) |
811 | 811 |