This commit is contained in:
Mrx
2026-06-11 16:39:46 +08:00
parent 0642d92069
commit 47ade3de94
7 changed files with 14 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -40,6 +40,13 @@ func ProcessDWBG9FB2Request(ctx context.Context, params []byte, deps *processors
return nil, errors.Join(processors.ErrSystem, err) return nil, errors.Join(processors.ErrSystem, err)
} }
if respMap, ok := resp.Data.(map[string]interface{}); ok {
delete(respMap, "reportUrl")
if resultMap, ok := respMap["result"].(map[string]interface{}); ok {
delete(resultMap, "reportUrl")
}
}
respBytes, err := json.Marshal(resp.Data) respBytes, err := json.Marshal(resp.Data)
if err != nil { if err != nil {
return nil, errors.Join(processors.ErrSystem, err) return nil, errors.Join(processors.ErrSystem, err)

View File

@@ -40,6 +40,13 @@ func ProcessDWBG9FB3Request(ctx context.Context, params []byte, deps *processors
return nil, errors.Join(processors.ErrSystem, err) return nil, errors.Join(processors.ErrSystem, err)
} }
if respMap, ok := resp.Data.(map[string]interface{}); ok {
delete(respMap, "reportUrl")
if resultMap, ok := respMap["result"].(map[string]interface{}); ok {
delete(resultMap, "reportUrl")
}
}
respBytes, err := json.Marshal(resp.Data) respBytes, err := json.Marshal(resp.Data)
if err != nil { if err != nil {
return nil, errors.Join(processors.ErrSystem, err) return nil, errors.Join(processors.ErrSystem, err)

View File

@@ -11,7 +11,6 @@ import (
) )
// 去掉身份证去掉身份证 // 去掉身份证去掉身份证
// ProcessFLXGHB4FRequest FLXGHB4F API处理方法 - 个人涉诉案件查询海宇API // ProcessFLXGHB4FRequest FLXGHB4F API处理方法 - 个人涉诉案件查询海宇API
func ProcessFLXGHB4FRequest(ctx context.Context, params []byte, deps *processors.ProcessorDependencies) ([]byte, error) { func ProcessFLXGHB4FRequest(ctx context.Context, params []byte, deps *processors.ProcessorDependencies) ([]byte, error) {
var paramsDto dto.FLXGHB4FReq var paramsDto dto.FLXGHB4FReq