feat:补充支付结果未登录判断

This commit is contained in:
Max
2024-02-01 15:07:27 +08:00
parent fb6d784c1d
commit 82ad02f2a7

View File

@@ -31,8 +31,9 @@ class PaymentResultActivity : Activity(), ILog {
} else {
val status = uri?.getQueryParameter("status")?.toIntOrNull()
logD("handler() status:$status")
if (status == 1) {
PayModel.get().getWalletInfo(AuthModel.get().currentUid).subscribe()
val uid = AuthModel.get().currentUid
if (status == 1 && uid != 0L) {
PayModel.get().getWalletInfo(uid).subscribe()
}
}
finish()