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
7b9dc605
Commit
7b9dc605
authored
Jun 07, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:二次拒绝埋点
parent
ed6ccd25
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
18 deletions
+12
-18
WVClickAbstractListener.java
app/src/main/java/com/ydl/component/service/web/WVClickAbstractListener.java
+4
-5
config.gradle
config.gradle
+4
-4
UserApi.kt
m-user/src/main/java/com/yidianling/user/http/UserApi.kt
+1
-3
UserHttp.kt
m-user/src/main/java/com/yidianling/user/http/UserHttp.kt
+0
-2
UserHttpImpl.kt
m-user/src/main/java/com/yidianling/user/http/UserHttpImpl.kt
+0
-3
SecretActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/SecretActivity.kt
+3
-1
No files found.
app/src/main/java/com/ydl/component/service/web/WVClickAbstractListener.java
View file @
7b9dc605
...
...
@@ -458,13 +458,12 @@ public class WVClickAbstractListener implements WebViewClientClickListener {
}
}
@Override
public
void
playMeditation
(
int
mediaId
,
long
meditationId
,
int
meditationType
,
String
mediaCoverUrl
)
{
public
void
getNextExpertStatus
(
String
doctorID
,
String
title
,
String
uid
)
{
EventBus
.
getDefault
().
post
(
new
ChangeAnotherExpertEvent
(
doctorID
,
title
,
uid
));
public
void
getNextExpertStatus
(
String
doctorID
,
String
title
,
String
uid
)
{
EventBus
.
getDefault
().
post
(
new
ChangeAnotherExpertEvent
(
doctorID
,
title
,
uid
));
}
@Override
public
void
playMeditation
(
int
mediaId
,
long
meditationId
,
int
meditationType
,
String
mediaCoverUrl
)
{
if
(
mContext
instanceof
NewH5Activity
)
{
...
...
config.gradle
View file @
7b9dc605
...
...
@@ -8,7 +8,7 @@ ext {
"m-confide"
:
"0.0.50.16"
,
"m-consultant"
:
"0.0.60.27"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.4
2
"
,
"m-user"
:
"0.0.62.4
6
"
,
"m-home"
:
"0.0.23.79"
,
"m-im"
:
"0.0.21.51"
,
"m-dynamic"
:
"0.0.7.74"
,
...
...
@@ -26,7 +26,7 @@ ext {
"m-fm-api"
:
"0.0.3"
,
"m-muse-api"
:
"0.0.1"
,
"m-tests-api"
:
"0.0.2"
,
"m-user-api"
:
"0.0.10.2
0
"
,
"m-user-api"
:
"0.0.10.2
2
"
,
"m-home-api"
:
"0.0.4.2"
,
"m-im-api"
:
"0.0.12.24"
,
"m-dynamic-api"
:
"0.0.3.71"
,
...
...
@@ -97,7 +97,7 @@ ext {
"m-confide"
:
"0.0.50.16"
,
"m-consultant"
:
"0.0.60.27"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.4
2
"
,
"m-user"
:
"0.0.62.4
6
"
,
"m-home"
:
"0.0.23.79"
,
"m-im"
:
"0.0.21.51"
,
"m-dynamic"
:
"0.0.7.74"
,
...
...
@@ -114,7 +114,7 @@ ext {
"m-fm-api"
:
"0.0.3"
,
"m-muse-api"
:
"0.0.1"
,
"m-tests-api"
:
"0.0.2"
,
"m-user-api"
:
"0.0.10.2
0
"
,
"m-user-api"
:
"0.0.10.2
2
"
,
"m-home-api"
:
"0.0.4.2"
,
"m-im-api"
:
"0.0.12.24"
,
"m-dynamic-api"
:
"0.0.3.71"
,
...
...
m-user/src/main/java/com/yidianling/user/http/UserApi.kt
View file @
7b9dc605
...
...
@@ -117,12 +117,10 @@ interface UserApi {
@POST
(
"phone/verification/init"
)
fun
checkAliAuth
(
@Body
body
:
RequestBody
):
Observable
<
BaseResponse
<
PhoneAuthResponseBean
>>
//获取隐私政策数据
@GET
(
"site/get-privacy-content"
)
fun
getSecretData
():
Observable
<
BaseResponse
<
SecretResponse
>>
//获取隐私政策数据
@GET
(
"config/queryConfigVaule?configKey=user_privacy_content"
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_JAVA
)
fun
getSecretJavaData
():
Observable
<
BaseResponse
<
String
>>
//获取红包单号
...
...
m-user/src/main/java/com/yidianling/user/http/UserHttp.kt
View file @
7b9dc605
...
...
@@ -69,8 +69,6 @@ interface UserHttp {
fun
unBindThirdLogin
(
param
:
UnBindThirdLoginParam
):
Observable
<
BaseResponse
<
Any
>>
fun
getSecretData
():
Observable
<
BaseResponse
<
SecretResponse
>>
fun
getSecretJavaData
():
Observable
<
BaseResponse
<
String
>>
fun
getRedPacketId
(
param
:
RedPacketIdCmd
):
Observable
<
BaseResponse
<
RedPacketId
>>
...
...
m-user/src/main/java/com/yidianling/user/http/UserHttpImpl.kt
View file @
7b9dc605
...
...
@@ -205,9 +205,6 @@ class UserHttpImpl private constructor() : UserHttp {
return
getUserApi
().
unBindThirdLogin
(
body
)
}
override
fun
getSecretData
():
Observable
<
BaseResponse
<
SecretResponse
>>
{
return
getUserApi
().
getSecretData
()
}
override
fun
getSecretJavaData
():
Observable
<
BaseResponse
<
String
>>
{
return
getUserApi
().
getSecretJavaData
()
...
...
m-user/src/main/java/com/yidianling/user/ui/login/SecretActivity.kt
View file @
7b9dc605
...
...
@@ -64,12 +64,14 @@ class SecretActivity : BaseActivity() {
if
(
null
==
secretDialog
)
{
secretDialog
=
SecretDialog
(
this
,
object
:
SecretDialog
.
OnSecretDialogListener
{
override
fun
onCancel
()
{
setResult
(
SECRET_PAGE_REQUEST_FAILURE_CODE
)
ActionCountUtils
.
count
(
UserBIConstants
.
PRIVACY_AUTHORIZATION_TWO_CLICK
,
"拒绝"
)
user_secret_no_agree
.
postDelayed
(
Runnable
{
setResult
(
SECRET_PAGE_REQUEST_FAILURE_CODE
)
finish
()
},
400
)
}
override
fun
onSure
()
{
...
...
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