diff --git a/internal/domains/api/dto/api_request_dto.go b/internal/domains/api/dto/api_request_dto.go index 37f5e26..cdb6046 100644 --- a/internal/domains/api/dto/api_request_dto.go +++ b/internal/domains/api/dto/api_request_dto.go @@ -898,7 +898,7 @@ type YYSYF2T7Req struct { DateRange string `json:"date_range" validate:"required,validAuthDate" ` } -type QYGL5S1Req struct { +type QYGL5S1IReq struct { EntCode string `json:"ent_code" validate:"omitempty,validUSCI"` EntName string `json:"ent_name" validate:"required,min=1,validEnterpriseName"` } diff --git a/internal/domains/api/services/api_request_service.go b/internal/domains/api/services/api_request_service.go index 13b192c..04a8b1d 100644 --- a/internal/domains/api/services/api_request_service.go +++ b/internal/domains/api/services/api_request_service.go @@ -173,7 +173,7 @@ func registerAllProcessors(combService *comb.CombService) { "QYGL2NAO": qygl.ProcessQYGL2naoRequest, //股权变更 "QYGLNIO8": qygl.ProcessQYGLNIO8Request, //企业基本信息 "QYGLP0HT": qygl.ProcessQYGLP0HTRequest, //股权穿透 - "QYGL5S1": qygl.ProcessQYGL5S1Request, //企业司法涉诉V2 + "QYGL5S1I": qygl.ProcessQYGL5S1IRequest, //企业司法涉诉I // YYSY系列处理器 "YYSYD50F": yysy.ProcessYYSYD50FRequest, diff --git a/internal/domains/api/services/form_config_service.go b/internal/domains/api/services/form_config_service.go index 6072004..4a4beda 100644 --- a/internal/domains/api/services/form_config_service.go +++ b/internal/domains/api/services/form_config_service.go @@ -243,7 +243,7 @@ func (s *FormConfigServiceImpl) getDTOStruct(ctx context.Context, apiCode string "YYSYH6F3": &dto.YYSYH6F3Req{}, //运营商三要素简版即时版查询 "IVYZX5Q2": &dto.IVYZX5Q2Req{}, //活体识别步骤二 "PDFG01GZ": &dto.PDFG01GZReq{}, // - "QYGL5S1": &dto.QYGL5S1Req{}, //企业司法涉诉V2 + "QYGL5S1I": &dto.QYGL5S1IReq{}, //企业司法涉诉V2 } // 优先返回已配置的DTO diff --git a/internal/domains/api/services/processors/qygl/qygl5s1_processor.go b/internal/domains/api/services/processors/qygl/qygl5s1i_processor.go similarity index 85% rename from internal/domains/api/services/processors/qygl/qygl5s1_processor.go rename to internal/domains/api/services/processors/qygl/qygl5s1i_processor.go index 4c4df3c..636a9da 100644 --- a/internal/domains/api/services/processors/qygl/qygl5s1_processor.go +++ b/internal/domains/api/services/processors/qygl/qygl5s1i_processor.go @@ -10,10 +10,10 @@ import ( "tyapi-server/internal/infrastructure/external/zhicha" ) -// ProcessQYGL5S1Request QYGL5S1 API处理方法 - 企业司法涉诉V2 -func ProcessQYGL5S1Request(ctx context.Context, params []byte, deps *processors.ProcessorDependencies) ([]byte, error) { +// ProcessQYGL5S1IReq QYGL5S1I API处理方法 - 企业司法涉诉V2 +func ProcessQYGL5S1IRequest(ctx context.Context, params []byte, deps *processors.ProcessorDependencies) ([]byte, error) { - var paramsDto dto.QYGL5S1Req + var paramsDto dto.QYGL5S1IReq if err := json.Unmarshal(params, ¶msDto); err != nil { return nil, errors.Join(processors.ErrSystem, err) }