f+
This commit is contained in:
@@ -38,7 +38,7 @@ func ProcessQCXG9P1CRequest(ctx context.Context, params []byte, deps *processors
|
|||||||
// 调用极光API
|
// 调用极光API
|
||||||
// apiCode: vehicle-person-vehicles (用于请求头)
|
// apiCode: vehicle-person-vehicles (用于请求头)
|
||||||
// apiPath: vehicle/person-vehicles (用于URL路径)
|
// apiPath: vehicle/person-vehicles (用于URL路径)
|
||||||
respBytes, err := deps.JiguangService.CallAPI(ctx, "vehicle-person-vehicles", "vehicle-person-vehicles", reqData)
|
respBytes, err := deps.JiguangService.CallAPI(ctx, "vehicle-person-vehicles", "vehicle/person-vehicles", 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