msb-fe-tools
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

msb-fe-tools

工具集

language

Installing

Using npm:

$ npm install weixin-units

Using yarn:

$ yarn add weixin-units

Usage

import weixinUnits from weixin-units

API

公众号支付

weixinUnits.jssdkPay(config);

小程序支付

weixinUnits.miniprogramPay(config);

公众号和小程序支付

weixinUnits.weixinPay(config);

NOTE: config 参数为各端对应的支付参数,返回 Promise

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    1
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i msb-fe-tools

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

7.36 kB

Total Files

16

Last publish

Collaborators

  • litao1993