This commit is contained in:
Mrx
2026-02-27 14:59:23 +08:00
parent 5630d93de6
commit bc6dce21ee

View File

@@ -46,8 +46,6 @@ func ProcessJRZQO6L7Request(ctx context.Context, params []byte, deps *processors
"city": null, "city": null,
} }
// 使用 WithSkipCode201Check 不跳过 201 错误检查,当 Code == "201" 时返回错误
ctx = zhicha.WithSkipCode201Check(ctx)
respData, err := deps.ZhichaService.CallAPI(ctx, "ZCI081", reqData) respData, err := deps.ZhichaService.CallAPI(ctx, "ZCI081", reqData)
if err != nil { if err != nil {
if errors.Is(err, zhicha.ErrDatasource) { if errors.Is(err, zhicha.ErrDatasource) {