Skip to content

Commit 7a3e1e5

Browse files
author
garenwang
committed
demo修复
1 parent 3bdc74f commit 7a3e1e5

File tree

4 files changed

+6
-38
lines changed

4 files changed

+6
-38
lines changed

Podfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ PODS:
88
- QCloudCOSXML/Default (= 6.3.9)
99
- QCloudCOSXML/Default (6.3.9):
1010
- QCloudCore (= 6.3.9)
11-
- QCloudQuic (6.3.9):
12-
- QCloudQuic/Default (= 6.3.9)
13-
- QCloudQuic/Default (6.3.9)
11+
- QCloudQuic (6.3.7):
12+
- QCloudQuic/Default (= 6.3.7)
13+
- QCloudQuic/Default (6.3.7)
1414
- QCloudTrack (6.3.9):
1515
- QCloudTrack/Default (= 6.3.9)
1616
- QCloudTrack/Beacon (6.3.9)
@@ -48,8 +48,8 @@ EXTERNAL SOURCES:
4848
SPEC CHECKSUMS:
4949
GMOpenSSL: d6d119ff8f00d4e03c2cdf733fb61e98e22da9c7
5050
QCloudCore: aed46aa9cf2656373682d6aa3b0c3f252f1875f7
51-
QCloudCOSXML: 4e1f8573c1c8c5b49a981897232465b5c2c65a1c
52-
QCloudQuic: 81e2c29fa8122c1d5e8323a90349683e52c8e101
51+
QCloudCOSXML: a8139aaa7db0c74c870a5a36ccccbee89d5cad75
52+
QCloudQuic: 895ccf08046ecf068a6f965831dd16fc7d531fb4
5353
QCloudTrack: 00557c28b5b1a2cd4a0cf2c41a34947d8a19d119
5454
TencentCloudLogProducer: 980e6a4b9ed49b7b3f41779203be5e4ba1b03b95
5555

Binary file not shown.

QCloudCOSXMLDemo.xcworkspace/xcuserdata/garenwang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -74,37 +74,5 @@
7474
endingLineNumber = "117">
7575
</BreakpointContent>
7676
</BreakpointProxy>
77-
<BreakpointProxy
78-
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
79-
<BreakpointContent
80-
uuid = "8DA76074-1419-4B72-B54D-9E08779DCFAD"
81-
shouldBeEnabled = "Yes"
82-
ignoreCount = "0"
83-
continueAfterRunningActions = "No"
84-
filePath = "QCloudCOSXMLDemo/QCloudDownLoadNewCtor.m"
85-
startingColumnNumber = "9223372036854775807"
86-
endingColumnNumber = "9223372036854775807"
87-
startingLineNumber = "146"
88-
endingLineNumber = "146"
89-
landmarkName = "-fetchData"
90-
landmarkType = "7">
91-
</BreakpointContent>
92-
</BreakpointProxy>
93-
<BreakpointProxy
94-
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
95-
<BreakpointContent
96-
uuid = "BBB935FA-D6B5-420F-A9C2-2F154E28F03E"
97-
shouldBeEnabled = "Yes"
98-
ignoreCount = "0"
99-
continueAfterRunningActions = "No"
100-
filePath = "QCloudCOSXMLDemo/QCloudDownLoadNewCtor.m"
101-
startingColumnNumber = "9223372036854775807"
102-
endingColumnNumber = "9223372036854775807"
103-
startingLineNumber = "128"
104-
endingLineNumber = "128"
105-
landmarkName = "-fetchData"
106-
landmarkType = "7">
107-
</BreakpointContent>
108-
</BreakpointProxy>
10977
</Breakpoints>
11078
</Bucket>

QCloudCOSXMLDemo/QCloudDownLoadNewCtor.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ -(void)fetchData{
124124
// 在FinishBlock获取结果
125125
// 参数:桶名称 + 文件唯一标识 + 本地下载路径
126126
_request = [[QCloudGetObjectRequest alloc]init];
127-
_request.downloadingURL = [self tempFileURLWithName:_content.key];
127+
_request.downloadingURL = [self tempFileURLWithName:[_content.key componentsSeparatedByString:@"/"].lastObject];
128128
_request.bucket = CURRENT_BUCKET;
129129
_request.object = _content.key;
130130

0 commit comments

Comments
 (0)