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
01027762
Commit
01027762
authored
Oct 13, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
fcad0507
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
36 deletions
+37
-36
DrawCashFragment.kt
...om/duben/miniplaylet/ui/fragment/draw/DrawCashFragment.kt
+32
-31
gradle.properties
video/gradle.properties
+5
-5
No files found.
video/app/src/main/java/com/duben/miniplaylet/ui/fragment/draw/DrawCashFragment.kt
View file @
01027762
...
...
@@ -204,22 +204,20 @@ class DrawCashFragment : LazyLoadBaseFragment(), OnLoginListener, DrawCashView,
if
(
TextUtils
.
equals
(
payChannel
,
WEIXIN_PAY
))
{
// 微信授权
// if (TextUtils.isEmpty(UserManager.getInstance().wxOpenid)) {
// val wechat = ShareSDK.getPlatform(Wechat.NAME)
// if (!wechat.isClientValid) {
// showToast("请先安装微信")
// return
// }
//
// showToast("微信拉起授权")
// loginApi.setOnLoginListener(this)
// loginApi.setPlatform(Wechat.NAME)
// loginApi.login(requireActivity())
// }
if
(
TextUtils
.
isEmpty
(
UserManager
.
getInstance
().
wxOpenid
))
{
val
wechat
=
ShareSDK
.
getPlatform
(
Wechat
.
NAME
)
if
(!
wechat
.
isClientValid
)
{
showToast
(
"请先安装微信"
)
return
}
showToast
(
"微信拉起授权"
)
loginApi
.
setOnLoginListener
(
this
)
loginApi
.
setPlatform
(
Wechat
.
NAME
)
loginApi
.
login
(
requireActivity
())
return
}
}
else
if
(
TextUtils
.
equals
(
payChannel
,
ALIPAY
)){
// 2、授权支付宝
if
(!
alipayStatus
)
{
// 去授权
...
...
@@ -237,6 +235,9 @@ class DrawCashFragment : LazyLoadBaseFragment(), OnLoginListener, DrawCashView,
})
return
}
}
if
(
it
.
isNeedSeeVedioBeforeCashout
)
{
//票
...
...
video/gradle.properties
View file @
01027762
...
...
@@ -33,13 +33,13 @@ RELEASE_STORE_FILE=mints_miniplaylet.jks
SM_APP_ID
=
"miniplaylet"
#ShareSDK
RELEASE_SHARESDK_KEY=38
45c0fde1969
RELEASE_SHARESDK_SECRET
=
8e1f2a0e4b0ec6ec8404edfabe0cdf61
RELEASE_SHARESDK_KEY=38
af1ca206650
RELEASE_SHARESDK_SECRET
=
140df5a0ae19e6dfee30eb793c043d3f
#weixin
WEIXIN_APP_PAY_ID
=
"wx
7e946f66585ca00a
"
WEIXIN_APP_ID =wx
7e946f66585ca00a
WEIXIN_APP_SECRET
=
6fe41783e736bea36504b271cea484f1
WEIXIN_APP_PAY_ID
=
"wx
8d69898f9fb291e6
"
WEIXIN_APP_ID =wx
8d69898f9fb291e6
WEIXIN_APP_SECRET
=
ad6245d18872ed53a33c0f71418f6cde
#TalkingData
RELEASE_TALKING_DATA_KEY
=
"452F8D546AF34E4ABE7A4A0336CF694B"
...
...
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