From 426e6f537c25ff62bcf01416c68921efb105f76d Mon Sep 17 00:00:00 2001 From: Mrx <18278715334@163.com> Date: Sat, 24 Jan 2026 10:22:43 +0800 Subject: [PATCH] f --- .../api/services/processors/yysy/yysybe08_processor.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/internal/domains/api/services/processors/yysy/yysybe08_processor.go b/internal/domains/api/services/processors/yysy/yysybe08_processor.go index 8a6d961..b551d2c 100644 --- a/internal/domains/api/services/processors/yysy/yysybe08_processor.go +++ b/internal/domains/api/services/processors/yysy/yysybe08_processor.go @@ -82,11 +82,13 @@ func ProcessYYSYBE08Request(ctx context.Context, params []byte, deps *processors return json.Marshal(errorResponse) } - // 根据 verifyResult (desc) 设置 resultCode + // 根据 verifyResult (desc) 设置 resultCode 和 verifyResult // 0XXX: 一致, 5XXX: 不一致 - resultCode := "5XXX" // 默认为不一致 + resultCode := "5XXX" // 默认为不一致 + verifyResult := "不一致" // 默认为不一致 if shumaiResp.Data.Desc == "一致" { resultCode = "0XXX" + verifyResult = "一致" } resultMsg := shumaiResp.Msg @@ -105,7 +107,7 @@ func ProcessYYSYBE08Request(ctx context.Context, params []byte, deps *processors "name": paramsDto.Name, "resultCode": resultCode, "resultMsg": resultMsg, - "verifyResult": shumaiResp.Data.Desc, + "verifyResult": verifyResult, }, }, }