提交 79415a58 编写于 作者: D DCloud_LXH

fix(mp-kuaishou): ks.requestPayment -> ks.pay question/152948

上级 565ca33a
...@@ -10,7 +10,16 @@ export const protocols = { ...@@ -10,7 +10,16 @@ export const protocols = {
previewImage, previewImage,
getSystemInfo, getSystemInfo,
getSystemInfoSync: getSystemInfo, getSystemInfoSync: getSystemInfo,
getUserProfile getUserProfile,
requestPayment: {
name: ks.pay ? 'pay' : 'requestPayment',
args(fromArgs) {
if (typeof fromArgs === 'object') {
// ks.pay 服务类型 id(固定值为 '1')
if (ks.pay && !fromArgs.serviceId) fromArgs.serviceId = '1'
}
}
}
} }
export const todos = [ export const todos = [
'vibrate' 'vibrate'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册