作者 lyh

gx

... ... @@ -373,6 +373,7 @@ class ImageController extends Controller
$image_data = json_decode($settingInfo['image_data'],true);
foreach ($image_data as $k => $v){
if (str_starts_with($v, "image/")) {
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(substr($v, strlen("image/")), true) . PHP_EOL, FILE_APPEND);
$v = 'image/'.urlSafeBase64Encode(substr($v, strlen("image/")));
}
$image_data[$k] = $v;
... ...