摘要: 坑:先设置js接口安全域名,在公众号设置-功能设置-js接口安全域名中设置 授权登录功能需要在开发者中心页配置授权回调域名 文档:http://mp.weixin.qq.com/wiki/7/aaa137b55fb2e0456bf8dd9148dd613f.html 签名验证工具:http://mp 阅读全文
posted @ 2016-07-14 18:44 until-u 阅读(4363) 评论(0) 推荐(0) 编辑
摘要: 一、获取用户openid 1.进入授权页面,获取code 2.授权后,回调页面通过code获取access_token 3.用access_token获取openid等用户基本信息 以上(2,3步在后台执行) 二、用openid获取调用JSAPI支付的参数 1.调用统一下单API,取得预支付id(p 阅读全文
posted @ 2016-07-14 16:52 until-u 阅读(272) 评论(0) 推荐(0) 编辑