Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
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
杨凯
YDL-Component-Medical
Commits
41d24dc6
Commit
41d24dc6
authored
May 07, 2021
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:友盟迁移新仓库,组件升级
parent
3afb39e5
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
33 deletions
+33
-33
build.gradle
build.gradle
+10
-10
config.gradle
config.gradle
+14
-14
ConfideHomeHttpImpl.kt
m-confide/src/main/java/com/ydl/confide/home/http/ConfideHomeHttpImpl.kt
+4
-6
build.gradle
ydl-platform/build.gradle
+1
-1
H5JsBean.kt
ydl-webview/src/main/java/com/ydl/webview/H5JsBean.kt
+3
-1
NewH5Activity.java
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
+1
-1
No files found.
build.gradle
View file @
41d24dc6
...
...
@@ -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/'
}
}
}
...
...
config.gradle
View file @
41d24dc6
...
...
@@ -5,11 +5,11 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.0
8
"
,
"m-consultant"
:
"0.0.59.7
7
"
,
"m-confide"
:
"0.0.49.0
9
"
,
"m-consultant"
:
"0.0.59.7
8
"
,
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.3
0
"
,
"m-home"
:
"0.0.22.6
0
"
,
"m-user"
:
"0.0.61.3
1
"
,
"m-home"
:
"0.0.22.6
1
"
,
"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.0
2
"
,
"ydl-platform"
:
"0.0.40.0
4
"
,
//第二步 若干
"ydl-webview"
:
"0.0.38.4
4
"
,
"ydl-webview"
:
"0.0.38.4
5
"
,
"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.0
8
"
,
"m-consultant"
:
"0.0.59.7
7
"
,
"m-confide"
:
"0.0.49.0
9
"
,
"m-consultant"
:
"0.0.59.7
8
"
,
"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.0
2
"
,
"ydl-platform"
:
"0.0.40.0
4
"
,
//第二步 若干
"ydl-webview"
:
"0.0.38.4
4
"
,
"ydl-webview"
:
"0.0.38.4
5
"
,
"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"
,
...
...
m-confide/src/main/java/com/ydl/confide/home/http/ConfideHomeHttpImpl.kt
View file @
41d24dc6
...
...
@@ -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
){
val
inUid
=
StringBuffer
()
for
(
i
in
param
.
notInUid
.
indices
)
{
inu
id
.
append
(
param
.
notInUid
[
i
])
inU
id
.
append
(
param
.
notInUid
[
i
])
if
(
i
<
param
.
notInUid
.
size
-
1
){
inuid
.
append
(
","
)
}
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
(
in
u
id
.
toString
()).
append
(
"&"
)
.
append
(
"notInUid"
).
append
(
"="
).
append
(
in
U
id
.
toString
()).
append
(
"&"
)
val
confideParam
=
sb
.
toString
()
return
RxUtils
.
mapObservable
(
param
)
.
flatMap
{
...
...
ydl-platform/build.gradle
View file @
41d24dc6
...
...
@@ -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'
...
...
ydl-webview/src/main/java/com/ydl/webview/H5JsBean.kt
View file @
41d24dc6
...
...
@@ -141,7 +141,9 @@ class H5JsBean {
var
closeReplaceChat
=
false
var
merchantType
:
String
?=
""
var
merchantType
:
String
=
""
var
day
:
String
=
""
// 预约日期
}
}
}
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
View file @
41d24dc6
...
...
@@ -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
);
...
...
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