2020年7月1日

egg.js 中使用 egg-mysql 操作 mysql 数据库

摘要: 一、egg-mysql 的安装配置 1、在 egg 项目中安装 egg-mysql npm i egg-mysql --save 2、在 {app_root}/config/plugin.js 中启用 egg-mysql 插件: exports.mysql = { enable: true, pac 阅读全文

posted @ 2020-07-01 19:29 LoaderMan 阅读(1813) 评论(0) 推荐(0) 编辑

导航