我在更新照片中与此代码有关的问题: 我已经有功能了,但是不起作用
if (isset($request['image'])) {
$image = request()->file('image')->move("pictures/{$users[0]['username']}", 'public');
}
if (isset($request['licenseimage_front'])) {
$request['licenseimage_front'] = request()->file('licenseimage_front')->store("licensepicture/front/{$users[0]['username']}", 'public');
}
if (isset($request['licenseimage_back'])) {
$request['licenseimage_back'] = request()->file('licenseimage_back')->store("licensepicture/back/{$users[0]['username']}", 'public');
}