PicGo / PicGo-Core

:zap:A tool for pictures uploading. Both CLI & API supports.
https://picgo.github.io/PicGo-Core-Doc/
MIT License
832 stars 84 forks source link

picgo通过web-uploader插件上传到群晖nas搭建的chevereto,输出成功,但没有真正上传 #151

Closed unclebryan719 closed 1 year ago

unclebryan719 commented 1 year ago

picgo通过web-uploader插件上传到群晖nas搭建的chevereto,输出成功,但没有真正上传

picgo版本1.5.0

picgo上传日志 picgo upload -d [PicGo INFO]: Before transform [PicGo INFO]: Transforming... Current transformer is [path] [PicGo INFO]: Before upload [PicGo INFO]: Uploading... Current uploader is [web-uploader] [PicGo SUCCESS]:

以下是我的picgo配置

{ "picBed": { "uploader": "web-uploader", "current": "web-uploader", "web-uploader": { "url": "http://ip+port/api/1/upload", "paramName": "source", "jsonPath": "", "customHeader": "", "customBody": "{\"key\":\"mykey\"}" }, "transformer": "path" }, "picgoPlugins": { "picgo-plugin-web-uploader": true } }

unclebryan719 commented 1 year ago

通过APIfox直接调用API是可以成功的

unclebryan719 commented 1 year ago

picgo upload -d [PicGo INFO]: Before transform [PicGo INFO]: Transforming... Current transformer is [path] [PicGo INFO]: Before upload [PicGo INFO]: Uploading... Current uploader is [web-uploader] [PicGo SUCCESS]: 按理说下面会有图片的路径输出,但实际上没有,在chevereto上也找不到图片

unclebryan719 commented 1 year ago

降到1.4.26可以了

Molunerfinn commented 1 year ago

这个是插件没有适配 1.5.0 的新接口导致的