From 8496ad2c954f6caaf3c9155f58f81ca04d5d5451 Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期一, 09 九月 2024 20:52:30 +0800 Subject: [PATCH] 1、住户不再降级 2、住户地址随时间边长定位越来越准确 3、住户分析的服务人员归类到访客 --- api/analysisApi/server.go | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/api/analysisApi/server.go b/api/analysisApi/server.go index 1192088..bfb4e9c 100644 --- a/api/analysisApi/server.go +++ b/api/analysisApi/server.go @@ -2,6 +2,7 @@ import ( "basic.com/CloudAI/protomsg.git/analysis" + "basic.com/valib/logger.git" "context" "ruleModelEngine/task" ) @@ -10,7 +11,8 @@ analysis.UnimplementedAnalysisServiceServer } -func (s *Server) GetCodeList(ctx context.Context, params *analysis.SendAnalysisRequest) (*analysis.EmptyResponse, error) { - go task.TaskAnalysisService(params.DocumentNumber) +func (s *Server) TaskAnalysis(ctx context.Context, params *analysis.SendAnalysisRequest) (*analysis.EmptyResponse, error) { + logger.Info("grpc params: ", params) + go task.TaskAnalysisService(params.Id) return &analysis.EmptyResponse{}, nil } -- Gitblit v1.8.0