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