diff --git a/internal/domains/api/services/processors/qygl/qygl3f8e_processor.go b/internal/domains/api/services/processors/qygl/qygl3f8e_processor.go index 3f41b4c..0db5a7e 100644 --- a/internal/domains/api/services/processors/qygl/qygl3f8e_processor.go +++ b/internal/domains/api/services/processors/qygl/qygl3f8e_processor.go @@ -454,37 +454,37 @@ func enrichCompaniesWithDetails(ctx context.Context, companies []CompanyInfo, id }() // 调用QYGL66SL- 企业涉诉信息 - detailWg.Add(1) - go func() { - defer detailWg.Done() - result := callQYGL66SLProcessorSafely(ctx, comp.CreditCode, comp.Name, deps) + // detailWg.Add(1) + // go func() { + // defer detailWg.Done() + // result := callQYGL66SLProcessorSafely(ctx, comp.CreditCode, comp.Name, deps) - enriched.LawsuitInfo = result - // QYGL66SL返回的是特殊格式,需要检查是否有数据 - hasData := false - if resultMap, ok := result.(map[string]interface{}); ok { - for _, v := range resultMap { - if vMap, ok := v.(map[string]interface{}); ok { - if msg, ok := vMap["msg"].(string); ok && msg == "成功" { - hasData = true - break - } - } - } - } + // enriched.LawsuitInfo = result + // // QYGL66SL返回的是特殊格式,需要检查是否有数据 + // hasData := false + // if resultMap, ok := result.(map[string]interface{}); ok { + // for _, v := range resultMap { + // if vMap, ok := v.(map[string]interface{}); ok { + // if msg, ok := vMap["msg"].(string); ok && msg == "成功" { + // hasData = true + // break + // } + // } + // } + // } - detailMu.Lock() - status := "success" - if !hasData { - status = "empty" - } - processorResults = append(processorResults, processorResult{ - processorType: "QYGL66SL", - status: status, - hasData: hasData, - }) - detailMu.Unlock() - }() + // detailMu.Lock() + // status := "success" + // if !hasData { + // status = "empty" + // } + // processorResults = append(processorResults, processorResult{ + // processorType: "QYGL66SL", + // status: status, + // hasData: hasData, + // }) + // detailMu.Unlock() + // }() // 调用QYGL7D9A - 欠税公告 detailWg.Add(1) diff --git a/internal/domains/api/services/processors/yysy/yysyf7db_processor.go b/internal/domains/api/services/processors/yysy/yysyf7db_processor.go index 0cd6b03..61922aa 100644 --- a/internal/domains/api/services/processors/yysy/yysyf7db_processor.go +++ b/internal/domains/api/services/processors/yysy/yysyf7db_processor.go @@ -43,4 +43,4 @@ func ProcessYYSYF7DBRequest(ctx context.Context, params []byte, deps *processors } return respBytes, nil -} \ No newline at end of file +}