Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
HBHAndroid
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨秀秀
HBHAndroid
Commits
cfc5fefb
Commit
cfc5fefb
authored
Feb 01, 2024
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
69177 【Android-商户app】电费缴纳,在支付方式选择云闪付时,应该提示未安装<云闪付>app
parent
4cd73e04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ElectricPayViewModel.java
.../com/xx/merchanthbh/ui/electric/ElectricPayViewModel.java
+3
-3
No files found.
app/src/main/java/com/xx/merchanthbh/ui/electric/ElectricPayViewModel.java
View file @
cfc5fefb
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment