<?php

return [
    'file' => [
        "validate" => 'mimes:jpeg,bmp,png,gif,txt,doc,docs,xsl,xsls,ppt,ppts',
        "validate_msg" => [],
        "folder" => "file",
        "filesystem" => "local",//使用的储存系统
    ],
    'image' => [
        "validate" => 'mimes:jpeg,bmp,png,gif,txt,doc,docs,xsl,xsls,ppt,ppts',
        "validate_msg" => [],
        "folder" => "image",
        "filesystem" => "public",//使用的储存系统
    ],
    'avatar' => [
        "validate" => 'mimes:jpeg,bmp,png,gif|dimensions:min_width=200,min_height=200',
        "validate_msg" => [],
        "folder" => "avatar",
        "filesystem" => "public",//使用的储存系统
        "url" => "/storage/",
        'image_processor' => 'resize:200,null,constraint=aspectRatio&upsize|crop:200,200',
    ],
];