增加操作日志查看界面

This commit is contained in:
刘祥超
2020-11-10 20:30:55 +08:00
parent d7fb936003
commit ea10e2e3c1
7 changed files with 129 additions and 19 deletions

View File

@@ -180,6 +180,7 @@ func (this *APINode) listenRPC(listener net.Listener, tlsConfig *tls.Config) err
pb.RegisterRegionProvinceServiceServer(rpcServer, &services.RegionProvinceService{})
pb.RegisterIPListServiceServer(rpcServer, &services.IPListService{})
pb.RegisterIPItemServiceServer(rpcServer, &services.IPItemService{})
pb.RegisterLogServiceServer(rpcServer, &services.LogService{})
err := rpcServer.Serve(listener)
if err != nil {
return errors.New("[API]start rpc failed: " + err.Error())