Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vediosocial
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_vediosocial
Commits
b011a6df
Commit
b011a6df
authored
Feb 19, 2025
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
e9849e2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
VipPresenter.kt
...ava/com/duben/loveplayletd/mvp/presenters/VipPresenter.kt
+1
-1
VipActivity.kt
...n/java/com/duben/loveplayletd/ui/activitys/VipActivity.kt
+3
-3
No files found.
video/app/src/main/java/com/duben/loveplayletd/mvp/presenters/VipPresenter.kt
View file @
b011a6df
...
...
@@ -209,7 +209,7 @@ class VipPresenter : BasePresenter<VipView>() {
val
code
:
Int
=
baseResponse
.
getStatus
()
when
(
code
)
{
200
->
{
view
.
getVipPayParamsSuc
(
"ALIPAY"
,
baseResponse
.
data
,
enter
)
view
.
getVipPayParamsSuc
(
payChannel
,
baseResponse
.
data
,
enter
)
}
else
->
{
...
...
video/app/src/main/java/com/duben/loveplayletd/ui/activitys/VipActivity.kt
View file @
b011a6df
...
...
@@ -70,7 +70,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, VipAdapter.On
const
val
IS_MAIN
=
"IS_MAIN"
//是否从首页进入
const
val
IS_RECOMMEND
=
"IS_RECOMMEND"
//是否从推荐页进入
const
val
wxAppId
=
BuildConfig
.
WEIXIN_APP_PAY_ID
const
val
WEIXIN_PAY
=
"WEIXIN
_PAY
"
const
val
WEIXIN_PAY
=
"WEIXIN"
const
val
ALIPAY
=
"ALIPAY"
const
val
THIRD_ID
=
"THIRD_ID"
const
val
VEDIO_ID
=
"VEDIO_ID"
...
...
@@ -288,7 +288,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, VipAdapter.On
*/
private
fun
setVipContent
(
bean
:
VipBean
.
ListBean
)
{
ll_vip_alipay
.
visibility
=
View
.
VISIBLE
ll_vip_wx
.
visibility
=
View
.
GON
E
ll_vip_wx
.
visibility
=
View
.
VISIBL
E
payType
=
ALIPAY
iv_vip_alipay
.
setImageResource
(
R
.
mipmap
.
ic_vip_enable_blue
)
iv_vip_wx
.
setImageResource
(
R
.
mipmap
.
ic_vip_none
)
...
...
@@ -479,7 +479,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, VipAdapter.On
}
// 支付宝支付
vipPresenter
.
getVipPayParams
(
Constant
.
ALI_PAY
,
payType
,
beans
.
pid
,
otherUserId
,
ENTER_TYPE_ACTIVITY
...
...
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