|
|
@ -75,10 +75,12 @@ class DonateActivity : BaseActivity(R.layout.activity_donate) { |
|
|
|
|
|
|
|
|
|
|
|
private fun aliDonate(context: Context) { |
|
|
|
private fun aliDonate(context: Context) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
var qrCode = URLEncoder.encode("https://qr.alipay.com/tsx06677nwdk3javroq4ef0", "utf-8") |
|
|
|
val qrCode = URLEncoder.encode( |
|
|
|
qrCode = "qrcode=$qrCode%3F_s%3Dweb-other" |
|
|
|
"https://qr.alipay.com/fkx03463i8oppupkpsoo1f?_s=Dweb-other", |
|
|
|
qrCode = "saId=10000007&$qrCode&_t=${System.currentTimeMillis()}" |
|
|
|
"utf-8" |
|
|
|
val aliPayQr = "alipayqr://platformapi/startapp?$qrCode" |
|
|
|
) |
|
|
|
|
|
|
|
val aliPayQr = |
|
|
|
|
|
|
|
"alipayqr://platformapi/startapp?saId=10000007&qrcode=$qrCode&_t=${System.currentTimeMillis()}" |
|
|
|
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(aliPayQr)) |
|
|
|
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(aliPayQr)) |
|
|
|
context.startActivity(intent) |
|
|
|
context.startActivity(intent) |
|
|
|
} catch (e: Exception) { |
|
|
|
} catch (e: Exception) { |
|
|
|