nacos config
This commit is contained in:
parent
baa0cc1644
commit
a6a40a2ad5
|
@ -109,6 +109,7 @@ func main() {
|
|||
if err != nil {
|
||||
|
||||
// 在发生错误时进行处理
|
||||
log.Println(res.Header())
|
||||
logx.Error(err)
|
||||
logx.Error(res.Header())
|
||||
res.WriteHeader(http.StatusNotFound) // 返回404状态码
|
||||
|
|
Loading…
Reference in New Issue
Block a user