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
a1fb0914
Commit
a1fb0914
authored
Jun 28, 2022
by
万齐军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
APM 网络分析无插件接入,去掉接口错误上报
parent
cd2b5f93
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
maven_push.gradle
maven_push.gradle
+1
-1
build.gradle
ydl-net/build.gradle
+1
-0
OkHttpConfig.java
ydl-net/src/main/java/com/ydl/ydlnet/builder/config/OkHttpConfig.java
+2
-1
HttpConfig.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/base/config/HttpConfig.kt
+2
-2
No files found.
maven_push.gradle
View file @
a1fb0914
...
...
@@ -4,7 +4,7 @@ def mavenRepositoryUrl = "http://nexus.yidianling.com/repository/AndroidReleases
def
getVersionName
()
{
def
publishVersion
=
rootProject
.
ext
.
ydl2PublishVersion
return
isLocal
()
?
publishVersion
+
"-LOCAL"
:
publishVersion
return
publishVersion
}
def
isLocal
(){
Properties
properties
=
new
Properties
()
...
...
ydl-net/build.gradle
View file @
a1fb0914
...
...
@@ -39,6 +39,7 @@ dependencies {
testImplementation
'junit:junit:4.13.2'
androidTestImplementation
'androidx.test.ext:junit:1.1.2'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.3.0'
implementation
'com.volcengine:apm_insight:1.4.6.cn'
api
rootProject
.
ext
.
dependencies
[
"gson"
]
api
rootProject
.
ext
.
dependencies
[
"aliyun"
]
...
...
ydl-net/src/main/java/com/ydl/ydlnet/builder/config/OkHttpConfig.java
View file @
a1fb0914
...
...
@@ -4,6 +4,7 @@ import android.content.Context;
import
android.text.TextUtils
;
import
android.widget.Toast
;
import
com.bytedance.apm.agent.instrumentation.OkHttp3Instrumentation
;
import
com.ydl.ydlnet.builder.cookie.CookieJarImpl
;
import
com.ydl.ydlnet.builder.cookie.store.CookieStore
;
import
com.ydl.ydlnet.builder.factory.ApiFactory
;
...
...
@@ -206,7 +207,7 @@ public class OkHttpConfig {
setDebugConfig
();
setProxy
();
okHttpClient
=
okHttpClientBuilder
.
build
(
);
okHttpClient
=
OkHttp3Instrumentation
.
build
(
okHttpClientBuilder
);
return
okHttpClient
;
}
...
...
ydl-platform/src/main/java/com/ydl/ydlcommon/base/config/HttpConfig.kt
View file @
a1fb0914
...
...
@@ -142,8 +142,8 @@ class HttpConfig {
commonParams
(),
requestHead
(
appName
),
addEncryptionHeaderParamsInterceptor
(),
responseErrorInterceptor
()
,
respErrorInterceptor
()
responseErrorInterceptor
()
//
respErrorInterceptor()
)
.
setRequestHandler
(
getRequestHandler
())
.
setReadTimeout
(
15
)
...
...
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