master
huanghai 5 years ago
parent 7f9b6cf846
commit 0b2c3174d1

@ -6,7 +6,7 @@ user = root
pwd = DsideaL147258369
[distribute] #发布功能的配置
ip = 10.10.14.187
ip = server.dsmin.com
port = 22
user = root
pwd = dsideal
@ -29,7 +29,8 @@ project_name = dsBaseRpc
# 数据汇集的地址
[dataExchange]
host = http://10.10.14.186:9009
#host = http://10.10.14.186:9009
host = http://10.10.14.213:9009
exchangeUrl = /v1/dataex/DataexSet
SystemAuthUrl = /v1/dataex/SystemAuth
SystemId = BASE_GO

@ -1,7 +1,6 @@
package main
import (
"dsBaseRpc/DataExchange"
"dsBaseRpc/RpcService/BaseClass/BaseClassProto"
"dsBaseRpc/RpcService/BaseClass/BaseClassService"
"dsBaseRpc/RpcService/BaseGlobal/BaseGlobalProto"
@ -116,9 +115,9 @@ func main() {
BasePositionProto.RegisterBasePositionManageServer(s, &BasePositionService.Rpc{})
//五、开启一个数据上报的协程
go func() {
DataExchange.DataExchange()
}()
//go func() {
// DataExchange.DataExchange()
//}()
//六、 注册反射服务 这个服务是CLI使用的 跟服务本身没有关系
reflection.Register(s)
//七、启动

Loading…
Cancel
Save