dsc-wxwork-js-sdk

1.2.1 • Public • Published

dsc-wework-js-sdk

Build a Wework js-sdk package, use for econd development of Wework.

Install:

npm install --save dsc-wework-js-sdk
yarn add wework-js-sdk

Usage:

let wx = require("dsc-wxwork-js-sdk");

wx.config({
    beta: true,// Must  be written like this, otherwise when you use jsapi to call wx.invoke will have some problems.
    debug: true, // turn on debug mode, call all return value of api, which will be in alert in client's end. To view the incoming parameters, this cane be opened on a pc, the parameter information will be displayed through a log, only to be printed on a pc.
    appId: '', // Required, the corpID of Wework.
    timestamp: , // Required, generate a signed timestamp
    nonceStr: '', // Required, generate a signed nonceStr
    signature: '',// Required, signature. See Appendix 1
    jsApiList: [] // Required, required JA interface list, all JS interface list, see Appendix 2
});

Readme

Keywords

Package Sidebar

Install

npm i dsc-wxwork-js-sdk

Weekly Downloads

2

Version

1.2.1

License

ISC

Unpacked Size

42.4 kB

Total Files

6

Last publish

Collaborators

  • skycssing