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
eda5d071
Commit
eda5d071
authored
Feb 01, 2024
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
8e8ef62c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
VipPresenter.kt
...n/java/com/duben/shortplay/mvp/presenters/VipPresenter.kt
+3
-0
No files found.
video/app/src/main/java/com/duben/shortplay/mvp/presenters/VipPresenter.kt
View file @
eda5d071
...
@@ -152,6 +152,7 @@ class VipPresenter : BasePresenter<VipView>() {
...
@@ -152,6 +152,7 @@ class VipPresenter : BasePresenter<VipView>() {
fun
getVipProducts
(
isInstallAlipay
:
Boolean
)
{
fun
getVipProducts
(
isInstallAlipay
:
Boolean
)
{
val
vo
=
HashMap
<
String
,
Any
>()
val
vo
=
HashMap
<
String
,
Any
>()
vo
[
"isInstallAlipay"
]
=
isInstallAlipay
vo
[
"isInstallAlipay"
]
=
isInstallAlipay
vo
[
"oaid"
]
=
MintsApplication
.
OAID
view
.
showLoading
(
"加载中..."
)
view
.
showLoading
(
"加载中..."
)
AppHttpManager
.
getInstance
(
loanApplication
)
AppHttpManager
.
getInstance
(
loanApplication
)
...
@@ -188,6 +189,7 @@ class VipPresenter : BasePresenter<VipView>() {
...
@@ -188,6 +189,7 @@ class VipPresenter : BasePresenter<VipView>() {
vo
[
"payChannel"
]
=
payChannel
vo
[
"payChannel"
]
=
payChannel
vo
[
"pid"
]
=
pid
vo
[
"pid"
]
=
pid
vo
[
"isInstallAlipay"
]
=
isInstallAlipay
vo
[
"isInstallAlipay"
]
=
isInstallAlipay
vo
[
"oaid"
]
=
MintsApplication
.
OAID
AppHttpManager
.
getInstance
(
loanApplication
)
AppHttpManager
.
getInstance
(
loanApplication
)
.
call
(
loanService
.
getVipPayParams
(
vo
),
.
call
(
loanService
.
getVipPayParams
(
vo
),
object
:
BaseSubscriber
<
BaseResponse
<
WxPayParamBean
>>()
{
object
:
BaseSubscriber
<
BaseResponse
<
WxPayParamBean
>>()
{
...
@@ -220,6 +222,7 @@ class VipPresenter : BasePresenter<VipView>() {
...
@@ -220,6 +222,7 @@ class VipPresenter : BasePresenter<VipView>() {
fun
queryVipOrder
(
tid
:
String
,
isPay
:
Boolean
)
{
fun
queryVipOrder
(
tid
:
String
,
isPay
:
Boolean
)
{
val
vo
=
HashMap
<
String
,
Any
>()
val
vo
=
HashMap
<
String
,
Any
>()
vo
[
"tid"
]
=
tid
vo
[
"tid"
]
=
tid
vo
[
"oaid"
]
=
MintsApplication
.
OAID
AppHttpManager
.
getInstance
(
loanApplication
)
AppHttpManager
.
getInstance
(
loanApplication
)
.
call
(
loanService
.
queryVipOrder
(
vo
),
.
call
(
loanService
.
queryVipOrder
(
vo
),
object
:
BaseSubscriber
<
BaseResponse
<
Any
>>()
{
object
:
BaseSubscriber
<
BaseResponse
<
Any
>>()
{
...
...
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