Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
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
0
Merge Requests
0
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
android
android_vedio
Commits
5d09eb76
Commit
5d09eb76
authored
Feb 22, 2024
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
40dbb673
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
VipActivity.kt
...n/java/com/duben/happyplaylet/ui/activitys/VipActivity.kt
+16
-14
No files found.
video/app/src/main/java/com/duben/happyplaylet/ui/activitys/VipActivity.kt
View file @
5d09eb76
...
...
@@ -236,20 +236,22 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
return
}
if
(
vipList
!=
null
&&
vipList
!!
.
size
>
0
)
{
val
vipBean
=
vipList
!!
[
vipAdapter
.
getPosition
()]
if
(
vipBean
.
trialTrialBack
>
0
)
{
// 授权支付
if
(
userBean
?.
isAlipaySet
!!
)
{
alipay
(
paramsBean
)
}
else
{
alipayLoginDialog
(
paramsBean
)
}
}
else
{
// 普通支付
alipay
(
paramsBean
)
}
}
// if (vipList != null && vipList!!.size > 0) {
// val vipBean = vipList!![vipAdapter.getPosition()]
// if (vipBean.trialTrialBack > 0) {
// // 授权支付
// if (userBean?.isAlipaySet!!) {
// alipay(paramsBean)
// } else {
// alipayLoginDialog(paramsBean)
// }
// } else {
// // 普通支付
// alipay(paramsBean)
// }
// }
}
}
}
...
...
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