Commit f1ec4bb0 by 万齐军

接通率优化,支付重复回调

parent 0e5db903
...@@ -5,8 +5,8 @@ import android.app.Activity ...@@ -5,8 +5,8 @@ import android.app.Activity
import android.app.Dialog import android.app.Dialog
import android.graphics.Point import android.graphics.Point
import android.os.Bundle import android.os.Bundle
import androidx.appcompat.app.AlertDialog
import android.view.* import android.view.*
import androidx.appcompat.app.AlertDialog
import com.ydl.ydlcommon.data.http.RxUtils import com.ydl.ydlcommon.data.http.RxUtils
import com.ydl.ydlcommon.utils.StringUtils import com.ydl.ydlcommon.utils.StringUtils
import com.ydl.ydlcommon.utils.log.AliYunLogConfig import com.ydl.ydlcommon.utils.log.AliYunLogConfig
...@@ -192,7 +192,6 @@ class PayDialog : Dialog { ...@@ -192,7 +192,6 @@ class PayDialog : Dialog {
LogHelper.getInstance().writeLogSync("支付成功") LogHelper.getInstance().writeLogSync("支付成功")
AliYunRichLogsHelper.getInstance().sendRichLog(AliYunLogConfig.PAY,"支付成功") AliYunRichLogsHelper.getInstance().sendRichLog(AliYunLogConfig.PAY,"支付成功")
this.callBack?.onSuccess()
dismiss() dismiss()
}, { }, {
AliYunRichLogsHelper.getInstance().sendRichLog(AliYunLogConfig.PAY,"支付失败:${it.message}") AliYunRichLogsHelper.getInstance().sendRichLog(AliYunLogConfig.PAY,"支付失败:${it.message}")
......
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