Closed chenchun0629 closed 6 years ago
环境laravel5.5+ubuntu+nginx+php7.2.5
已经按照按照配置进行操作。
php artisan storage:link
config/ueditor.php
public
public/uploads/
0777
.env
APP_URL
以下调试信息:
# Overtrue\LaravelUEditor\StorageManager.php@upload 输出 config 和 $request->all() ## config Array ( [action] => catch-image [field_name] => source [max_size] => 2048000 [allow_files] => Array ( [0] => .png [1] => .jpg [2] => .jpeg [3] => .gif [4] => .bmp ) [path_format] => /upload/image/{yyyy}/{mm}/{dd}/ ) ## $request->all() Array ( [source] => Array ( [0] => https://lccdn.phphub.org/uploads/avatars/7926_1481821627.png?imageView2/1/w/100/h/100 [1] => https://lccdn.phphub.org/uploads/avatars/21479_1516766508.jpg?imageView2/1/w/100/h/100 [2] => https://lccdn.phphub.org/uploads/avatars/16439_1495175693.jpeg?imageView2/1/w/100/h/100 ) [action] => catch-image [_token] => kgCrUuyct3qNBRXXUPppgAuvK6ntETvgpI8PuVtg ) ## $request->hasFile($config['field_name']) 输出 false ## $request->file($config['field_name']) 输出为空
环境laravel5.5+ubuntu+nginx+php7.2.5
已经按照按照配置进行操作。
php artisan storage:link
config/ueditor.php
配置为public
public/uploads/
权限为0777
.env
下APP_URL
为当前访问连接以下调试信息: