This commit is contained in:
Mrx
2026-06-09 15:58:29 +08:00
parent a90dfb90ef
commit 9f06027820
6 changed files with 120 additions and 1 deletions

View File

@@ -36,7 +36,6 @@ func ProcessQCXG9P1CRequest(ctx context.Context, params []byte, deps *processors
return transformQCXG9P1CResponse(raw)
}
// transformQCXG9P1CResponse 将诺尔响应转为 QCXG9P1C 对外格式:去掉 busiCode/busiMsg展开 resultvehicleCount 为整数
func transformQCXG9P1CResponse(raw []byte) ([]byte, error) {
base := gjson.GetBytes(raw, "result")
if !base.Exists() {