# wxPromise **Repository Path**: liyime/wx-promiss ## Basic Information - **Project Name**: wxPromise - **Description**: 微信小程序方法请求二次封装 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-22 - **Last Updated**: 2022-02-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 微信小程序 Promiss 封装 wechat Applet Promise package ### 用于将微信小程序无接口请求, API异步函数封装为 Promise 风格 ```js 使用方法比如: const promisify from 'index.js' const login = promisify(wx.login) login() .then(res => { console.log(res.code) }) ```