Browse Source

update

master
DengBiao 2 years ago
parent
commit
8bc767f472
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      cmd/business/main.go

+ 3
- 3
cmd/business/main.go View File

@@ -20,9 +20,6 @@ import (
)

func main() {
go func() {
http.ListenAndServe(":10001", nil)
}()
//config.Init()
db.Init()

@@ -37,6 +34,9 @@ func main() {
}()

//runtime.SetBlockProfileRate(1)
go func() {
http.ListenAndServe(":10001", nil)
}()

pb.RegisterBusinessIntServer(server, &api.BusinessIntServer{})
pb.RegisterBusinessExtServer(server, &api.BusinessExtServer{})


Loading…
Cancel
Save