|
...
|
...
|
@@ -40,7 +40,8 @@ class CosService |
|
|
|
'Key' => $key,
|
|
|
|
'Body' => $Body,
|
|
|
|
];
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($watermarkOptions, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(11111, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($options, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
//水印
|
|
|
|
if ($watermarkOptions) {
|
|
|
|
$options['Pic-Operations'] = json_encode([
|
...
|
...
|
|