Commit cea0d5b3 by sunchao

支付宝提现

parent e670a9f9
...@@ -290,7 +290,7 @@ export default { ...@@ -290,7 +290,7 @@ export default {
return request(`${apiURL}/pay/unifiedRefund`, "POST", params) return request(`${apiURL}/pay/unifiedRefund`, "POST", params)
}, },
//判断是否授权 //判断是否授权
isAuth(){ isAuth(params){
return request(`${apiURL}/aliPay/isAuth`, "POST", params) return request(`${apiURL}/aliPay/isAuth`, "POST", params)
} }
} }
...@@ -232,6 +232,14 @@ ...@@ -232,6 +232,14 @@
} }
// #endif // #endif
} }
}else{
if(this.paymentMethod == 1){
this.wxWithdrawal();
}
if(this.paymentMethod == 2){
this.aliWithdrawal();
}
} }
}else{ }else{
uni.showModal({ uni.showModal({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment