修改支付的问题

This commit is contained in:
gaoxs
2020-04-24 18:03:29 +08:00
11 changed files with 76 additions and 34 deletions

View File

@ -145,11 +145,11 @@ export const replaceLogin = (msg) => {
}
}
export const getProvider = () => {
export const getProvider = (service) => {
return new Promise((resolve, reject) => {
// 获取当前环境的服务商
uni.getProvider({
service: 'oauth',
service: service || 'oauth',
success: function (res) {
// 此处可以排除h5
if (res.provider) {