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