nacos config

This commit is contained in:
eson 2023-09-22 11:31:39 +08:00
parent baa0cc1644
commit a6a40a2ad5

View File

@ -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状态码