ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
/** * 添加图片 * @datetime 2017-05-02T16:03:25+0800 * @param string $type file | base64 * @param mixed $image * @author 韩文博 */ +++ post:/admin/upload/addImage <<< 返回 { "code": 0, "result": { "info": { "origin": { "size": 6404, "type": "image/png", "url": "http://127.0.0.1//Volumes/dev/www/pianoeye/Upload/20171205/x7nZXPgdhA8uQVH.png" }, "bmid": { "size": 19511, "type": "image/png", "url": "http://127.0.0.1//Volumes/dev/www/pianoeye/Upload/20171205/x7nZXPgdhA8uQVH_bmid.png" }, "thumb": { "size": 10438, "type": "image/png", "url": "http://127.0.0.1//Volumes/dev/www/pianoeye/Upload/20171205/x7nZXPgdhA8uQVH_thumb.png" } } }, "msg": null } <<< +++