115 lines
2.9 KiB
Smali
115 lines
2.9 KiB
Smali
.class Lcom/moji/webview/jsfunction/JsPay$1;
|
|
.super Lcom/moji/requestcore/MJBaseHttpCallback;
|
|
.source "JsPay.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/webview/jsfunction/JsPay;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/moji/requestcore/MJBaseHttpCallback<",
|
|
"Lcom/moji/requestcore/entity/MJBaseRespRc;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Ljava/lang/String;
|
|
|
|
.field final synthetic b:Lcom/moji/webview/jsfunction/JsPay;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/webview/jsfunction/JsPay;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 160
|
|
iput-object p1, p0, Lcom/moji/webview/jsfunction/JsPay$1;->b:Lcom/moji/webview/jsfunction/JsPay;
|
|
|
|
iput-object p2, p0, Lcom/moji/webview/jsfunction/JsPay$1;->a:Ljava/lang/String;
|
|
|
|
invoke-direct {p0}, Lcom/moji/requestcore/MJBaseHttpCallback;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V
|
|
.locals 1
|
|
|
|
const-string v0, "JsPay"
|
|
|
|
.line 163
|
|
invoke-virtual {p1}, Lcom/moji/requestcore/entity/MJBaseRespRc;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-string p1, "1"
|
|
|
|
.line 164
|
|
iget-object v0, p0, Lcom/moji/webview/jsfunction/JsPay$1;->a:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 165
|
|
new-instance p1, Lcom/moji/preferences/ProcessPrefer;
|
|
|
|
invoke-direct {p1}, Lcom/moji/preferences/ProcessPrefer;-><init>()V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/preferences/ProcessPrefer;->a(Z)V
|
|
|
|
.line 166
|
|
invoke-static {}, Lcom/moji/bus/Bus;->a()Lcom/moji/bus/Bus;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v0, Lcom/moji/account/data/event/OpenMemberSuccess;
|
|
|
|
invoke-direct {v0}, Lcom/moji/account/data/event/OpenMemberSuccess;-><init>()V
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/bus/Bus;->c(Ljava/lang/Object;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onFailed(Lcom/moji/requestcore/MJException;)V
|
|
.locals 1
|
|
|
|
const-string v0, "JsPay"
|
|
|
|
.line 172
|
|
invoke-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected synthetic onSuccess(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 160
|
|
check-cast p1, Lcom/moji/requestcore/entity/MJBaseRespRc;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/webview/jsfunction/JsPay$1;->a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V
|
|
|
|
return-void
|
|
.end method
|