Commit bff882e9 authored by 王明明's avatar 王明明

超时处理

parent d1dd4f2b
......@@ -44,7 +44,7 @@ func main() {
fmt.Println("服务监听 http://localhost:19999")
server := http.Server{
Addr: ":19999",
Addr: ":59001",
Handler: router,
}
log.Fatal(server.ListenAndServe())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment