Commit 41d24dc6 by YKai

feat:友盟迁移新仓库,组件升级

parent 3afb39e5
......@@ -33,16 +33,16 @@ buildscript {
password "fjoi#1+#@"
}
}
//Umeng sdk maven 地址
maven { url 'https://dl.bintray.com/umsdk/release' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven {
url 'https://dl.bintray.com/zouyuhan/maven'
}
// maven {
// url 'https://dl.bintray.com/zouyuhan/maven'
// }
google()
jcenter()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
//Umeng sdk maven 地址
maven { url 'https://repo1.maven.org/maven2/'}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0'
......@@ -81,8 +81,6 @@ allprojects {
password "fjoi#1+#@"
}
}
//Umeng sdk maven 地址
maven { url 'https://dl.bintray.com/umsdk/release' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
// maven { url'http://developer.huawei.com/repo/' }
maven { url "https://jitpack.io" }
......@@ -90,12 +88,14 @@ allprojects {
// url 'https://maven.google.com'
url'https://dl.google.com/dl/android/maven2/'
}
maven {
url 'https://dl.bintray.com/zouyuhan/maven'
}
// maven {
// url 'https://dl.bintray.com/zouyuhan/maven'
// }
google()
jcenter()
maven { url 'https://maven.aliyun.com/repository/releases' }
//Umeng sdk maven 地址
maven { url 'https://repo1.maven.org/maven2/'}
}
}
......
......@@ -5,11 +5,11 @@ ext {
ydlPublishVersion = [
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.08",
"m-consultant" : "0.0.59.77",
"m-confide" : "0.0.49.09",
"m-consultant" : "0.0.59.78",
"m-fm" : "0.0.30.03",
"m-user" : "0.0.61.30",
"m-home" : "0.0.22.60",
"m-user" : "0.0.61.31",
"m-home" : "0.0.22.61",
"m-im" : "0.0.18.53",
"m-dynamic" : "0.0.7.22",
"m-article" : "0.0.0.8",
......@@ -33,10 +33,10 @@ ext {
//-------------- 功能组件 --------------
//第一步
"ydl-platform" : "0.0.40.02",
"ydl-platform" : "0.0.40.04",
//第二步 若干
"ydl-webview" : "0.0.38.44",
"ydl-webview" : "0.0.38.45",
"ydl-media" : "0.0.21.9",
"ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.37",
......@@ -88,11 +88,11 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.08",
"m-consultant" : "0.0.59.77",
"m-confide" : "0.0.49.09",
"m-consultant" : "0.0.59.78",
"m-fm" : "0.0.30.01",
"m-user" : "0.0.61.18",
"m-home" : "0.0.22.54",
"m-user" : "0.0.61.31",
"m-home" : "0.0.22.61",
"m-im" : "0.0.18.53",
"m-dynamic" : "0.0.7.22",
"m-article" : "0.0.0.6",
......@@ -115,10 +115,10 @@ ext {
//-------------- 功能组件 --------------
//第一步
"ydl-platform" : "0.0.40.02",
"ydl-platform" : "0.0.40.04",
//第二步 若干
"ydl-webview" : "0.0.38.44",
"ydl-webview" : "0.0.38.45",
"ydl-media" : "0.0.21.9",
"ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.37",
......@@ -230,8 +230,8 @@ ext {
"flowlayout" : "cn.lankton:flowlayout:3.1.0",
"androidanimations" : "com.daimajia.androidanimations:library:2.3@aar",
//友盟统计
"umeng-common" : "com.umeng.umsdk:common:9.3.3",
"umeng-asms" :"com.umeng.umsdk:asms:1.1.4",
"umeng-common" : "com.umeng.umsdk:common:9.3.8",
"umeng-asms" :"com.umeng.umsdk:asms:1.2.2",
//友盟社会化分享
"umeng-share-core" : "com.umeng.umsdk:share-core:7.1.4",
"umeng-share-qq" : "com.umeng.umsdk:share-qq:7.1.4",
......
......@@ -41,13 +41,11 @@ class ConfideHomeHttpImpl private constructor(): IConfideHomeHttp{
override fun recommendList(param : ConfideRecommendParam): Observable<BaseAPIResponse<ConfideHomeDataBean>> {
var inuid = StringBuffer()
if (param != null && param.notInUid != null){
for (i in param.notInUid.indices) {
inuid.append(param.notInUid[i])
if(i<param.notInUid.size-1){
inuid.append(",")
}
val inUid = StringBuffer()
for (i in param.notInUid.indices) {
inUid.append(param.notInUid[i])
if(i<param.notInUid.size-1){
inUid.append(",")
}
}
......@@ -57,7 +55,7 @@ class ConfideHomeHttpImpl private constructor(): IConfideHomeHttp{
.append("sexType").append("=").append(param.getSexType()).append("&")
.append("ageType").append("=").append(param.getAgeType()).append("&")
.append("goodType").append("=").append(param.getGoodType()).append("&")
.append("notInUid").append("=").append(inuid.toString()).append("&")
.append("notInUid").append("=").append(inUid.toString()).append("&")
val confideParam = sb.toString()
return RxUtils.mapObservable(param)
.flatMap {
......
......@@ -65,7 +65,7 @@ android {
}
dependencies {
api fileTree(include: ['*.jar'], dir: 'libs')
api fileTree(include: ['*.jar','*.aar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.2.0'
......
......@@ -141,7 +141,9 @@ class H5JsBean {
var closeReplaceChat=false
var merchantType:String?=""
var merchantType:String=""
var day:String="" // 预约日期
}
}
}
......@@ -445,7 +445,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
try {
Uri uri = Uri.parse(url);
String host = uri.getHost();
if (null != uri && !TextUtils.isEmpty(host) && host.contains("nodeapi.ydl")) {
if (!TextUtils.isEmpty(host) && host.contains("nodeapi.ydl")) {
//马亮的需求,在nodeapi.ydl.com 地址后面拼上公共参数,用于判断是否为app
String uriAppendSuffix = jtoJHandle.getUriAppendSuffix();
resultUrl = WebUrlParamsUtils.getSuffix(url, uriAppendSuffix);
......
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