请求地址:

请求地址请求方法
http://proxy-os.aimlt.com/cgibin/Baidueditorupload?action=configGET/POST

公共参数:

请求参数

参数类型是否必填最大长度描述示例值






返回示例

bd__editor__w2ttu4(
{
    "imageActionName":"uploadimage",
    "imageFieldName":"file",
    "imageMaxSize":4194304,
    "imageAllowFiles":[
        ".png",
        ".jpg",
        ".jpeg",
        ".gif",
        ".bmp"
    ],
    "imageCompressEnable":false,
    "imageCompressBorder":1600,
    "imageInsertAlign":"none",
    "imageUrlPrefix":"",
    "imagePathFormat":"/public/up/20200222",
    "scrawlActionName":"uploadscrawl",
    "scrawlFieldName":"file",
    "scrawlPathFormat":"/public/up/20200222",
    "scrawlMaxSize":4194304,
    "scrawlUrlPrefix":"",
    "scrawlInsertAlign":"none",
    "snapscreenActionName":"uploadimage",
    "snapscreenPathFormat":"/public/up/20200222",
    "snapscreenUrlPrefix":"",
    "snapscreenInsertAlign":"none",
    "catcherLocalDomain":[
        "127.0.0.1",
        "localhost",
        "img.baidu.com"
    ],
    "catcherActionName":"catchimage",
    "catcherFieldName":"source",
    "catcherPathFormat":"/public/up/20200222",
    "catcherUrlPrefix":"",
    "catcherMaxSize":4194304,
    "catcherAllowFiles":[
        ".png",
        ".jpg",
        ".jpeg",
        ".gif",
        ".bmp"
    ],
    "videoActionName":"uploadvideo",
    "videoFieldName":"file",
    "videoPathFormat":"/public/up/20200222",
    "videoUrlPrefix":"",
    "videoMaxSize":5368709120,
    "videoAllowFiles":[
        ".flv",
        ".swf",
        ".mkv",
        ".avi",
        ".rm",
        ".rmvb",
        ".mpeg",
        ".mpg",
        ".ogg",
        ".ogv",
        ".mov",
        ".wmv",
        ".mp4",
        ".webm",
        ".mp3",
        ".wav",
        ".mid"
    ],
    "fileActionName":"uploadfile",
    "fileFieldName":"file",
    "filePathFormat":"/public/up/20200222",
    "fileUrlPrefix":"",
    "fileMaxSize":5368709120,
    "fileAllowFiles":[
        ".png",
        ".jpg",
        ".jpeg",
        ".gif",
        ".bmp",
        ".flv",
        ".swf",
        ".mkv",
        ".avi",
        ".rm",
        ".rmvb",
        ".mpeg",
        ".mpg",
        ".ogg",
        ".ogv",
        ".mov",
        ".wmv",
        ".mp4",
        ".webm",
        ".mp3",
        ".wav",
        ".mid",
        ".rar",
        ".zip",
        ".tar",
        ".gz",
        ".7z",
        ".bz2",
        ".cab",
        ".iso",
        ".doc",
        ".docx",
        ".xls",
        ".xlsx",
        ".ppt",
        ".pptx",
        ".pdf",
        ".txt",
        ".md",
        ".xml"
    ],
    "imageManagerActionName":"listimage",
    "imageManagerListPath":"/ueditor/php/upload/image/",
    "imageManagerListSize":20,
    "imageManagerUrlPrefix":"",
    "imageManagerInsertAlign":"none",
    "imageManagerAllowFiles":[
        ".png",
        ".jpg",
        ".jpeg",
        ".gif",
        ".bmp"
    ],
    "fileManagerActionName":"listfile",
    "fileManagerListPath":"/ueditor/php/upload/file/",
    "fileManagerUrlPrefix":"",
    "fileManagerListSize":20,
    "fileManagerAllowFiles":[
        ".png",
        ".jpg",
        ".jpeg",
        ".gif",
        ".bmp",
        ".flv",
        ".swf",
        ".mkv",
        ".avi",
        ".rm",
        ".rmvb",
        ".mpeg",
        ".mpg",
        ".ogg",
        ".ogv",
        ".mov",
        ".wmv",
        ".mp4",
        ".webm",
        ".mp3",
        ".wav",
        ".mid",
        ".rar",
        ".zip",
        ".tar",
        ".gz",
        ".7z",
        ".bz2",
        ".cab",
        ".iso",
        ".doc",
        ".docx",
        ".xls",
        ".xlsx",
        ".ppt",
        ".pptx",
        ".pdf",
        ".txt",
        ".md",
        ".xml"
    ]
}
)

返回参数说明(详情编辑器config.json文件说明)

参数描述



异常示例

{"errcode":"100003","errmsg":"Failed to upload file"}