高中生
LV.999

- 金币
- 408
- 好评
- 2
- 信誉
- 101
|
发表在
2025-10-17 22:23:09
来自手机
|
显示全部楼层
| 阅读模式
来自 广东
本帖最后由 9.0912.02 于 2025-10-17 23:14 编辑
从晚上7点一直都搞不定,问ai了也搞不定,求个思路
- .method public onResponse(Lretrofit2/Response;)V
- .registers 4
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "(",
- "Lretrofit2/Response<",
- "Lcom/wangc/bill/http/protocol/CommonBaseJson<",
- "Ljava/lang/Boolean;",
- ">;>;)V"
- }
- .end annotation
- invoke-virtual {p1}, Lretrofit2/Response;->body()Ljava/lang/Object;
- move-result-object v0
- if-eqz v0, :cond_4d
- invoke-virtual {p1}, Lretrofit2/Response;->body()Ljava/lang/Object;
- move-result-object v0
- check-cast v0, Lcom/wangc/bill/http/protocol/CommonBaseJson;
- invoke-virtual {v0}, Lcom/wangc/bill/http/protocol/CommonBaseJson;->getCode()I
- move-result v0
- if-nez v0, :cond_4d
- invoke-virtual {p1}, Lretrofit2/Response;->body()Ljava/lang/Object;
- move-result-object p1
- check-cast p1, Lcom/wangc/bill/http/protocol/CommonBaseJson;
- invoke-virtual {p1}, Lcom/wangc/bill/http/protocol/CommonBaseJson;->getResult()Ljava/lang/Object;
- move-result-object p1
- check-cast p1, Ljava/lang/Boolean;
- invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
- move-result p1
- if-eqz p1, :cond_4d
- iget-object p1, p0, Lcom/wangc/bill/activity/setting/BackupActivity$c;->a:Lcom/wangc/bill/activity/setting/BackupActivity;
- new-instance v0, Lcom/wangc/bill/dialog/q2;
- invoke-direct {v0, p1}, Lcom/wangc/bill/dialog/q2;-><init>(Landroid/content/Context;)V
- invoke-virtual {v0}, Lcom/wangc/bill/dialog/q2;->c()Lcom/wangc/bill/dialog/q2;
- move-result-object v0
- const-string v1, "数据正在备份,数据较多时可能需要几分钟时间,请耐心等待..."
- invoke-virtual {v0, v1}, Lcom/wangc/bill/dialog/q2;->i(Ljava/lang/String;)Lcom/wangc/bill/dialog/q2;
- move-result-object v0
- invoke-static {p1, v0}, Lcom/wangc/bill/activity/setting/BackupActivity;->u0(Lcom/wangc/bill/activity/setting/BackupActivity;Lcom/wangc/bill/dialog/q2;)Lcom/wangc/bill/dialog/q2;
- iget-object p1, p0, Lcom/wangc/bill/activity/setting/BackupActivity$c;->a:Lcom/wangc/bill/activity/setting/BackupActivity;
- invoke-static {p1}, Lcom/wangc/bill/activity/setting/BackupActivity;->t0(Lcom/wangc/bill/activity/setting/BackupActivity;)Lcom/wangc/bill/dialog/q2;
- move-result-object p1
- invoke-virtual {p1}, Lcom/wangc/bill/dialog/q2;->k()V
- const/4 p1, 0x1
- invoke-static {p1}, Lcom/wangc/bill/database/action/p0;->j2(Z)V
- invoke-static {}, Lcom/wangc/bill/manager/m2;->i()Lcom/wangc/bill/manager/m2;
- move-result-object p1
- invoke-virtual {p1}, Lcom/wangc/bill/manager/m2;->n()V
- goto :goto_6f
- :cond_4d
- iget-object p1, p0, Lcom/wangc/bill/activity/setting/BackupActivity$c;->a:Lcom/wangc/bill/activity/setting/BackupActivity;
- iget-object p1, p1, Lcom/wangc/bill/activity/setting/BackupActivity;->switchRemote:Lcom/kyleduo/switchbutton/SwitchButton;
- const/4 v0, 0x0
- invoke-virtual {p1, v0}, Lcom/kyleduo/switchbutton/SwitchButton;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V
- iget-object p1, p0, Lcom/wangc/bill/activity/setting/BackupActivity$c;->a:Lcom/wangc/bill/activity/setting/BackupActivity;
- iget-object p1, p1, Lcom/wangc/bill/activity/setting/BackupActivity;->switchRemote:Lcom/kyleduo/switchbutton/SwitchButton;
- const/4 v0, 0x0
- invoke-virtual {p1, v0}, Lcom/kyleduo/switchbutton/SwitchButton;->setChecked(Z)V
- iget-object p1, p0, Lcom/wangc/bill/activity/setting/BackupActivity$c;->a:Lcom/wangc/bill/activity/setting/BackupActivity;
- iget-object v0, p1, Lcom/wangc/bill/activity/setting/BackupActivity;->switchRemote:Lcom/kyleduo/switchbutton/SwitchButton;
- iget-object p1, p1, Lcom/wangc/bill/activity/setting/BackupActivity;->h:Landroid/widget/CompoundButton$OnCheckedChangeListener;
- invoke-virtual {v0, p1}, Lcom/kyleduo/switchbutton/SwitchButton;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V
- iget-object p1, p0, Lcom/wangc/bill/activity/setting/BackupActivity$c;->a:Lcom/wangc/bill/activity/setting/BackupActivity;
- const-string v0, "云备份"
- const-string v1, "将账单数据永久存储在云端,防止数据丢失"
- invoke-static {p1, v0, v1}, Lcom/wangc/bill/manager/l4;->a(Landroidx/appcompat/app/AppCompatActivity;Ljava/lang/String;Ljava/lang/String;)V
- :goto_6f
- return-void
- .end method
复制代码
第2段
- .method public onResponse(Lretrofit2/Response;)V
- .registers 4
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "(",
- "Lretrofit2/Response<",
- "Lcom/wangc/bill/http/protocol/CommonBaseJson<",
- "Ljava/lang/Boolean;",
- ">;>;)V"
- }
- .end annotation
- invoke-virtual {p1}, Lretrofit2/Response;->body()Ljava/lang/Object;
- move-result-object v0
- if-eqz v0, :cond_4d
- invoke-virtual {p1}, Lretrofit2/Response;->body()Ljava/lang/Object;
- move-result-object v0
- check-cast v0, Lcom/wangc/bill/http/protocol/CommonBaseJson;
- invoke-virtual {v0}, Lcom/wangc/bill/http/protocol/CommonBaseJson;->getCode()I
- move-result v0
- if-nez v0, :cond_4d
- invoke-virtual {p1}, Lretrofit2/Response;->body()Ljava/lang/Object;
- move-result-object p1
- check-cast p1, Lcom/wangc/bill/http/protocol/CommonBaseJson;
- invoke-virtual {p1}, Lcom/wangc/bill/http/protocol/CommonBaseJson;->getResult()Ljava/lang/Object;
- move-result-object p1
- check-cast p1, Ljava/lang/Boolean;
- invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
- move-result p1
- if-eqz p1, :cond_4d
- iget-object p1, p0, Lcom/wangc/bill/activity/setting/BackupGuideActivity$c;->a:Lcom/wangc/bill/activity/setting/BackupGuideActivity;
- new-instance v0, Lcom/wangc/bill/dialog/q2;
- invoke-direct {v0, p1}, Lcom/wangc/bill/dialog/q2;-><init>(Landroid/content/Context;)V
- invoke-virtual {v0}, Lcom/wangc/bill/dialog/q2;->c()Lcom/wangc/bill/dialog/q2;
- move-result-object v0
- const-string v1, "数据正在备份,数据较多时可能需要几分钟时间,请耐心等待..."
- invoke-virtual {v0, v1}, Lcom/wangc/bill/dialog/q2;->i(Ljava/lang/String;)Lcom/wangc/bill/dialog/q2;
- move-result-object v0
- invoke-static {p1, v0}, Lcom/wangc/bill/activity/setting/BackupGuideActivity;->Z(Lcom/wangc/bill/activity/setting/BackupGuideActivity;Lcom/wangc/bill/dialog/q2;)Lcom/wangc/bill/dialog/q2;
- iget-object p1, p0, Lcom/wangc/bill/activity/setting/BackupGuideActivity$c;->a:Lcom/wangc/bill/activity/setting/BackupGuideActivity;
- invoke-static {p1}, Lcom/wangc/bill/activity/setting/BackupGuideActivity;->Y(Lcom/wangc/bill/activity/setting/BackupGuideActivity;)Lcom/wangc/bill/dialog/q2;
- move-result-object p1
- invoke-virtual {p1}, Lcom/wangc/bill/dialog/q2;->k()V
- const/4 p1, 0x1
- invoke-static {p1}, Lcom/wangc/bill/database/action/p0;->j2(Z)V
- invoke-static {}, Lcom/wangc/bill/manager/m2;->i()Lcom/wangc/bill/manager/m2;
- move-result-object p1
- invoke-virtual {p1}, Lcom/wangc/bill/manager/m2;->n()V
- goto :goto_5a
- :cond_4d
- const/4 p1, 0x0
- invoke-static {p1}, Lcom/wangc/bill/database/action/p0;->j2(Z)V
- iget-object p1, p0, Lcom/wangc/bill/activity/setting/BackupGuideActivity$c;->a:Lcom/wangc/bill/activity/setting/BackupGuideActivity;
- const-string v0, "云备份"
- const-string v1, "将账单数据永久存储在云端,防止数据丢失"
- invoke-static {p1, v0, v1}, Lcom/wangc/bill/manager/l4;->a(Landroidx/appcompat/app/AppCompatActivity;Ljava/lang/String;Ljava/lang/String;)V
- :goto_5a
- return-void
- .end method
复制代码
第3段
- .method public onResponse(Lretrofit2/Response;)V
- .registers 3
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "(",
- "Lretrofit2/Response<",
- "Lcom/wangc/bill/http/protocol/CommonBaseJson<",
- "Ljava/lang/Boolean;",
- ">;>;)V"
- }
- .end annotation
- invoke-virtual {p1}, Lretrofit2/Response;->body()Ljava/lang/Object;
- move-result-object v0
- if-eqz v0, :cond_2c
- invoke-virtual {p1}, Lretrofit2/Response;->body()Ljava/lang/Object;
- move-result-object v0
- check-cast v0, Lcom/wangc/bill/http/protocol/CommonBaseJson;
- invoke-virtual {v0}, Lcom/wangc/bill/http/protocol/CommonBaseJson;->getCode()I
- move-result v0
- if-nez v0, :cond_2c
- invoke-virtual {p1}, Lretrofit2/Response;->body()Ljava/lang/Object;
- move-result-object p1
- check-cast p1, Lcom/wangc/bill/http/protocol/CommonBaseJson;
- invoke-virtual {p1}, Lcom/wangc/bill/http/protocol/CommonBaseJson;->getResult()Ljava/lang/Object;
- move-result-object p1
- check-cast p1, Ljava/lang/Boolean;
- invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
- move-result p1
- if-eqz p1, :cond_2c
- invoke-static {}, Lcom/wangc/bill/manager/m2;->i()Lcom/wangc/bill/manager/m2;
- move-result-object p1
- invoke-virtual {p1}, Lcom/wangc/bill/manager/m2;->n()V
- goto :goto_31
- :cond_2c
- const-string p1, "鉴权失败,会员已过期或网络异常"
- invoke-static {p1}, Lcom/blankj/utilcode/util/ToastUtils;->V(Ljava/lang/CharSequence;)V
- :goto_31
- return-void
- .end method
复制代码 |
|