uni.getSystemInfo({
success(res) {
if(res.platform == 'android') {
const payinfos = '?money='+paymoney+'&external_num='+external_num;
const query = encodeURIComponent(payinfos);
plus.runtime.openURL("alipays://platformapi/startapp?appId=2021002158616517&page=pages/index/index"+query);
}else{
const payinfos = '?money='+paymoney+'&external_num='+external_num;
const query = encodeURIComponent(payinfos);
plus.runtime.openURL("alipay://platformapi/startapp?appId=2021002158616517&page=pages/index/index"+query);
}
}
});