Commit c54af9b9 authored by zhaopengxiang's avatar zhaopengxiang

退款超上限话术修改

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