master
huanghai 5 years ago
parent 4f05e7eeb9
commit be7d2305eb

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

Loading…
Cancel
Save