.class public abstract Lcom/moji/http/appmoji001/AppMoji001BaseRequest;
.super Lcom/moji/requestcore/MJToEntityRequest;
.source "AppMoji001BaseRequest.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<M:",
        "Lcom/moji/requestcore/entity/AbsBaseEntity;",
        ">",
        "Lcom/moji/requestcore/MJToEntityRequest<",
        "TM;>;"
    }
.end annotation


# direct methods
.method protected constructor <init>(Ljava/lang/String;)V
    .locals 2

    .line 21
    sget-boolean v0, Lcom/moji/http/appmoji001/AppMoji001BaseRequest;->a:Z

    if-eqz v0, :cond_0

    const-string p1, "http://appstore.mojitest.com/"

    goto :goto_0

    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "http://app.moji001.com/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    :goto_0
    invoke-direct {p0, p1}, Lcom/moji/requestcore/MJToEntityRequest;-><init>(Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method protected a()Lcom/moji/requestcore/method/MJMethod;
    .locals 1

    .line 26
    new-instance v0, Lcom/moji/requestcore/method/GET;

    invoke-direct {v0}, Lcom/moji/requestcore/method/GET;-><init>()V

    return-object v0
.end method

.method protected b()V
    .locals 2

    const-string v0, "UserId"

    .line 30
    invoke-static {}, Lcom/moji/common/MJProperty;->h()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Lcom/moji/http/appmoji001/AppMoji001BaseRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string v0, "Mversion"

    .line 31
    invoke-static {}, Lcom/moji/common/MJProperty;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Lcom/moji/http/appmoji001/AppMoji001BaseRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string v0, "PartnerID"

    .line 32
    invoke-static {}, Lcom/moji/common/MJProperty;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Lcom/moji/http/appmoji001/AppMoji001BaseRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string v0, "IMEI"

    .line 33
    invoke-static {}, Lcom/moji/tool/DeviceTool;->A()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Lcom/moji/http/appmoji001/AppMoji001BaseRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string v0, "Model"

    .line 34
    invoke-static {}, Lcom/moji/common/MJProperty;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Lcom/moji/http/appmoji001/AppMoji001BaseRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string v0, "OsVersion"

    .line 35
    invoke-static {}, Lcom/moji/common/MJProperty;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Lcom/moji/http/appmoji001/AppMoji001BaseRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string v0, "Device"

    const-string v1, "phone"

    .line 36
    invoke-virtual {p0, v0, v1}, Lcom/moji/http/appmoji001/AppMoji001BaseRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string v0, "Platform"

    const-string v1, "1000"

    .line 37
    invoke-virtual {p0, v0, v1}, Lcom/moji/http/appmoji001/AppMoji001BaseRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    return-void
.end method
