|
iget v0 v7 Landroid/os/Message;->what:I
packed-switch v0 :label_246
label_5:
return-void
switch_6:
new-instance v2 Lcom/bx/a/a/f;
iget-object v0 v7 Landroid/os/Message;->obj:Ljava/lang/Object;
check-cast v0 Ljava/lang/String;
invoke-direct {v2,v0} Lcom/bx/a/a/f;-><init>(Ljava/lang/String;)V
const-string v0 "9000"
iget-object v1 v2 Lcom/bx/a/a/f;->a:Ljava/lang/String;
invoke-virtual {v0,v1} Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0 :label_130
const-string v1 "success"
const-string v0 "支付成功!"
label_29:
new-instance v2 Ljava/util/HashMap;
invoke-direct {v2} Ljava/util/HashMap;-><init>()V
const-string v3 "result"
invoke-interface {v2,v3,v1} Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1 "logCode"
iget-object v3 v6 Lcom/bx/a/a/b;->a:Lcom/bx/a/a/a;
invoke-static {v3} Lcom/bx/a/a/a;->a(Lcom/bx/a/a/a;)Ljava/lang/String;
move-result-object v3
invoke-interface {v2,v1,v3} Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1 "method"
const-string v3 "result"
invoke-interface {v2,v1,v3} Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1 "payCode"
iget-object v3 v6 Lcom/bx/a/a/b;->a:Lcom/bx/a/a/a;
invoke-static {v3} Lcom/bx/a/a/a;->b(Lcom/bx/a/a/a;)Ljava/lang/String;
move-result-object v3
invoke-interface {v2,v1,v3} Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1 "price"
iget-object v3 v6 Lcom/bx/a/a/b;->a:Lcom/bx/a/a/a;
invoke-static {v3} Lcom/bx/a/a/a;->c(Lcom/bx/a/a/a;)Ljava/lang/String;
move-result-object v3
invoke-interface {v2,v1,v3} Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1 "payType"
const-string v3 "alipay"
invoke-interface {v2,v1,v3} Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1 "resultMsg"
invoke-interface {v2,v1,v0} Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
new-instance v3 Lcom/bx/pay/BXPay;
sget-object v4 Lcom/bx/pay/a/c;->a:Landroid/content/Context;
sget-object v0 Lcom/bx/pay/a/d;->x:Ljava/util/HashMap;
const-string v1 "appId"
invoke-virtual {v0,v1} Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0 Ljava/lang/String;
sget-object v1 Lcom/bx/pay/a/d;->x:Ljava/util/HashMap;
const-string v5 "channelCode"
invoke-virtual {v1,v5} Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1 Ljava/lang/String;
invoke-direct {v3,v4,v0,v1} Lcom/bx/pay/BXPay;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
iget-object v0 v6 Lcom/bx/a/a/b;->a:Lcom/bx/a/a/a;
invoke-static {v0} Lcom/bx/a/a/a;->d(Lcom/bx/a/a/a;)Landroid/content/Context;
move-result-object v0
sget-object v1 Lcom/bx/a/a/a;->a:Lcom/bx/pay/backinf/PayCallback;
invoke-virtual {v3,v2,v0,v1} Lcom/bx/pay/BXPay;->a(Ljava/util/Map;Landroid/content/Context;Lcom/bx/pay/backinf/PayCallback;)V
goto :label_5
label_130:
const-string v0 "4000"
iget-object v1 v2 Lcom/bx/a/a/f;->a:Ljava/lang/String;
invoke-virtual {v0,v1} Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0 :label_161
const-string v1 "fail"
new-instance v0 Ljava/lang/StringBuilder;
const-string v3 "支付失败!"
invoke-direct {v0,v3} Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v2 v2 Lcom/bx/a/a/f;->a:Ljava/lang/String;
invoke-virtual {v0,v2} Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0} Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
goto/16 :label_29
label_161:
const-string v0 "8000"
iget-object v1 v2 Lcom/bx/a/a/f;->a:Ljava/lang/String;
invoke-virtual {v0,v1} Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0 :label_192
const-string v1 "fail"
new-instance v0 Ljava/lang/StringBuilder;
const-string v3 "支付失败!"
invoke-direct {v0,v3} Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v2 v2 Lcom/bx/a/a/f;->a:Ljava/lang/String;
invoke-virtual {v0,v2} Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0} Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
goto/16 :label_29
label_192:
const-string v0 "6001"
iget-object v1 v2 Lcom/bx/a/a/f;->a:Ljava/lang/String;
invoke-virtual {v0,v1} Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0 :label_208
const-string v1 "cancel"
const-string v0 "取消支付!"
goto/16 :label_29
label_208:
const-string v0 "6002"
iget-object v1 v2 Lcom/bx/a/a/f;->a:Ljava/lang/String;
invoke-virtual {v0,v1} Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0 :label_239
const-string v1 "fail"
new-instance v0 Ljava/lang/StringBuilder;
const-string v3 "支付失败!"
invoke-direct {v0,v3} Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v2 v2 Lcom/bx/a/a/f;->a:Ljava/lang/String;
invoke-virtual {v0,v2} Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0} Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
goto/16 :label_29
label_239:
const-string v1 "fail"
const-string v0 "其它异常!alipayData"
goto/16 :label_29
label_246:
.pswitch_data 1
1 : switch_6
.end pswitch_data
谢谢了 |
|