Git Product home page Git Product logo

wechatxiaowei's Introduction

最新公告

  • 此处不在更新

  • 小微商户最新的已经合并到了EasyWeChat中,安装使用请点这 overtrue/wechat

  • composer包使用有问题,你可以在这里提问 overtrue/wechat:Issues,小微商户模块的问题请@wannanbigpig

WechatXiaowei

微信小微商户接口PHP示例

使用说明

1、该接口使用laravel框架写的,如果移植到其他框架需要改动里面获取配置等方法、图片上传接口需要改动,其他地方基本没有使用laravel内置函数,具体的可以根据调试信息修改下,调整地方不多。(注:PHP版本小于7的话,里面 ?? 写法需要改掉)

2、下载证书解密返回的密文需要开启libsodium扩展(PHP >= 7.2 安装包自带这个扩展,去php.ini开启一下就行,< 7.2 的需要去安装这个扩展)【安装方法:https://blog.csdn.net/u010324331/article/details/82153067

3、调用申请入驻等接口里面需要下载证书接口返回的序列号和需要解密后证书 public_key 来加密敏感信息,所以需要先调用下载证书接口

4、该示例代码仅供学习使用,未经充分测试。直接使用到生产环境中导致的后果概不负责。

2019年3月5号更新

1、更新了下载证书接口

2、新增小微商户升级接口

3、新增小微商户升级状态查询接口

4、其他

wechatxiaowei's People

Contributors

liumenglei avatar wannanbigpig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.