提交 aab373e9 编写于 作者: 雪洛's avatar 雪洛

Update protocols.js

上级 c576892e
......@@ -153,9 +153,9 @@ const protocols = {
}
},
requestPayment: {
name: tt.canIUse && tt.canIUse('pay') ? 'pay' : 'requestPayment',
name: tt.pay ? 'pay' : 'requestPayment',
args: {
orderInfo: tt.canIUse && tt.canIUse('pay') ? 'orderInfo' : 'data'
orderInfo: tt.pay ? 'orderInfo' : 'data'
}
},
getFileInfo: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册