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
a2b2c13c
Commit
a2b2c13c
authored
Jun 25, 2024
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
9cbf0f08
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
+13
-5
LoanService.java
...rc/main/java/com/duben/supertheateru/net/LoanService.java
+2
-2
SplashActivity.kt
...va/com/duben/supertheateru/ui/activitys/SplashActivity.kt
+5
-1
SplashAdActivity.kt
.../com/duben/supertheateru/ui/activitys/SplashAdActivity.kt
+5
-1
shape_green.xml
video/app/src/main/res/drawable/shape_green.xml
+1
-1
No files found.
video/app/src/main/java/com/duben/supertheateru/net/LoanService.java
View file @
a2b2c13c
...
...
@@ -332,13 +332,13 @@ public interface LoanService {
/**
* 支付宝提交
*/
@POST
(
"
roseA
pi/user/reportAlipayMsg"
)
@POST
(
"
a
pi/user/reportAlipayMsg"
)
Observable
<
BaseResponse
<
Object
>>
reportAlipayMsg
(
@Body
Map
<
String
,
Object
>
vo
);
/**
* 获取支付宝授权
*/
@POST
(
"
roseA
pi/user/getAlipayAuthUrl"
)
@POST
(
"
a
pi/user/getAlipayAuthUrl"
)
Observable
<
BaseResponse
<
JsonObject
>>
getAlipayAuthUrl
(
@Body
Map
<
String
,
Object
>
vo
);
/**
...
...
video/app/src/main/java/com/duben/supertheateru/ui/activitys/SplashActivity.kt
View file @
a2b2c13c
...
...
@@ -146,7 +146,11 @@ class SplashActivity : BaseActivity() {
* 跳转到主页面
*/
private
fun
goToMainActivity
()
{
readyGoThenKill
(
MainActivity
::
class
.
java
)
if
(!
UserManager
.
getInstance
().
userIsLogin
())
{
readyGo
(
AlipayLoginActivity
::
class
.
java
)
}
else
{
readyGoThenKill
(
MainActivity
::
class
.
java
)
}
}
override
fun
onKeyDown
(
keyCode
:
Int
,
event
:
KeyEvent
):
Boolean
{
...
...
video/app/src/main/java/com/duben/supertheateru/ui/activitys/SplashAdActivity.kt
View file @
a2b2c13c
...
...
@@ -95,7 +95,11 @@ class SplashAdActivity : BaseActivity() {
* 跳转到主页面
*/
private
fun
goToMainActivity
()
{
readyGoThenKill
(
MainActivity
::
class
.
java
)
if
(!
UserManager
.
getInstance
().
userIsLogin
())
{
readyGo
(
AlipayLoginActivity
::
class
.
java
)
}
else
{
readyGoThenKill
(
MainActivity
::
class
.
java
)
}
}
/**
...
...
video/app/src/main/res/drawable/shape_green.xml
View file @
a2b2c13c
...
...
@@ -2,7 +2,7 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<!-- 填充的颜色 -->
<solid
android:color=
"#
4BB93F
"
/>
<solid
android:color=
"#
1caceb
"
/>
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners
android:radius=
"30dip"
/>
...
...
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