Commit dee3be1d2f5fb0b798654e08b920cc46a6685486

Authored by 陆恒
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 802  
803 803 s := string(result)
804 804 if s == "" {
  805 + logger.Error("UserLogin bodynil")
  806 + fmt.Fprint(w, "failed")
805 807 return
806 808 }
807 809 logger.Info("UserLogin , body:%v,uuid=%v token=%v", s, Uuid, Token)
... ...