[Java] 纯文本查看 复制代码
:pswitch_1
iget-object v0, p0, Lcom/heepay/plugin/activity/logic/g;->a:Lcom/heepay/plugin/activity/logic/LogicHyNotityActivity;
iget-object v1, p0, Lcom/heepay/plugin/activity/logic/g;->a:Lcom/heepay/plugin/activity/logic/LogicHyNotityActivity;
const-string v2, "\u652f\u4ed8\u5b9dAPP\u5524\u8d77\u6210\u529f" [size=4]//支付宝唤起成功[/size]
invoke-virtual {v1, v2}, Lcom/heepay/plugin/activity/logic/LogicHyNotityActivity;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
sget-object v2, Lcom/heepay/plugin/activity/logic/LogicHyNotityActivity;->v:Ljava/lang/Integer;
invoke-virtual {v0, v1, v2}, Lcom/heepay/plugin/activity/logic/LogicHyNotityActivity;->a(Ljava/lang/String;Ljava/lang/Integer;)V
iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
invoke-virtual/range {v0 .. v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-static/range {v0 .. v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
#if-nez v0, :cond_5[size=5]//小白欲将此处注释[/size]
new-instance v0, Lcom/heepay/plugin/a/c;
iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
invoke-virtual/range {p1 .. p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Lcom/heepay/plugin/a/c;-><init>(Ljava/lang/String;)V
invoke-virtual/range {v0 .. v0}, Lcom/heepay/plugin/a/c;->a()Ljava/lang/String;
move-result-object p1
const-string v0, "9000"/[size=4]/重要标识[/size]
invoke-static {p1, v0}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_1
iget-object p1, p0, Lcom/heepay/plugin/activity/logic/g;->a:Lcom/heepay/plugin/activity/logic/LogicHyNotityActivity;
const-string v0, "1"[size=6]//发现这里值为1,所以我把后面的类似处都改成1了[/size]
const-string v1, "\u652f\u4ed8\u6210\u529f"[size=6]//支付成功[/size]
:goto_1
invoke-virtual {p1, v0, v1}, Lcom/heepay/plugin/activity/logic/LogicHyNotityActivity;->a(Ljava/lang/String;Ljava/lang/String;)V
goto :goto_2
:cond_1
const-string v0, "8000"
invoke-static {p1, v0}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_2
iget-object p1, p0, Lcom/heepay/plugin/activity/logic/g;->a:Lcom/heepay/plugin/activity/logic/LogicHyNotityActivity;
const-string v0, "-3"
const-string v1, "\u652f\u4ed8\u5904\u7406\u4e2d"[size=5]//支付处理中[/size]
goto :goto_1
:cond_2
const-string v0, "6001"
invoke-static {p1, v0}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_3
iget-object p1, p0, Lcom/heepay/plugin/activity/logic/g;->a:Lcom/heepay/plugin/activity/logic/LogicHyNotityActivity;
const-string v0, "1"[size=5]//这里本是0[/size]
const-string v1, "\u652f\u4ed8\u53d6\u6d88"/[size=4]/支付取消[/size]
goto :goto_1
:cond_3
const-string v0, "6002"
invoke-static {p1, v0}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result p1
if-eqz p1, :cond_4
iget-object p1, p0, Lcom/heepay/plugin/activity/logic/g;->a:Lcom/heepay/plugin/activity/logic/LogicHyNotityActivity;
const-string v0, "1"[size=5]//这里本身const-string v0, "-2"[/size]
const-string v1, "\u7f51\u7edc\u672a\u8fde\u63a5\uff0c\u8bf7\u68c0\u67e5\u7f51\u7edc\u8bbe\u7f6e"
goto :goto_1
:cond_4
iget-object p1, p0, Lcom/heepay/plugin/activity/logic/g;->a:Lcom/heepay/plugin/activity/logic/LogicHyNotityActivity;
const-string v0, "1"[size=5]//这里本是-1[/size]
const-string v1, "\u652f\u4ed8\u5931\u8d25"[size=4]//支付失败[/size]
goto :goto_1