![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nodejs
瑞查德
这个作者很懒,什么都没留下…
展开
-
简单的 express+multer 实现 upload
简单的 express+multer 实现 upload1. init and install packages2. node code2.1 app.js2.2 upload.js3. client code 1. init and install packages npm init -y npm i -D express multer 2. node code 2.1 app.js cons...原创 2018-11-14 18:19:34 · 240 阅读 · 0 评论 -
mongoose promisify
mongoose promisifyeventusefind event const util = require('util') const mongoose = require('mongoose') class Mongo { constructor() { this.m = mongoose this.m.connect = util.promis...原创 2018-11-16 15:37:29 · 189 阅读 · 0 评论