![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信小程序
LazyHunter9
Nothing is difficult,if you put you heart into it.
展开
-
微信小程序倒计时重置爬坑
const constants = require('../../constants.js');const request = require('../../utils/request.js');var countdown = 0;var countTimeout = null;// pages/answer/answer.jsPage({ /** * 页面的初始数据原创 2018-01-26 17:39:26 · 3236 阅读 · 2 评论 -
微信小程序发送模板消息(使用jiaweixs)
<?php/** * Created by PhpStorm. * User: 老辉辉 * Date: 2018/1/15 * Time: 15:13 */namespace app\common\sendmessage;use app\common\model\User;use app\common\model\UserFormId;use JiaweiXS\WeApp\W原创 2018-05-17 10:40:51 · 617 阅读 · 0 评论 -
小程序发起微信支付(使用jiaweixs)
首先引用一下微信官方文档的业务流程时序图,这是最简洁明了的:商户系统和微信支付系统主要交互: 1、小程序内调用登录接口,获取到用户的openid,api参见公共api【小程序登录API】 2、商户server调用支付统一下单,api参见公共api【统一下单API】 3、商户server调用再次签名,api参见公共api【再次签名】 4、商户server接收支付通知,api参...原创 2018-05-17 11:09:53 · 915 阅读 · 0 评论