作者 lyh

gx

... ... @@ -378,6 +378,7 @@ class ImageController extends Controller
}
$image_data[$k] = $arr;
}
return $image_data;
}
if($settingInfo['status'] == 2 && !empty($settingInfo['str_data'])){
$str_data = json_decode($settingInfo['str_data'],true);
... ... @@ -395,6 +396,7 @@ class ImageController extends Controller
$str_data[$k] = $arr;
}
}
return $str_data;
}
return null;
}
... ...
... ... @@ -40,6 +40,7 @@ class CosService
'Key' => $key,
'Body' => $Body,
];
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($watermarkOptions, true) . PHP_EOL, FILE_APPEND);
//水印
if ($watermarkOptions) {
$options['Pic-Operations'] = json_encode([
... ...