修改端口

master
kanade 3 years ago
parent c8fc00cd74
commit 40ac406375

@ -72,35 +72,35 @@ func main() {
/*将今天的数据copy一份分发到接下来的30天*/
manageServer := &http.Server{
Addr: ":8080",
Addr: ":8180",
Handler: manage.Service(),
ReadTimeout: 5 * time.Second,
WriteTimeout: 10 * time.Second,
}
appServer := &http.Server{
Addr: ":8081",
Addr: ":8181",
Handler: mobile.Service(),
ReadTimeout: 5 * time.Second,
WriteTimeout: 10 * time.Second,
}
vendServer := &http.Server{
Addr: ":8082",
Addr: ":8182",
Handler: vend.Service(),
ReadTimeout: 5 * time.Second,
WriteTimeout: 10 * time.Second,
}
storeServer := &http.Server{
Addr: ":8083",
Addr: ":8183",
Handler: store.Service(),
ReadTimeout: 5 * time.Second,
WriteTimeout: 10 * time.Second,
}
h5Server := &http.Server{
Addr: ":8084",
Addr: ":8184",
Handler: mobile.Service(),
ReadTimeout: 5 * time.Second,
WriteTimeout: 10 * time.Second,

Loading…
Cancel
Save