This commit is contained in:
Mrx
2026-01-28 16:25:40 +08:00
parent 482644a914
commit 7e5a69ffaa
4 changed files with 6 additions and 6 deletions

View File

@@ -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"`
}

View File

@@ -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,

View File

@@ -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

View File

@@ -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, &paramsDto); err != nil {
return nil, errors.Join(processors.ErrSystem, err)
}