.class Lcom/moji/member/presenter/MemberOrderPresenter$11;
.super Lcom/moji/requestcore/MJBaseHttpCallback;
.source "MemberOrderPresenter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/member/presenter/MemberOrderPresenter;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)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/member/presenter/MemberOrderPresenter;


# direct methods
.method constructor <init>(Lcom/moji/member/presenter/MemberOrderPresenter;Ljava/lang/String;)V
    .locals 0

    .line 289
    iput-object p1, p0, Lcom/moji/member/presenter/MemberOrderPresenter$11;->b:Lcom/moji/member/presenter/MemberOrderPresenter;

    iput-object p2, p0, Lcom/moji/member/presenter/MemberOrderPresenter$11;->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 2

    const-string v0, "1"

    .line 292
    iget-object v1, p0, Lcom/moji/member/presenter/MemberOrderPresenter$11;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "MemberOrderPresenter"

    .line 293
    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

    .line 294
    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 295
    iget-object p1, p0, Lcom/moji/member/presenter/MemberOrderPresenter$11;->b:Lcom/moji/member/presenter/MemberOrderPresenter;

    invoke-virtual {p1}, Lcom/moji/member/presenter/MemberOrderPresenter;->c()V

    :cond_0
    return-void
.end method

.method protected onFailed(Lcom/moji/requestcore/MJException;)V
    .locals 2

    const-string v0, "1"

    .line 301
    iget-object v1, p0, Lcom/moji/member/presenter/MemberOrderPresenter$11;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 302
    iget-object v0, p0, Lcom/moji/member/presenter/MemberOrderPresenter$11;->b:Lcom/moji/member/presenter/MemberOrderPresenter;

    invoke-static {v0}, Lcom/moji/member/presenter/MemberOrderPresenter;->h(Lcom/moji/member/presenter/MemberOrderPresenter;)Lcom/moji/base/MJPresenter$ICallback;

    move-result-object v0

    check-cast v0, Lcom/moji/member/presenter/MemberOrderPresenter$MemberCallback;

    invoke-interface {v0}, Lcom/moji/member/presenter/MemberOrderPresenter$MemberCallback;->updateUserInfoFailed()V

    :cond_0
    const-string v0, "MemberOrderPresenter"

    const-string v1, "doMemberOrderConfirm"

    .line 304
    invoke-static {v0, v1, p1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    return-void
.end method

.method protected synthetic onSuccess(Ljava/lang/Object;)V
    .locals 0

    .line 289
    check-cast p1, Lcom/moji/requestcore/entity/MJBaseRespRc;

    invoke-virtual {p0, p1}, Lcom/moji/member/presenter/MemberOrderPresenter$11;->a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V

    return-void
.end method
