11 2019 档案

摘要:1.启动eggjs pm2 start npm --name eggjs -- run dev 修改代码,无需重启 阅读全文
posted @ 2019-11-30 15:41 江山一族 阅读(2161) 评论(0) 推荐(0)
摘要:话不多说,直接复制即用。。。 function regIdCard(idcode) { const weight_factor = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2]; const check_code = ['1', '0', 阅读全文
posted @ 2019-11-07 15:53 江山一族 阅读(267) 评论(0) 推荐(0)
摘要:const Redis = require('ioredis'); const {getmac)= require(' getmac'); getmac();//获取mac地址 const cache = new Redis({ port: 6300, // Redis port host: "19 阅读全文
posted @ 2019-11-02 09:23 江山一族 阅读(3346) 评论(1) 推荐(0)