Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加requestVirtualPayment #16410

Open
3lang3 opened this issue Aug 27, 2024 · 1 comment
Open

添加requestVirtualPayment #16410

3lang3 opened this issue Aug 27, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@3lang3
Copy link

3lang3 commented Aug 27, 2024

这个特性解决了什么问题?

微信小程序虚拟支付

这个 API 长什么样?

和微信api同步

@taro-bot2 taro-bot2 bot added enhancement New feature or request labels Aug 27, 2024
This was referenced Aug 31, 2024
@hanjin001
Copy link

hanjin001 commented Sep 8, 2024

支持微信(或其他)小程序的所有新 API 的,源码是通过 Object.keys(global) 赋值到 Taro 对象上的globalwxmy 这些。只是requestVirtualPayment 暂时缺失 TS 类型而已(欢迎提PR),可以使用。可以用 // @ts-ignore 暂时忽略 TS 报错即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants