![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
NodeJS
lzgoer
这个作者很懒,什么都没留下…
展开
-
nodejs request 报错:certificate has expired
nodejs request 请求 Error: certificate has expired nodejs 使用request请求时,报错: Error: certificate has expired at TLSSocket.<anonymous> (_tls_wrap.js:1116) at emitNone (events.js:106) at TLSSocket.emit (events.js:208) at TLSSocket._finishIni原创 2020-06-08 10:25:21 · 6015 阅读 · 7 评论 -
Promise 值穿透
Promise.resolve(1) .then(2) .then(Promise.resolve(3)) .then(console.log) 输出: 1; 解释:.then 或者 .catch 的参数期望是函数,传入非函数则会发生值穿透。原创 2018-10-16 11:47:38 · 2434 阅读 · 0 评论 -
Rabbtmq 启动命令
Rabbtmq 启动命令 1 查看状态:service rabbitmq-server status 2 启动:service rabbitmq-server start 3 暂停:service rabbitmq-server stop原创 2018-10-22 10:40:10 · 303 阅读 · 1 评论