|
...
|
...
|
@@ -46,7 +46,7 @@ class TencentCosService extends BaseService |
|
|
|
$contentMd5 = '';
|
|
|
|
$contentType = 'image/'.$image_type;
|
|
|
|
$date = date('D, d M Y H:i:s \G\M\T');
|
|
|
|
$time = time();
|
|
|
|
$time = time() - 3600000;
|
|
|
|
$expiredTime = time() + 3600000;
|
|
|
|
$filePath = $path.'/'.$fileName;
|
|
|
|
$stringToSign = "{$httpVerb}\n{$contentMd5}\n{$contentType}\n{$date}\n/{$this->config['bucket']}/{$filePath}";
|
...
|
...
|
|