Commit 7d2e7c60 authored by mengcuiguang2's avatar mengcuiguang2

app向支付宝小程序传递包名,支付宝中支付成功来跳转app

parent f23ec9ee
......@@ -10,8 +10,8 @@ android {
applicationId "com.duben.speedplayletu"
minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 713
versionName "7.1.3"
versionCode 715
versionName "7.1.5"
flavorDimensions "default"
// dex突破65535的限制
......
......@@ -777,7 +777,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
AppConfig.enterAlipay = true
try {
val alipayAppId = "2021004157617228"
val path = "app_uid=" + UserManager.getInstance().userID//这里是传的参数
val path = "app_uid=" + UserManager.getInstance().userID+"&package_app="+Constant.MINTS_PKG_NAME//这里是传的参数
val link = URLEncoder.encode(path, "UTF-8")//这里是encode传的参数
val url =
// "alipays://platformapi/startapp?appId=2021004129666486&page=pages/loading&query=" + link
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment