Skip to content

Commit

Permalink
fix(alipay): 添加获取会员信息api (#4145)
Browse files Browse the repository at this point in the history
  • Loading branch information
WingGao authored and luckyadam committed Aug 12, 2019
1 parent 6c4e69b commit c8563cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/taro/src/native-apis.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ const otherApis = {
checkIsSoterEnrolledInDevice: true,

setEnableDebug: true,
// 支付宝小程序API
getOpenUserInfo: true,

// 百度小程序专有 API
// 百度小程序 AI 相关
Expand Down
6 changes: 6 additions & 0 deletions packages/taro/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10304,6 +10304,12 @@ declare namespace Taro {
*/
function setEnableDebug(OBJECT: setEnableDebug.Param): Promise<setEnableDebug.Promised>

/**
* @since 10.1.35
* 此接口可获取支付宝会员的基础信息
*/
function getOpenUserInfo(): Promise<string>

interface OffscreenCanvas {
/**
*
Expand Down

0 comments on commit c8563cd

Please sign in to comment.