http验证返回

This commit is contained in:
boyce
2019-04-01 15:31:17 +08:00
parent 072502e11b
commit 8403ba9285

View File

@@ -127,7 +127,7 @@ func (slf *HttpServerService) httpHandler(w http.ResponseWriter, r *http.Request
}
if errRet != nil {
writeError(http.StatusBadRequest, errRet.Error())
w.Write([]byte(errRet.Error()))
return
}