This commit is contained in:
2026-06-18 11:39:13 +08:00
parent 27cbdaa903
commit 4acb6c66f1

View File

@@ -29,9 +29,9 @@ func ProcessQCXGJJ2ARequest(ctx context.Context, params []byte, deps *processors
}
// 调用极光API
// apiCode: carInfo-vin (用于请求头)
// apiPath: car/carInfo-vin (用于URL路径)
respBytes, err := deps.JiguangService.CallAPI(ctx, "carInfo-vin", "car/carInfo-vin", reqData)
// apiCode: xxx (用于请求头)
// apiPath: xxx (用于URL路径)
respBytes, err := deps.JiguangService.CallAPI(ctx, "carInfo-vin", "/vehicle/carInfo-vin", reqData)
if err != nil {
// 根据错误类型返回相应的错误
if errors.Is(err, jiguang.ErrNotFound) {