126 lines
3.5 KiB
Smali
126 lines
3.5 KiB
Smali
.class public Lcom/moji/http/ugc/FeedBackSendMsgRequest;
|
|
.super Lcom/moji/http/ugc/UGCBaseRequest;
|
|
.source "FeedBackSendMsgRequest.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/moji/http/ugc/UGCBaseRequest<",
|
|
"Lcom/moji/requestcore/entity/MJBaseRespRc;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/moji/http/ugc/bean/FeedBackSendMsg;)V
|
|
.locals 3
|
|
|
|
const-string v0, "sns/json/feedback/new_feedback"
|
|
|
|
.line 14
|
|
invoke-direct {p0, v0}, Lcom/moji/http/ugc/UGCBaseRequest;-><init>(Ljava/lang/String;)V
|
|
|
|
const-string v0, "content"
|
|
|
|
.line 15
|
|
invoke-virtual {p1}, Lcom/moji/http/ugc/bean/FeedBackSendMsg;->getMsgContent()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/http/ugc/FeedBackSendMsgRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V
|
|
|
|
const-string v0, "longitude"
|
|
|
|
.line 16
|
|
invoke-virtual {p1}, Lcom/moji/http/ugc/bean/FeedBackSendMsg;->getLongitude()D
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Double;->toString(D)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/http/ugc/FeedBackSendMsgRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V
|
|
|
|
const-string v0, "latitude"
|
|
|
|
.line 17
|
|
invoke-virtual {p1}, Lcom/moji/http/ugc/bean/FeedBackSendMsg;->getLatitude()D
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Double;->toString(D)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/http/ugc/FeedBackSendMsgRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V
|
|
|
|
const-string v0, "push_token"
|
|
|
|
.line 18
|
|
new-instance v1, Lcom/moji/preferences/ProcessPrefer;
|
|
|
|
invoke-direct {v1}, Lcom/moji/preferences/ProcessPrefer;-><init>()V
|
|
|
|
invoke-virtual {v1}, Lcom/moji/preferences/ProcessPrefer;->f()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/http/ugc/FeedBackSendMsgRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V
|
|
|
|
.line 19
|
|
invoke-virtual {p1}, Lcom/moji/http/ugc/bean/FeedBackSendMsg;->getErrorLogPath()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "error_log"
|
|
|
|
.line 20
|
|
invoke-virtual {p1}, Lcom/moji/http/ugc/bean/FeedBackSendMsg;->getErrorLogPath()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/http/ugc/FeedBackSendMsgRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V
|
|
|
|
.line 22
|
|
:cond_0
|
|
invoke-virtual {p1}, Lcom/moji/http/ugc/bean/FeedBackSendMsg;->getCityID()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const-string v0, "city_id"
|
|
|
|
.line 23
|
|
invoke-virtual {p1}, Lcom/moji/http/ugc/bean/FeedBackSendMsg;->getCityID()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/http/ugc/FeedBackSendMsgRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V
|
|
|
|
:cond_1
|
|
const-string v0, "img_url"
|
|
|
|
.line 25
|
|
invoke-virtual {p1}, Lcom/moji/http/ugc/bean/FeedBackSendMsg;->getImageUrl()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/http/ugc/FeedBackSendMsgRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|