jqhph / dcat-admin

🔥 基于 Laravel 的后台系统构建工具 (Laravel Admin),使用很少的代码快速构建一个功能完善的高颜值后台系统,内置丰富的后台常用组件,开箱即用,让开发者告别冗杂的HTML代码
http://www.dcatadmin.com
MIT License
3.9k stars 711 forks source link

使用OSS文件上传报错 #1335

Closed plusOneSecond closed 3 years ago

plusOneSecond commented 3 years ago

Description:

使用阿里云 oss 上传图片,文件名为 u=1595072465,3644073269&fm=193&f=GIF.jpeg

image 文件上传成功,列表成功渲染 点击快速编辑报错 image

plusOneSecond commented 3 years ago
{
    "message": "Class 'Symfony\\Component\\Filesystem\\Exception\\FileNotFoundException' not found (View: /Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/resources/views/form/fields.blade.php)",
    "exception": "Facade\\Ignition\\Exceptions\\ViewException",
    "file": "/Users/brian/work/yijia/php/palace/vendor/jacobcyl/ali-oss-storage/src/AliOssAdapter.php",
    "line": 570,
    "trace": [
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemAdapter.php",
            "line": 449,
            "function": "getUrl",
            "class": "Jacobcyl\\AliOSS\\AliOssAdapter",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Form/Field/UploadField.php",
            "line": 478,
            "function": "url",
            "class": "Illuminate\\Filesystem\\FilesystemAdapter",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Form/Field/File.php",
            "line": 137,
            "function": "objectUrl",
            "class": "Dcat\\Admin\\Form\\Field\\File",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Form/Field/WebUploader.php",
            "line": 284,
            "function": "initialPreviewConfig",
            "class": "Dcat\\Admin\\Form\\Field\\File",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Form/Field/File.php",
            "line": 157,
            "function": "setupPreviewOptions",
            "class": "Dcat\\Admin\\Form\\Field\\File",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/../resources/views/form/fields.blade.php",
            "line": 20,
            "function": "render",
            "class": "Dcat\\Admin\\Form\\Field\\File",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php",
            "line": 107,
            "function": "require"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php",
            "line": 108,
            "function": "Illuminate\\Filesystem\\{closure}",
            "class": "Illuminate\\Filesystem\\Filesystem",
            "type": "::"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php",
            "line": 58,
            "function": "getRequire",
            "class": "Illuminate\\Filesystem\\Filesystem",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php",
            "line": 61,
            "function": "evaluatePath",
            "class": "Illuminate\\View\\Engines\\PhpEngine",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php",
            "line": 37,
            "function": "get",
            "class": "Illuminate\\View\\Engines\\CompilerEngine",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/View/View.php",
            "line": 139,
            "function": "get",
            "class": "Facade\\Ignition\\Views\\Engines\\CompilerEngine",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/View/View.php",
            "line": 122,
            "function": "getContents",
            "class": "Illuminate\\View\\View",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/View/View.php",
            "line": 91,
            "function": "renderContents",
            "class": "Illuminate\\View\\View",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/../resources/views/form/container.blade.php",
            "line": 12,
            "function": "render",
            "class": "Illuminate\\View\\View",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php",
            "line": 107,
            "function": "require"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php",
            "line": 108,
            "function": "Illuminate\\Filesystem\\{closure}",
            "class": "Illuminate\\Filesystem\\Filesystem",
            "type": "::"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php",
            "line": 58,
            "function": "getRequire",
            "class": "Illuminate\\Filesystem\\Filesystem",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php",
            "line": 61,
            "function": "evaluatePath",
            "class": "Illuminate\\View\\Engines\\PhpEngine",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php",
            "line": 37,
            "function": "get",
            "class": "Illuminate\\View\\Engines\\CompilerEngine",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/View/View.php",
            "line": 139,
            "function": "get",
            "class": "Facade\\Ignition\\Views\\Engines\\CompilerEngine",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/View/View.php",
            "line": 122,
            "function": "getContents",
            "class": "Illuminate\\View\\View",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/View/View.php",
            "line": 91,
            "function": "renderContents",
            "class": "Illuminate\\View\\View",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Support/Helper.php",
            "line": 101,
            "function": "render",
            "class": "Illuminate\\View\\View",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Form/Builder.php",
            "line": 812,
            "function": "render",
            "class": "Dcat\\Admin\\Support\\Helper",
            "type": "::"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Form/Builder.php",
            "line": 792,
            "function": "doWrap",
            "class": "Dcat\\Admin\\Form\\Builder",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Form.php",
            "line": 1657,
            "function": "render",
            "class": "Dcat\\Admin\\Form\\Builder",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Support/Helper.php",
            "line": 101,
            "function": "render",
            "class": "Dcat\\Admin\\Form",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Layout/Column.php",
            "line": 107,
            "function": "render",
            "class": "Dcat\\Admin\\Support\\Helper",
            "type": "::"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Layout/Row.php",
            "line": 75,
            "function": "render",
            "class": "Dcat\\Admin\\Layout\\Column",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Layout/Content.php",
            "line": 281,
            "function": "render",
            "class": "Dcat\\Admin\\Layout\\Row",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Layout/Content.php",
            "line": 534,
            "function": "build",
            "class": "Dcat\\Admin\\Layout\\Content",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Http/Response.php",
            "line": 69,
            "function": "render",
            "class": "Dcat\\Admin\\Layout\\Content",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Http/Response.php",
            "line": 35,
            "function": "setContent",
            "class": "Illuminate\\Http\\Response",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 793,
            "function": "__construct",
            "class": "Illuminate\\Http\\Response",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 763,
            "function": "toResponse",
            "class": "Illuminate\\Routing\\Router",
            "type": "::"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 695,
            "function": "prepareResponse",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 128,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Http/Middleware/WebUploader.php",
            "line": 22,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Dcat\\Admin\\Http\\Middleware\\WebUploader",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Http/Middleware/Session.php",
            "line": 12,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Dcat\\Admin\\Http\\Middleware\\Session",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Http/Middleware/Permission.php",
            "line": 40,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Dcat\\Admin\\Http\\Middleware\\Permission",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Http/Middleware/Bootstrap.php",
            "line": 19,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Dcat\\Admin\\Http\\Middleware\\Bootstrap",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Http/Middleware/Pjax.php",
            "line": 23,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Dcat\\Admin\\Http\\Middleware\\Pjax",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Http/Middleware/Authenticate.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Dcat\\Admin\\Http\\Middleware\\Authenticate",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php",
            "line": 78,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php",
            "line": 49,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\View\\Middleware\\ShareErrorsFromSession",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php",
            "line": 121,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php",
            "line": 64,
            "function": "handleStatefulRequest",
            "class": "Illuminate\\Session\\Middleware\\StartSession",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Session\\Middleware\\StartSession",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php",
            "line": 37,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php",
            "line": 67,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Cookie\\Middleware\\EncryptCookies",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/dcat/laravel-admin/src/Http/Middleware/Application.php",
            "line": 15,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Dcat\\Admin\\Http\\Middleware\\Application",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 103,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 697,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 672,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 636,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 625,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 166,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 128,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php",
            "line": 40,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php",
            "line": 86,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/fruitcake/laravel-cors/src/HandleCors.php",
            "line": 38,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Fruitcake\\Cors\\HandleCors",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/fideloper/proxy/src/TrustProxies.php",
            "line": 57,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Fideloper\\Proxy\\TrustProxies",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 103,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 141,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 110,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/Users/brian/work/yijia/php/palace/public/index.php",
            "line": 52,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        }
    ]
}
jqhph commented 3 years ago

换个oss包 https://github.com/iiDestiny/flysystem-oss

plusOneSecond commented 3 years ago

image 文件名:u=1595072465,3644073269&fm=193&f=GIF.jpeg 页面渲染方法:

    protected function form(): Form
    {
        return Form::make(new RankList(), function(Form $form){
            $form->display('id');
            $form->text('title')->required();
            $form->image('poster_image');
        });
    }

这个应该是一个图片解析的 bug,将单张图片的地址以,号分隔解析了

jqhph commented 3 years ago

上传时用随机文件名功能重新生成一下文件名

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.