提交 12b302b2 编写于 作者: VK1688's avatar VK1688

update: 补充uni-pay-x缺省的类型

上级 8093cd1e
......@@ -419,7 +419,7 @@
console.log("requestPaymentFail", JSON.stringify(err))
let errCode = err.errCode;
let errMsg = err.errMsg;
if (errCode == 700713) {
if (errCode == 701110) {
// 用户取消支付
this.$emit("cancel", err);
} else if (errMsg.indexOf("fail cancel") > -1) {
......@@ -456,7 +456,7 @@
return {
errCode: -1,
errMsg: (err as Error).message
}
} as UTSJSONObject
}
},
// 发起退款(此接口需要admin角色才可以访问)
......@@ -468,7 +468,7 @@
return {
errCode: -1,
errMsg: (err as Error).message
}
} as UTSJSONObject
}
},
// 查询退款(查询退款情况)
......@@ -480,7 +480,7 @@
return {
errCode: -1,
errMsg: (err as Error).message
}
} as UTSJSONObject
}
},
// 关闭订单
......@@ -492,7 +492,7 @@
return {
errCode: -1,
errMsg: (err as Error).message
}
} as UTSJSONObject
}
},
// 获取支持的支付供应商
......@@ -504,7 +504,7 @@
return {
errCode: -1,
errMsg: (err as Error).message
}
} as UTSJSONObject
}
},
// 获取支付配置内的appid(主要用于获取获取微信公众号的appid,用以获取code)
......@@ -516,7 +516,7 @@
return {
errCode: -1,
errMsg: (err as Error).message
}
} as UTSJSONObject
}
},
// 根据code获取openid
......@@ -528,7 +528,7 @@
return {
errCode: -1,
errMsg: (err as Error).message
}
} as UTSJSONObject
}
},
// 验证iosIap苹果内购支付凭据
......@@ -540,7 +540,7 @@
return {
errCode: -1,
errMsg: (err as Error).message
}
} as UTSJSONObject
}
},
// 支付成功后的逻辑
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册