Commit 7b9dc605 by 霍志良

feat:二次拒绝埋点

parent ed6ccd25
...@@ -458,13 +458,12 @@ public class WVClickAbstractListener implements WebViewClientClickListener { ...@@ -458,13 +458,12 @@ public class WVClickAbstractListener implements WebViewClientClickListener {
} }
} }
@Override public void getNextExpertStatus(String doctorID, String title, String uid) {
public void playMeditation(int mediaId, long meditationId, int meditationType, String mediaCoverUrl) { 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) { if (mContext instanceof NewH5Activity) {
......
...@@ -8,7 +8,7 @@ ext { ...@@ -8,7 +8,7 @@ ext {
"m-confide" : "0.0.50.16", "m-confide" : "0.0.50.16",
"m-consultant" : "0.0.60.27", "m-consultant" : "0.0.60.27",
"m-fm" : "0.0.30.09", "m-fm" : "0.0.30.09",
"m-user" : "0.0.62.42", "m-user" : "0.0.62.46",
"m-home" : "0.0.23.79", "m-home" : "0.0.23.79",
"m-im" : "0.0.21.51", "m-im" : "0.0.21.51",
"m-dynamic" : "0.0.7.74", "m-dynamic" : "0.0.7.74",
...@@ -26,7 +26,7 @@ ext { ...@@ -26,7 +26,7 @@ ext {
"m-fm-api" : "0.0.3", "m-fm-api" : "0.0.3",
"m-muse-api" : "0.0.1", "m-muse-api" : "0.0.1",
"m-tests-api" : "0.0.2", "m-tests-api" : "0.0.2",
"m-user-api" : "0.0.10.20", "m-user-api" : "0.0.10.22",
"m-home-api" : "0.0.4.2", "m-home-api" : "0.0.4.2",
"m-im-api" : "0.0.12.24", "m-im-api" : "0.0.12.24",
"m-dynamic-api" : "0.0.3.71", "m-dynamic-api" : "0.0.3.71",
...@@ -97,7 +97,7 @@ ext { ...@@ -97,7 +97,7 @@ ext {
"m-confide" : "0.0.50.16", "m-confide" : "0.0.50.16",
"m-consultant" : "0.0.60.27", "m-consultant" : "0.0.60.27",
"m-fm" : "0.0.30.09", "m-fm" : "0.0.30.09",
"m-user" : "0.0.62.42", "m-user" : "0.0.62.46",
"m-home" : "0.0.23.79", "m-home" : "0.0.23.79",
"m-im" : "0.0.21.51", "m-im" : "0.0.21.51",
"m-dynamic" : "0.0.7.74", "m-dynamic" : "0.0.7.74",
...@@ -114,7 +114,7 @@ ext { ...@@ -114,7 +114,7 @@ ext {
"m-fm-api" : "0.0.3", "m-fm-api" : "0.0.3",
"m-muse-api" : "0.0.1", "m-muse-api" : "0.0.1",
"m-tests-api" : "0.0.2", "m-tests-api" : "0.0.2",
"m-user-api" : "0.0.10.20", "m-user-api" : "0.0.10.22",
"m-home-api" : "0.0.4.2", "m-home-api" : "0.0.4.2",
"m-im-api" : "0.0.12.24", "m-im-api" : "0.0.12.24",
"m-dynamic-api" : "0.0.3.71", "m-dynamic-api" : "0.0.3.71",
......
...@@ -117,12 +117,10 @@ interface UserApi { ...@@ -117,12 +117,10 @@ interface UserApi {
@POST("phone/verification/init") @POST("phone/verification/init")
fun checkAliAuth(@Body body: RequestBody): Observable<BaseResponse<PhoneAuthResponseBean>> 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") @GET("config/queryConfigVaule?configKey=user_privacy_content")
@Headers(YDL_DOMAIN + YDL_DOMAIN_JAVA)
fun getSecretJavaData(): Observable<BaseResponse<String>> fun getSecretJavaData(): Observable<BaseResponse<String>>
//获取红包单号 //获取红包单号
......
...@@ -69,8 +69,6 @@ interface UserHttp { ...@@ -69,8 +69,6 @@ interface UserHttp {
fun unBindThirdLogin(param: UnBindThirdLoginParam): Observable<BaseResponse<Any>> fun unBindThirdLogin(param: UnBindThirdLoginParam): Observable<BaseResponse<Any>>
fun getSecretData(): Observable<BaseResponse<SecretResponse>>
fun getSecretJavaData(): Observable<BaseResponse<String>> fun getSecretJavaData(): Observable<BaseResponse<String>>
fun getRedPacketId(param: RedPacketIdCmd): Observable<BaseResponse<RedPacketId>> fun getRedPacketId(param: RedPacketIdCmd): Observable<BaseResponse<RedPacketId>>
......
...@@ -205,9 +205,6 @@ class UserHttpImpl private constructor() : UserHttp { ...@@ -205,9 +205,6 @@ class UserHttpImpl private constructor() : UserHttp {
return getUserApi().unBindThirdLogin(body) return getUserApi().unBindThirdLogin(body)
} }
override fun getSecretData(): Observable<BaseResponse<SecretResponse>> {
return getUserApi().getSecretData()
}
override fun getSecretJavaData(): Observable<BaseResponse<String>> { override fun getSecretJavaData(): Observable<BaseResponse<String>> {
return getUserApi().getSecretJavaData() return getUserApi().getSecretJavaData()
......
...@@ -64,12 +64,14 @@ class SecretActivity : BaseActivity() { ...@@ -64,12 +64,14 @@ class SecretActivity : BaseActivity() {
if (null == secretDialog) { if (null == secretDialog) {
secretDialog = SecretDialog(this, object : SecretDialog.OnSecretDialogListener { secretDialog = SecretDialog(this, object : SecretDialog.OnSecretDialogListener {
override fun onCancel() { override fun onCancel() {
setResult(SECRET_PAGE_REQUEST_FAILURE_CODE)
ActionCountUtils.count( ActionCountUtils.count(
UserBIConstants.PRIVACY_AUTHORIZATION_TWO_CLICK, UserBIConstants.PRIVACY_AUTHORIZATION_TWO_CLICK,
"拒绝" "拒绝"
) )
user_secret_no_agree.postDelayed(Runnable {
setResult(SECRET_PAGE_REQUEST_FAILURE_CODE)
finish() finish()
}, 400)
} }
override fun onSure() { override fun onSure() {
......
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