129 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			129 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Lcom/skt/moment/task/m$a$a;
 | |
| .super Lcom/loopj/android/http/c;
 | |
| .source "MomentNewCouponCheckTask.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingMethod;
 | |
|     value = Lcom/skt/moment/task/m$a;->a()Lcom/skt/moment/net/vo/NewCoupon;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x1
 | |
|     name = null
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public final synthetic t:Lcom/skt/moment/task/m$a;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Lcom/skt/moment/task/m$a;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/skt/moment/task/m$a$a;->t:Lcom/skt/moment/task/m$a;
 | |
| 
 | |
|     invoke-direct {p0}, Lcom/loopj/android/http/c;-><init>()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public D(I[Ldf/d;[B)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object p1, p0, Lcom/skt/moment/task/m$a$a;->t:Lcom/skt/moment/task/m$a;
 | |
| 
 | |
|     iget-object p1, p1, Lcom/skt/moment/task/m$a;->b:Lcom/skt/moment/task/m;
 | |
| 
 | |
|     iget-object p2, p1, Lcom/skt/moment/task/m;->q:Lcom/fasterxml/jackson/databind/ObjectMapper;
 | |
| 
 | |
|     invoke-virtual {p1, p3, p2}, Lcom/skt/moment/task/z;->u([BLcom/fasterxml/jackson/databind/ObjectMapper;)V
 | |
| 
 | |
|     .line 2
 | |
|     :try_start_0
 | |
|     new-instance p1, Ljava/lang/String;
 | |
| 
 | |
|     const-string p2, "UTF-8"
 | |
| 
 | |
|     invoke-direct {p1, p3, p2}, Ljava/lang/String;-><init>([BLjava/lang/String;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p2, p0, Lcom/skt/moment/task/m$a$a;->t:Lcom/skt/moment/task/m$a;
 | |
| 
 | |
|     iget-object p2, p2, Lcom/skt/moment/task/m$a;->b:Lcom/skt/moment/task/m;
 | |
| 
 | |
|     invoke-virtual {p2, p1}, Lcom/skt/moment/task/m;->L(Ljava/lang/String;)Lcom/skt/moment/net/vo/ResNewCouponVo;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     iget-object p2, p0, Lcom/skt/moment/task/m$a$a;->t:Lcom/skt/moment/task/m$a;
 | |
| 
 | |
|     iget-object p2, p2, Lcom/skt/moment/task/m$a;->b:Lcom/skt/moment/task/m;
 | |
| 
 | |
|     new-instance p3, Lcom/skt/moment/net/vo/NewCoupon;
 | |
| 
 | |
|     invoke-virtual {p1}, Lcom/skt/moment/net/vo/ResNewCouponVo;->getNewCouponYn()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {p1}, Lcom/skt/moment/net/vo/ResNewCouponVo;->getNewCouponCnt()Ljava/lang/Integer;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-direct {p3, v0, p1}, Lcom/skt/moment/net/vo/NewCoupon;-><init>(Ljava/lang/String;Ljava/lang/Integer;)V
 | |
| 
 | |
|     invoke-static {p2, p3}, Lcom/skt/moment/task/m;->H(Lcom/skt/moment/task/m;Lcom/skt/moment/net/vo/NewCoupon;)Lcom/skt/moment/net/vo/NewCoupon;
 | |
|     :try_end_0
 | |
|     .catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 5
 | |
|     :catch_0
 | |
|     invoke-static {}, Lib/b;->d()Lib/b;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     const-string p2, "UnsupportedEncodingException"
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Lib/b;->i(Ljava/lang/String;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public y(I[Ldf/d;[BLjava/lang/Throwable;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {}, Lib/b;->d()Lib/b;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     new-instance p3, Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
 | |
| 
 | |
|     const-string p4, "fail "
 | |
| 
 | |
|     invoke-virtual {p3, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {p2, p1}, Lib/b;->i(Ljava/lang/String;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 |