Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
garenwang committed Jul 26, 2022
1 parent 27ec7c3 commit a0a45dd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -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 `.`)
Expand All @@ -18,8 +18,8 @@ EXTERNAL SOURCES:
:path: "."

SPEC CHECKSUMS:
QCloudCore: e02371dbd5990ae86892786aad0155125015cee1
QCloudCOSXML: b09992ac9d0fb328ee55d314ca9133d1dd360b56
QCloudCore: 36e2114d8ecb04b8d399cfd2ba2f4d1fcc3c7391
QCloudCOSXML: b4ab7f311f3cb5e8c14206c8974f17bb850460b7

PODFILE CHECKSUM: 384b99448c6c2fa2f931b43a3eacbd13f1ec5751

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
Binary file not shown.

0 comments on commit a0a45dd

Please sign in to comment.