wechat-miniprogram / wechat-miniprogram/api-typings
API 的定义文件中缺少企业微信专有接口的定义
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 803
- Forks
- 117
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
微信小程序开始支持在企业微信中运行,提供了一些专有接口。这些接口以 wx.qy 开头,如 wx.qy.login,但并未包含在目前的定义文件中。
请求将这些接口添加到定义文件中:
wx.qy.login
wx.qy.checkSession
wx.qy.canIUse
wx.qy.getEnterpriseUserInfo
wx.qy.getAvatar
wx.qy.getQrCode
wx.qy.selectEnterpriseContact
wx.qy.openEnterpriseChat
wx.qy.selectExternalContact
wx.qy.getCurExternalContact
wx.qy.openUserProfile
wx.qy.getNFCReaderState
wx.qy.startNFCReader
wx.qy.stopNFCReader
企业微信专有接口的文档如下:
https://developers.weixin.qq.com/miniprogram/dev/dev_wxwork/dev-doc/qywx-api.html
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the TypeScript API definition files and the existing wx.* declarations; no specific file or test is named in the issue. Use the linked WeChat Work API documentation to add the 14 listed wx.qy interfaces, then run the repository's available type-checking or test commands to confirm every interface is exposed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 43/100