fi-sdk-share
TypeScript icon, indicating that this package has built-in type declarations

0.0.46 • Public • Published

sdk-wx

使用方法

import wxSdk from 'sdk-wx';

const wx = new wxSdk({
    url: '',
    setUser: () => {}
})

// handleEvents第一个参数为发送的数据,第二个参数为回调函数(可选参数),支持修改发送的数据

wx.handleEvents({}, data => {
    return data;
});

Readme

Keywords

none

Package Sidebar

Install

npm i fi-sdk-share

Weekly Downloads

0

Version

0.0.46

License

ISC

Unpacked Size

7.17 kB

Total Files

8

Last publish

Collaborators

  • bigchui