This commit is contained in:
Mrx
2026-05-21 10:27:41 +08:00
parent 1dfe688db7
commit 2020bd732a

View File

@@ -48,7 +48,7 @@ func ProcessQCXG9P1CRequest(ctx context.Context, params []byte, deps *processors
} }
// 极光服务已经返回了 data 字段的 JSON直接返回即可 // 极光服务已经返回了 data 字段的 JSON直接返回即可
return respBytes, nil // return respBytes, nil
// 使用 gjson 检查并转换 vehicleCount 字段 // 使用 gjson 检查并转换 vehicleCount 字段
vehicleCountResult := gjson.GetBytes(respBytes, "vehicleCount") vehicleCountResult := gjson.GetBytes(respBytes, "vehicleCount")