1.0.0 • Published 2 years ago
xbb-api-qywx-1 v1.0.0
销帮帮API Client
安装
npm install xbb-api
使用
const XbbClient = require('xbb-api')
const client = new XbbClient({
token: '您的token',
corpId: '您的corpId',
userId: '您的userId'
})
// client.request('业务模块', 业务参数).then(res => {
// console.log(res)
// })
client.request('user/list', {
page: 1,
pageSize: 20,
}).then(res => {
console.log(res)
})
更多API详情可以进这里查看
1.0.0
2 years ago