Browse Source

api改名

songxiaohang 1 year ago
parent
commit
12949d69c0
2 changed files with 3 additions and 2 deletions
  1. 1 0
      app/cmd/dtgateway/dtgateway.go
  2. 2 2
      app/cmd/dtgateway/etc/dtgateway.yaml

+ 1 - 0
app/cmd/dtgateway/dtgateway.go

@@ -28,4 +28,5 @@ func main() {
 
 
 	fmt.Printf("Starting server at %s:%d...\n", c.Host, c.Port)
 	fmt.Printf("Starting server at %s:%d...\n", c.Host, c.Port)
 	server.Start()
 	server.Start()
+
 }
 }

+ 2 - 2
app/cmd/dtgateway/etc/dtgateway.yaml

@@ -1,6 +1,6 @@
 Name: dtgateway-api
 Name: dtgateway-api
 Host: 0.0.0.0
 Host: 0.0.0.0
-Port: 1001
+Port: 1009
 Mode: dev
 Mode: dev
 Timeout: 0
 Timeout: 0
 #100MB
 #100MB
@@ -20,6 +20,6 @@ Log:
 #rpc service
 #rpc service
 OrganizationRpcConf:
 OrganizationRpcConf:
   Endpoints:
   Endpoints:
-    - 127.0.0.1:1111
+    - 127.0.0.1:1117
   NonBlock: true
   NonBlock: true
   Timeout: 0
   Timeout: 0