摘要: 因业务需求,自己封装了一些mysql方法,有不足之处请尽管提 安装 npm install mysql 使用 const mysql = require("mysql");function handleError(){ getConn() } function getConn(){ var db = 阅读全文
posted @ 2020-09-15 17:51 张永峰z 阅读(1564) 评论(0) 推荐(0) 编辑
摘要: 安装 npm install node-schedule # 或 yarn add node-schedule 使用(second、minute、hour、 date、dayOfWeek、month、year) 每分钟第1秒执行一次 const schedule = require("node-sc 阅读全文
posted @ 2020-09-15 17:45 张永峰z 阅读(607) 评论(0) 推荐(0) 编辑