f
This commit is contained in:
@@ -40,6 +40,13 @@ func ProcessDWBG9FB2Request(ctx context.Context, params []byte, deps *processors
|
||||
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)
|
||||
if err != nil {
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
|
||||
@@ -40,6 +40,13 @@ func ProcessDWBG9FB3Request(ctx context.Context, params []byte, deps *processors
|
||||
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)
|
||||
if err != nil {
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
|
||||
@@ -11,7 +11,6 @@ import (
|
||||
)
|
||||
|
||||
// 去掉身份证去掉身份证
|
||||
|
||||
// ProcessFLXGHB4FRequest FLXGHB4F API处理方法 - 个人涉诉案件查询(海宇API)
|
||||
func ProcessFLXGHB4FRequest(ctx context.Context, params []byte, deps *processors.ProcessorDependencies) ([]byte, error) {
|
||||
var paramsDto dto.FLXGHB4FReq
|
||||
|
||||
Reference in New Issue
Block a user