f
This commit is contained in:
@@ -17,12 +17,17 @@ func ProcessQYGLBH7YRequest(ctx context.Context, params []byte, deps *processors
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
}
|
||||
|
||||
if err := deps.Validator.ValidateStruct(paramsDto); err != nil {
|
||||
return nil, errors.Join(processors.ErrInvalidParam, err)
|
||||
}
|
||||
|
||||
if deps.HaiyuapiService == nil {
|
||||
return nil, errors.Join(processors.ErrSystem, errors.New("海宇API服务未初始化"))
|
||||
}
|
||||
|
||||
reqParams := map[string]interface{}{
|
||||
"ent_name": paramsDto.EntName,
|
||||
"ent_name": paramsDto.EntName,
|
||||
"auth_pdf_base64": paramsDto.PdfBase64,
|
||||
}
|
||||
|
||||
apiPath := "/api/v1/QYGLBH7Y"
|
||||
|
||||
Reference in New Issue
Block a user