埋点: init payout check
This commit is contained in:
parent
f645aabc70
commit
3285bd7b06
|
|
@ -241,6 +241,13 @@ class WithDrawActivity : AppViewsEmptyViewModelActivity<ViewBinding>() {
|
||||||
|
|
||||||
if (failType > 0) {
|
if (failType > 0) {
|
||||||
showFailDialog(WithdrawManager.instance().getFailHintStrRes(failType))
|
showFailDialog(WithdrawManager.instance().getFailHintStrRes(failType))
|
||||||
|
|
||||||
|
StatisticUtil.reportEvents(StatisticUtil.KEY_Withdrawal_Reason, mapOf(
|
||||||
|
"Reason_Type" to "Fail",
|
||||||
|
"Fail_Reason" to failType,
|
||||||
|
"Withdrawal_Position" to withdrawNum,
|
||||||
|
"Withdrawal_Day" to 1,
|
||||||
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -279,6 +286,13 @@ class WithDrawActivity : AppViewsEmptyViewModelActivity<ViewBinding>() {
|
||||||
if (failType != null && failType > 0) {
|
if (failType != null && failType > 0) {
|
||||||
failType += 20
|
failType += 20
|
||||||
showFailDialog(WithdrawManager.instance().getFailHintStrRes(failType))
|
showFailDialog(WithdrawManager.instance().getFailHintStrRes(failType))
|
||||||
|
|
||||||
|
StatisticUtil.reportEvents(StatisticUtil.KEY_Withdrawal_Reason, mapOf(
|
||||||
|
"Reason_Type" to "Fail",
|
||||||
|
"Fail_Reason" to failType,
|
||||||
|
"Withdrawal_Position" to payCashNum,
|
||||||
|
"Withdrawal_Day" to 1,
|
||||||
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -479,7 +479,7 @@ class WithdrawManager private constructor() {
|
||||||
private fun sendWithdrawResultStatistic(cashNum: Double, isSuccess: Boolean, failType: Int) {
|
private fun sendWithdrawResultStatistic(cashNum: Double, isSuccess: Boolean, failType: Int) {
|
||||||
StatisticUtil.reportEvents(StatisticUtil.KEY_Withdrawal_Reason,
|
StatisticUtil.reportEvents(StatisticUtil.KEY_Withdrawal_Reason,
|
||||||
mapOf("Reason_Type" to (if (isSuccess) "Success" else "Fail"),
|
mapOf("Reason_Type" to (if (isSuccess) "Success" else "Fail"),
|
||||||
"Fail_Reason" to getFailHintStrRes(failType),
|
"Fail_Reason" to failType.toString() + ": " + getFailHintStrRes(failType),
|
||||||
"Withdrawal_Position" to cashNum,
|
"Withdrawal_Position" to cashNum,
|
||||||
"Withdrawal_Day" to 1))
|
"Withdrawal_Day" to 1))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue