Commit 7b9dc605 by 霍志良

feat:二次拒绝埋点

parent ed6ccd25
......@@ -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) {
......
......@@ -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.42",
"m-user" : "0.0.62.46",
"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.20",
"m-user-api" : "0.0.10.22",
"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.42",
"m-user" : "0.0.62.46",
"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.20",
"m-user-api" : "0.0.10.22",
"m-home-api" : "0.0.4.2",
"m-im-api" : "0.0.12.24",
"m-dynamic-api" : "0.0.3.71",
......
......@@ -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>>
//获取红包单号
......
......@@ -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>>
......
......@@ -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()
......
......@@ -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() {
......
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