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
6ee82eef
Commit
6ee82eef
authored
Aug 31, 2023
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加海迅支付宝sdk
parent
8064e10d
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
17 additions
and
86 deletions
+17
-86
.gitignore
video/alipay/.gitignore
+0
-5
build.gradle
video/alipay/build.gradle
+0
-44
consumer-rules.pro
video/alipay/consumer-rules.pro
+0
-0
alipaysdk-15.8.05.211018174351.aar
video/alipay/libs/alipaysdk-15.8.05.211018174351.aar
+0
-0
proguard-rules.pro
video/alipay/proguard-rules.pro
+0
-21
AndroidManifest.xml
video/alipay/src/main/AndroidManifest.xml
+0
-5
AliPayResult.java
video/alipay/src/main/java/com/jobo/alipay/AliPayResult.java
+0
-1
build.gradle
video/app/build.gradle
+8
-2
alipaysdk-android-15.8.11.aar
video/app/libs/alipaysdk-android-15.8.11.aar
+0
-0
AliPay.java
.../src/main/java/com/duben/miaoquplaylet/alipay/AliPay.java
+1
-1
AliPayResult.java
...ain/java/com/duben/miaoquplaylet/alipay/AliPayResult.java
+1
-0
AlipayInfoImpl.java
...n/java/com/duben/miaoquplaylet/alipay/AlipayInfoImpl.java
+1
-1
ResultCode.java
.../main/java/com/duben/miaoquplaylet/alipay/ResultCode.java
+1
-1
NinePayActivity.kt
...a/com/duben/miaoquplaylet/ui/activitys/NinePayActivity.kt
+2
-2
VipActivity.kt
.../java/com/duben/miaoquplaylet/ui/activitys/VipActivity.kt
+2
-2
settings.gradle
video/settings.gradle
+1
-1
No files found.
video/alipay/.gitignore
deleted
100644 → 0
View file @
8064e10d
/build
mapping.txt
seeds.txt
unused.txt
priguardMapping.txt
video/alipay/build.gradle
deleted
100755 → 0
View file @
8064e10d
plugins
{
id
'com.android.library'
id
'kotlin-android'
}
android
{
compileSdk
31
defaultConfig
{
minSdk
21
targetSdk
31
versionCode
1
versionName
"1.0"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles
"consumer-rules.pro"
}
buildTypes
{
release
{
minifyEnabled
false
proguardFiles
getDefaultProguardFile
(
'proguard-android-optimize.txt'
),
'proguard-rules.pro'
}
}
compileOptions
{
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
}
kotlinOptions
{
jvmTarget
=
'1.8'
}
}
dependencies
{
// implementation fileTree(dir: 'libs', include: ['*.jar','*.aar'])
implementation
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
api
'com.alipay.sdk:alipaysdk-android:+@aar'
implementation
'androidx.core:core-ktx:1.3.2'
implementation
'androidx.appcompat:appcompat:1.2.0'
implementation
'com.google.android.material:material:1.3.0'
compileOnly
project
(
":rxpay"
)
}
\ No newline at end of file
video/alipay/consumer-rules.pro
deleted
100755 → 0
View file @
8064e10d
video/alipay/libs/alipaysdk-15.8.05.211018174351.aar
deleted
100755 → 0
View file @
8064e10d
File deleted
video/alipay/proguard-rules.pro
deleted
100755 → 0
View file @
8064e10d
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
\ No newline at end of file
video/alipay/src/main/AndroidManifest.xml
deleted
100755 → 0
View file @
8064e10d
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.jobo.alipay"
>
</manifest>
\ No newline at end of file
video/alipay/src/main/java/com/jobo/alipay/AliPayResult.java
deleted
100755 → 0
View file @
8064e10d
package
com
.
jobo
.
alipay
;
import
android.text.TextUtils
;
import
java.util.Map
;
/** * @Desc: 支付宝支付结果 * @author: admin wsj * @Date: 2021/12/28 2:33 下午 */
public
class
AliPayResult
{
private
String
resultStatus
;
private
String
result
;
private
String
memo
;
public
AliPayResult
(
Map
<
String
,
String
>
rawResult
)
{
if
(
rawResult
==
null
)
{
return
;
}
for
(
String
key
:
rawResult
.
keySet
())
{
if
(
TextUtils
.
equals
(
key
,
"resultStatus"
))
{
resultStatus
=
rawResult
.
get
(
key
);
}
else
if
(
TextUtils
.
equals
(
key
,
"result"
))
{
result
=
rawResult
.
get
(
key
);
}
else
if
(
TextUtils
.
equals
(
key
,
"memo"
))
{
memo
=
rawResult
.
get
(
key
);
}
}
}
@Override
public
String
toString
()
{
return
"resultStatus={"
+
resultStatus
+
"};memo={"
+
memo
+
"};result={"
+
result
+
"}"
;
}
/** * @return the resultStatus */
public
String
getResultStatus
()
{
return
resultStatus
;
}
/** * @return the memo */
public
String
getMemo
()
{
return
memo
;
}
/** * @return the result */
public
String
getResult
()
{
return
result
;
}
}
\ No newline at end of file
video/app/build.gradle
View file @
6ee82eef
...
@@ -172,7 +172,8 @@ MobSDK {
...
@@ -172,7 +172,8 @@ MobSDK {
}
}
dependencies
{
dependencies
{
implementation
fileTree
(
include:
[
'*.jar'
,
'*.aar'
],
dir:
'libs'
)
// implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
implementation
fileTree
(
include:
[
'*.jar'
],
dir:
'libs'
)
implementation
'androidx.appcompat:appcompat:1.3.0'
implementation
'androidx.appcompat:appcompat:1.3.0'
implementation
'androidx.constraintlayout:constraintlayout:2.0.4'
implementation
'androidx.constraintlayout:constraintlayout:2.0.4'
implementation
'androidx.recyclerview:recyclerview:1.2.1'
implementation
'androidx.recyclerview:recyclerview:1.2.1'
...
@@ -228,7 +229,7 @@ dependencies {
...
@@ -228,7 +229,7 @@ dependencies {
// 支付
// 支付
api
project
(
':rxpay'
)
api
project
(
':rxpay'
)
api
project
(
':wxpay'
)
api
project
(
':wxpay'
)
api
project
(
':alipay'
)
//
api project(':alipay')
api
project
(
':oaid'
)
api
project
(
':oaid'
)
implementation
'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
implementation
'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
// bugly
// bugly
...
@@ -258,6 +259,11 @@ dependencies {
...
@@ -258,6 +259,11 @@ dependencies {
// 腾讯播放器
// 腾讯播放器
implementation
"com.tencent.liteav:LiteAVSDK_Player:latest.release"
implementation
"com.tencent.liteav:LiteAVSDK_Player:latest.release"
compileOnly
(
name:
'alipaysdk-android-15.8.11'
,
ext:
'aar'
)
implementation
(
name:
'humesdk-1.0.0'
,
ext:
'aar'
)
implementation
(
name:
'ks_adapter_3.3.44.2'
,
ext:
'aar'
)
implementation
(
name:
'kssdk-ad-3.3.44'
,
ext:
'aar'
)
testImplementation
'junit:junit:4.13.2'
testImplementation
'junit:junit:4.13.2'
androidTestImplementation
'androidx.test.ext:junit:1.1.3'
androidTestImplementation
'androidx.test.ext:junit:1.1.3'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.4.0'
...
...
video/app/libs/alipaysdk-android-15.8.11.aar
0 → 100644
View file @
6ee82eef
File added
video/a
lipay/src/main/java/com/jobo
/alipay/AliPay.java
→
video/a
pp/src/main/java/com/duben/miaoquplaylet
/alipay/AliPay.java
100755 → 100644
View file @
6ee82eef
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
**
**
**------------------------------------------------------------------------------
**------------------------------------------------------------------------------
*/
*/
package
com
.
jobo
.
alipay
;
package
com
.
duben
.
miaoquplaylet
.
alipay
;
import
android.annotation.SuppressLint
;
import
android.annotation.SuppressLint
;
import
android.app.Activity
;
import
android.app.Activity
;
...
...
video/app/src/main/java/com/duben/miaoquplaylet/alipay/AliPayResult.java
0 → 100644
View file @
6ee82eef
package
com
.
duben
.
miaoquplaylet
.
alipay
;
import
android.text.TextUtils
;
import
java.util.Map
;
/** * @Desc: 支付宝支付结果 * @author: admin wsj * @Date: 2021/12/28 2:33 下午 */
public
class
AliPayResult
{
private
String
resultStatus
;
private
String
result
;
private
String
memo
;
public
AliPayResult
(
Map
<
String
,
String
>
rawResult
)
{
if
(
rawResult
==
null
)
{
return
;
}
for
(
String
key
:
rawResult
.
keySet
())
{
if
(
TextUtils
.
equals
(
key
,
"resultStatus"
))
{
resultStatus
=
rawResult
.
get
(
key
);
}
else
if
(
TextUtils
.
equals
(
key
,
"result"
))
{
result
=
rawResult
.
get
(
key
);
}
else
if
(
TextUtils
.
equals
(
key
,
"memo"
))
{
memo
=
rawResult
.
get
(
key
);
}
}
}
@Override
public
String
toString
()
{
return
"resultStatus={"
+
resultStatus
+
"};memo={"
+
memo
+
"};result={"
+
result
+
"}"
;
}
/** * @return the resultStatus */
public
String
getResultStatus
()
{
return
resultStatus
;
}
/** * @return the memo */
public
String
getMemo
()
{
return
memo
;
}
/** * @return the result */
public
String
getResult
()
{
return
result
;
}
}
\ No newline at end of file
video/a
lipay/src/main/java/com/jobo
/alipay/AlipayInfoImpl.java
→
video/a
pp/src/main/java/com/duben/miaoquplaylet
/alipay/AlipayInfoImpl.java
100755 → 100644
View file @
6ee82eef
package
com
.
jobo
.
alipay
;
package
com
.
duben
.
miaoquplaylet
.
alipay
;
import
com.jobo.rxpay.base.IPayInfo
;
import
com.jobo.rxpay.base.IPayInfo
;
...
...
video/a
lipay/src/main/java/com/jobo
/alipay/ResultCode.java
→
video/a
pp/src/main/java/com/duben/miaoquplaylet
/alipay/ResultCode.java
100755 → 100644
View file @
6ee82eef
package
com
.
jobo
.
alipay
;
package
com
.
duben
.
miaoquplaylet
.
alipay
;
import
java.util.HashMap
;
import
java.util.HashMap
;
...
...
video/app/src/main/java/com/duben/miaoquplaylet/ui/activitys/NinePayActivity.kt
View file @
6ee82eef
...
@@ -8,8 +8,8 @@ import android.os.Looper
...
@@ -8,8 +8,8 @@ import android.os.Looper
import
android.text.TextUtils
import
android.text.TextUtils
import
android.view.KeyEvent
import
android.view.KeyEvent
import
android.view.View
import
android.view.View
import
com.
jobo
.alipay.AliPay
import
com.
duben.miaoquplaylet
.alipay.AliPay
import
com.
jobo
.alipay.AlipayInfoImpl
import
com.
duben.miaoquplaylet
.alipay.AlipayInfoImpl
import
com.jobo.rxpay.RxPay
import
com.jobo.rxpay.RxPay
import
com.jobo.rxpay.callback.IPayCallback
import
com.jobo.rxpay.callback.IPayCallback
import
com.duben.miaoquplaylet.R
import
com.duben.miaoquplaylet.R
...
...
video/app/src/main/java/com/duben/miaoquplaylet/ui/activitys/VipActivity.kt
View file @
6ee82eef
...
@@ -14,8 +14,8 @@ import com.airbnb.lottie.LottieCompositionFactory
...
@@ -14,8 +14,8 @@ import com.airbnb.lottie.LottieCompositionFactory
import
com.airbnb.lottie.LottieDrawable
import
com.airbnb.lottie.LottieDrawable
import
com.daimajia.androidanimations.library.Techniques
import
com.daimajia.androidanimations.library.Techniques
import
com.daimajia.androidanimations.library.YoYo
import
com.daimajia.androidanimations.library.YoYo
import
com.
jobo
.alipay.AliPay
import
com.
duben.miaoquplaylet
.alipay.AliPay
import
com.
jobo
.alipay.AlipayInfoImpl
import
com.
duben.miaoquplaylet
.alipay.AlipayInfoImpl
import
com.jobo.rxpay.RxPay
import
com.jobo.rxpay.RxPay
import
com.jobo.rxpay.callback.IPayCallback
import
com.jobo.rxpay.callback.IPayCallback
import
com.jobo.wxpay.WXPay
import
com.jobo.wxpay.WXPay
...
...
video/settings.gradle
View file @
6ee82eef
include
':app'
include
':app'
include
':oaid'
include
':oaid'
include
':rxpay'
include
':rxpay'
include
':alipay'
//
include ':alipay'
include
':wxpay'
include
':wxpay'
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