|
@@ -305,9 +305,9 @@ |
|
|
block discarded – undo |
|
305
|
305
|
throw new RuntimeException('This object does not support retrieving URLs.'); |
|
306
|
306
|
} |
|
307
|
307
|
//SDK未提供获取 hostname的公开方法,这里变相获取 |
|
308
|
|
- $temporaryUrl = $this->getTemporaryUrl($path,60,[]); |
|
|
308
|
+ $temporaryUrl = $this->getTemporaryUrl($path, 60, []); |
|
309
|
309
|
$urls = parse_url($temporaryUrl); |
|
310
|
|
- return $urls['scheme'] .'://'. $urls['host'] . $urls['path']; |
|
|
310
|
+ return $urls['scheme'] . '://' . $urls['host'] . $urls['path']; |
|
311
|
311
|
} |
|
312
|
312
|
|
|
313
|
313
|
/** |
Please login to merge, or discard this patch.