diff --git a/Podfile.lock b/Podfile.lock index bfb2ea9..00ffcc3 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,11 +1,11 @@ PODS: - - QCloudCore (6.0.9): - - QCloudCore/Default (= 6.0.9) - - QCloudCore/Default (6.0.9) - - QCloudCOSXML (6.0.9): - - QCloudCOSXML/Default (= 6.0.9) - - QCloudCOSXML/Default (6.0.9): - - QCloudCore (= 6.0.9) + - QCloudCore (6.1.3): + - QCloudCore/Default (= 6.1.3) + - QCloudCore/Default (6.1.3) + - QCloudCOSXML (6.1.3): + - QCloudCOSXML/Default (= 6.1.3) + - QCloudCOSXML/Default (6.1.3): + - QCloudCore (= 6.1.3) DEPENDENCIES: - QCloudCore (from `.`) @@ -18,8 +18,8 @@ EXTERNAL SOURCES: :path: "." SPEC CHECKSUMS: - QCloudCore: e02371dbd5990ae86892786aad0155125015cee1 - QCloudCOSXML: b09992ac9d0fb328ee55d314ca9133d1dd360b56 + QCloudCore: 36e2114d8ecb04b8d399cfd2ba2f4d1fcc3c7391 + QCloudCOSXML: b4ab7f311f3cb5e8c14206c8974f17bb850460b7 PODFILE CHECKSUM: 384b99448c6c2fa2f931b43a3eacbd13f1ec5751 diff --git a/QCloudCOSXML/Classes/CI/request/QCloudGetAudioDiscernTaskQueueRequest.h b/QCloudCOSXML/Classes/CI/request/QCloudGetAudioDiscernTaskQueueRequest.h index 5270b81..dd96276 100644 --- a/QCloudCOSXML/Classes/CI/request/QCloudGetAudioDiscernTaskQueueRequest.h +++ b/QCloudCOSXML/Classes/CI/request/QCloudGetAudioDiscernTaskQueueRequest.h @@ -55,9 +55,9 @@ NS_ASSUME_NONNULL_BEGIN // 2. Paused 表示队列暂停,作业不再会被语音识别服务调度执行,队列内的所有作业状态维持在暂停状态,已经处于识别中的任务将继续执行,不受影响 request.state = 1; - request.finishBlock = ^(QCloudAudioRecognitionResult * outputObject, NSError *error) { + request.finishBlock = ^(QCloudAudioAsrqueueResult * outputObject, NSError *error) { // outputObject 审核结果 包含用于查询的job id,详细字段请查看api文档或者SDK源码 - // QCloudAudioRecognitionResult 类; + // QCloudAudioAsrqueueResult 类; }; [[QCloudCOSXMLService defaultCOSXML] GetAudioDiscernTaskQueue:request]; diff --git a/QCloudCOSXML/Classes/CI/request/QCloudGetAudioDiscernTaskRequest.m b/QCloudCOSXML/Classes/CI/request/QCloudGetAudioDiscernTaskRequest.m index 9cb7bef..f78f727 100644 --- a/QCloudCOSXML/Classes/CI/request/QCloudGetAudioDiscernTaskRequest.m +++ b/QCloudCOSXML/Classes/CI/request/QCloudGetAudioDiscernTaskRequest.m @@ -54,7 +54,7 @@ - (void)configureReuqestSerializer:(QCloudRequestSerializer *)requestSerializer NSArray *responseSerializers = @[ QCloudAcceptRespnseCodeBlock([NSSet setWithObjects:@(200), @(201), @(202), @(203), @(204), @(205), @(206), @(207), @(208), @(226), nil], nil), QCloudResponseXMLSerializerBlock, -// QCloudResponseObjectSerilizerBlock([QCloudGetAudioDiscernTaskResult class]) + QCloudResponseObjectSerilizerBlock([QCloudGetAudioDiscernTaskResult class]) ]; [requestSerializer setSerializerBlocks:customRequestSerilizers]; [responseSerializer setSerializerBlocks:responseSerializers]; diff --git a/QCloudCOSXMLDemo.xcworkspace/xcuserdata/garenwang.xcuserdatad/UserInterfaceState.xcuserstate b/QCloudCOSXMLDemo.xcworkspace/xcuserdata/garenwang.xcuserdatad/UserInterfaceState.xcuserstate index 6760729..0d21c38 100644 Binary files a/QCloudCOSXMLDemo.xcworkspace/xcuserdata/garenwang.xcuserdatad/UserInterfaceState.xcuserstate and b/QCloudCOSXMLDemo.xcworkspace/xcuserdata/garenwang.xcuserdatad/UserInterfaceState.xcuserstate differ