mirror of
https://github.com/duanhf2012/origin.git
synced 2026-05-22 01:27:32 +08:00
http验证返回
This commit is contained in:
@@ -127,7 +127,7 @@ func (slf *HttpServerService) httpHandler(w http.ResponseWriter, r *http.Request
|
|||||||
}
|
}
|
||||||
|
|
||||||
if errRet != nil {
|
if errRet != nil {
|
||||||
writeError(http.StatusBadRequest, errRet.Error())
|
w.Write([]byte(errRet.Error()))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user