wechat(小程序)
1
Maybe I Simple
这个作者很懒,什么都没留下…
展开
-
微信JSAPI支付V2版本(PHP)
1、支付 (member_id 用户id) public function unifyPay(){ $param = (I('get.')); if(!$param['member_id'] || !$param['order_sn']){ return json_encode(['code'=>201,'message'=>'缺少参数']); } $data = []; $..原创 2021-03-13 14:26:07 · 1983 阅读 · 0 评论 -
获取access_token(PHP)
1、获取access_token public function getaccesstoken(){ $appid = ''; $appsecrect = ''; $url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=".$appid."&secret=".$appsecrect; $res = jso..原创 2021-02-02 14:49:08 · 446 阅读 · 0 评论 -
微信小程序获取分享二维码(PHP)
1.1、curl post请求。原创 2021-02-02 14:45:35 · 953 阅读 · 2 评论