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