代码改变世界

随笔档案-2018年05月

node使用 mongoose聚合 group

2018-05-24 18:27 by muamaker, 4234 阅读, 收藏, 编辑
摘要: 使用aggregate 另外,mongodb 更新后 阅读全文

vue使用md5加密

2018-05-24 15:06 by muamaker, 3634 阅读, 收藏, 编辑
摘要: import crypto from 'crypto' export default { name: 'HelloWorld', data () { return { msg: 'Welcome to Your Vue.js App' } }, mounted(){ this.getmd5("aaa"); }, methods:{ ... 阅读全文

node加密解密 crytpo

2018-05-24 14:06 by muamaker, 375 阅读, 收藏, 编辑
摘要: var crypto = require('crypto'); exports.encrypt = function (str, secret) { var cipher = crypto.createCipher(‘aes192’, secret); var enc = cipher.update(str, ‘utf8’, ‘hex’); enc += cipher.final(‘hex’);... 阅读全文

node微信公众号开发--设置自定义菜单

2018-05-23 15:42 by muamaker, 1070 阅读, 收藏, 编辑
摘要: 网上有些人说,测试账号,不能设置,实际上是可以设置的。。 官方给的配置json是有点问题的,需要删除掉 阅读全文

node微信公众号开发---域名绑定

2018-05-18 21:32 by muamaker, 554 阅读, 收藏, 编辑
摘要: 这里域名绑定,需要做外网穿透,可以参考 http://www.cnblogs.com/muamaker/p/8432586.html 阅读全文

node微信公众号开发---自动回复

2018-05-18 21:29 by muamaker, 834 阅读, 收藏, 编辑
摘要: 微信开发的特点:1.post请求 (一定要注意,这里和配置域名的时候不一样,配置域名是get请求)2.数据包是xml格式的3.你给微信返回的数据也是xml格式的 阅读全文
点击右上角即可分享
微信分享提示