Skip to content

Commit

Permalink
Update apis.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
SpringHgui authored Apr 12, 2022
1 parent 29cd64f commit 7d99684
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions packages/taro-alipay/src/apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { needPromiseApis } from './apis-list'

declare const my: any


const apiDiff = {
login: {
alias: 'getAuthCode',
Expand Down Expand Up @@ -204,8 +203,7 @@ const asyncResultApiDiff = {
return res.code
}
}
],
// remove: ['code']
]
}
},
getClipboard: {
Expand All @@ -217,8 +215,7 @@ const asyncResultApiDiff = {
return res.text
}
}
],
// remove: ['text']
]
}
},
chooseImage: {
Expand All @@ -230,8 +227,7 @@ const asyncResultApiDiff = {
return res.apFilePaths
}
}
],
// remove: ['apFilePaths']
]
}
},
downloadFile: {
Expand All @@ -243,8 +239,7 @@ const asyncResultApiDiff = {
return res.apFilePath
}
}
],
// remove: ['apFilePath']
]
}
},
getAuthCode: {
Expand All @@ -254,8 +249,7 @@ const asyncResultApiDiff = {
value (res) {
return res.authCode
}
}],
// remove: ['authCode']
}]
}
},
getExtConfig: {
Expand All @@ -265,8 +259,7 @@ const asyncResultApiDiff = {
value (res) {
return res.data
}
}],
// remove: ['data']
}]
}
},
saveFile: {
Expand All @@ -278,8 +271,7 @@ const asyncResultApiDiff = {
return res.apFilePath
}
}
],
// remove: ['apFilePath']
]
}
}
}
Expand Down

0 comments on commit 7d99684

Please sign in to comment.