Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 280 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 280 Bytes

WXPay

微信支付工具库

安装

yarn add @lkspc/wxpay

用法

初始化

const WXPay = require('@lkspc/wxpay');

const wxpay = new WXPay(config);

统一下单

wxpay.unifiedOrder({
  out_trade_no: '201804010000',
  // ...
});