![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
node
不晓笙
随便写写
展开
-
node实现ueditor上传接口
node实现ueditor上传接口 步骤 1. 编写接口 特别注意的,ueditor请求分为两块,get请求传递action,post请求传递上传所需参数,在写接口时应写为use router.use('/ue/upload', api.Upload.ueditorUpload) 2. 获取action let ActionType = req.query.action 3....原创 2018-05-22 15:37:00 · 1122 阅读 · 0 评论 -
node实现fdfs客户端及其上传图片至fdfs功能
fdfs客户端 let FdfsClient = require('fdfs') let fdfs = new FdfsClient({ // tracker servers trackers: [ { host: 'xxx.xxx.xx.x', port: 22122 } ], /...原创 2018-05-22 16:01:19 · 1470 阅读 · 0 评论