{"id":13669045,"url":"https://github.com/widuu/utf8_qiniu_ueditor","last_synced_at":"2025-04-09T19:17:41.352Z","repository":{"id":15479307,"uuid":"18212858","full_name":"widuu/utf8_qiniu_ueditor","owner":"widuu","description":"本插件可为UEditor添加向七牛云存储上传图片资源的功能","archived":false,"fork":false,"pushed_at":"2019-01-06T11:55:04.000Z","size":2390,"stargazers_count":45,"open_issues_count":5,"forks_count":21,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-09T19:17:36.704Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/widuu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-28T13:26:52.000Z","updated_at":"2022-10-19T07:04:43.000Z","dependencies_parsed_at":"2022-08-04T04:45:13.103Z","dependency_job_id":null,"html_url":"https://github.com/widuu/utf8_qiniu_ueditor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2Futf8_qiniu_ueditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2Futf8_qiniu_ueditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2Futf8_qiniu_ueditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2Futf8_qiniu_ueditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/widuu","download_url":"https://codeload.github.com/widuu/utf8_qiniu_ueditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094988,"owners_count":21046770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T08:00:59.416Z","updated_at":"2025-04-09T19:17:41.324Z","avatar_url":"https://github.com/widuu.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# 已经停止更新这个版本，最新请查看[https://github.com/widuu/qiniu_ueditor_1.4.3](https://github.com/widuu/qiniu_ueditor_1.4.3)\n\n# Ueditor结合七牛云存储上传图片、附件和图片在线管理的实现\n\n#### 1.0版本修复bug\n\n - 提供多文件上传，解决了以前不能多文件上传问题，最大上传图片32张，最大上传附件10，如果感觉时间不足可修改getToken.php中的时间，现在是3600s\n \n - 修复了文件同名上传失败的问题，解决方案是同名上传覆盖，即bucket:key的方式\n \n - 修复了session丢失的问题\n \n - 修改了上一版执行安全漏洞\n \n - 还有个小bug就是上传覆盖之后，图片不会立即改变这是因为存储端还没有更新缓存，访问domain:key?var=1其实已经更新了\n \n#### 功能截图\n\n\n##### 多图片上传\n\n\n![上传图片](http://yun.widuu.com/images/imagemore.png)\n\n##### 同名文件覆盖\n\n![图片在线管理](http://widuu.u.qiniudn.com/images/diff.png)\n\n##### 多附件上传\n\n![附件上传](http://widuu.u.qiniudn.com/images/filemore.png)\n\n#### 后续\n\n\u003e后续会实现文件效验，实现大附件瞬间上传的机制\n\n\n##### (1)安装使用\n\n\u003e[1]下载安装包-并解压到自己的目录\n\n\u003e[2]修改配置文件\n \n\n  - 修改Ueditor根目录下的ueditor.config.js其中的配置如下\n\n\n\n\t\t,imagePath:\"七牛分配的域名或者你绑定的域名\"\n\t\t,savePath: ['your bucket']\n\t\n\t\t,filePath:\"七牛分配的域名或者你绑定的域名\"   \n\t\t,imageManagerPath:\"七牛分配的域名或者你绑定的域名\"\n\n\n\n  - 修改根目录下/php/conf.php中的代码\n\n\n\t\n\n\t  \t$QINIU_ACCESS_KEY\t= 'your ak';\n\t\t$QINIU_SECRET_KEY\t= 'your sk';\n\t\n\t\t$BUCKET = \"your bucket\";\n\n\n\n\n\u003e[3]OK了，下边就是你添加ueditor在你的网站上了，跟官方配置是一样的\n\n### 效果图\n\n##### 上传图片\n\n![上传图片](http://widuu.u.qiniudn.com/images/fileupload.png)\n\n##### 图片在线管理\n\n![图片在线管理](http://widuu.u.qiniudn.com/images/imagemanner.png)\n\n##### 附件上传\n\n![附件上传](http://widuu.u.qiniudn.com/images/fileupload.png)\n\n本程序由微度网络-网络技术中心提供技术支持和更新和维护，如果您有什么疑问可以去[http://www.widuu.com](http://www.widuu.com)来提交您的问题\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiduu%2Futf8_qiniu_ueditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiduu%2Futf8_qiniu_ueditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiduu%2Futf8_qiniu_ueditor/lists"}