摘要: class DBPool { constructor() { this.mysql = require("mysql"); this.config = require("./db.config"); //1.创建mysql连接对象 this.pool = this.mysql.createPool( 阅读全文
posted @ 2022-07-08 11:54 土豆哥 阅读(259) 评论(0) 推荐(0) 编辑