Commit cfc5fefb authored by 小费同学阿's avatar 小费同学阿 💬

69177 【Android-商户app】电费缴纳,在支付方式选择云闪付时,应该提示未安装<云闪付>app

parent 4cd73e04
......@@ -236,7 +236,7 @@ public class ElectricPayViewModel extends BaseViewModel<ElectricPayRequest> {
String name = "微信";
if (data.getWay().equals("UNION_PAY")) {
p = "com.unionpay";
name = "binding.refresh.finishLoadMoreWithNoMoreData();";
name = "云闪付";
} else if (data.getWay().equals("ALIPAY")) {
p = "com.eg.android.AlipayGphone";
name = "支付宝";
......@@ -247,13 +247,13 @@ public class ElectricPayViewModel extends BaseViewModel<ElectricPayRequest> {
try {
PackageInfo info = pm.getPackageInfo(p, 0);
if (info == null) {
ToastUtils.showShort("未安装" + name);
ToastUtils.showShort("未安装<" + name + ">app");
return;
}
} catch (PackageManager.NameNotFoundException e) {
e.printStackTrace();
ToastUtils.showShort("未安装" + name);
ToastUtils.showShort("未安装<" + name + ">app");
return;
}
......
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