1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| package analysisApi
|
| import (
| "basic.com/CloudAI/protomsg.git/analysis"
| "context"
| "ruleModelEngine/task"
| )
|
| type Server struct {
| analysis.UnimplementedAnalysisServiceServer
| }
|
| func (s *Server) GetCodeList(ctx context.Context, params *analysis.SendAnalysisRequest) (*analysis.EmptyResponse, error) {
| go task.TaskAnalysisService(params.DocumentNumber)
| return &analysis.EmptyResponse{}, nil
| }
|
|