Commit c54af9b9 authored by zhaopengxiang's avatar zhaopengxiang

退款超上限话术修改

parent d3cc17ee
......@@ -211,9 +211,14 @@ class PriceInputActivity : BaseActivity() {
payResult.onFailure {
dismissProgressDialog()
it.message?.let { it1 ->
if(it1.contains("大于可退金额")){
CenterToasty.error(this, "本次退款金额大于可退金额!", Toast.LENGTH_LONG).show()
}else{
CenterToasty.error(this, it1, Toast.LENGTH_LONG).show()
}
}
}
payResult.onSuccess {
dismissProgressDialog()
CenterToasty.success(this, "退款成功!!", Toast.LENGTH_LONG).show()
......
......@@ -47,7 +47,7 @@ class RefundActivity : BaseActivity() {
dismissProgressDialog()
PriceInputActivity.start(
this@RefundActivity,
PriceInputActivity.Companion.PRICEINPUT_TYPE_CREFUND,
PriceInputActivity.PRICEINPUT_TYPE_CREFUND,
payServiceResponse
)
}
......
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