提交 bc4c5cf5 编写于 作者: D DCloud_LXH

chore(mp-ks): ks not defined

上级 cff9dd64
......@@ -116,6 +116,7 @@
"my": true,
"swan": true,
"tt": true,
"ks": true,
"qh": true,
"qa": true,
"xhs": true,
......
......@@ -13,7 +13,7 @@ export const protocols = {
getUserProfile,
requestPayment: {
name: ks.pay ? 'pay' : 'requestPayment',
args(fromArgs) {
args (fromArgs) {
if (typeof fromArgs === 'object') {
// ks.pay 服务类型 id(固定值为 '1')
if (ks.pay && !fromArgs.serviceId) fromArgs.serviceId = '1'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册