![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nodejs
jay lian
这个作者很懒,什么都没留下…
展开
-
restful,,Digest鉴权 js
const http = require(‘http’) const md5 = require(‘md5-node’); class node_digest { constructor(url, port, path, method) { this.username = ‘admin’; this.password = ‘szds@admin’ this.url = ‘’// a/b/c this.nc = ‘00000001’ this.qop = ‘auth’; this.cnonce = this.原创 2021-06-28 14:23:58 · 285 阅读 · 0 评论 -
关于使用egg框架连接postgres超时问题
首先原来的连接是没问题,然后手贱升级了一下node版本到14.0.0,然后就一直报连接数据库超时,主要我升级之后还做了其他好多事情 ,所以我不确定是不是node版本问题,结果我回退到12.0.0版本之后就可以使用了,然后我看了一下egg-postgres包结果确实是版本问题,因为这个包是封装的postgres高版本没有兼容. ...原创 2021-02-19 09:41:13 · 612 阅读 · 0 评论