返回列表 发新帖

[悬赏求助] 支付宝内购

[复制链接]

2

主题

292

帖子

1034

积分

高中生

Rank: 4

金币
199
好评
0
贡献
0
QQ
发表在  2021-4-3 00:18:49 来自手机  | 显示全部楼层 | 阅读模式
本帖最后由 saypidin 于 2021-4-3 00:23 编辑

这个怎么搞
iget v0 v7 Landroid/os/Message;->what:I
const-string v1 "9000"
const/4 v2 1
if-eq v0 v2 :label_134
const/4 v3 2
if-eq v0 v3 :label_12
goto/16 :label_198
label_12:
new-instance v0 Lcom/nur/ime/Skin/bean/AuthResult;
iget-object v7 v7 Landroid/os/Message;->obj:Ljava/lang/Object;
check-cast v7 Ljava/util/Map;
invoke-direct {v0,v7,v2} Lcom/nur/ime/Skin/bean/AuthResult;-><init>(Ljava/util/Map;Z)V
invoke-virtual {v0} Lcom/nur/ime/Skin/bean/AuthResult;->getResultStatus()Ljava/lang/String;
move-result-object v7
invoke-static {v7,v1} Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result v7
const-string v1 "authCode:%s"
const/4 v3 0
if-eqz v7 :label_90
invoke-virtual {v0} Lcom/nur/ime/Skin/bean/AuthResult;->getResultCode()Ljava/lang/String;
move-result-object v7
const-string v4 "200"
invoke-static {v7,v4} Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result v7
if-eqz v7 :label_90
sget-object v7 Lcn/nur/ime/app/App;->context:Landroid/content/Context;
invoke-virtual {v7} Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object v7
new-instance v4 Ljava/lang/StringBuilder;
invoke-direct {v4} Ljava/lang/StringBuilder;-><init>()V
const-string/jumbo v5 "授权成功\n"
invoke-virtual {v4,v5} Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
new-array v2 v2 [Ljava/lang/Object;
invoke-virtual {v0} Lcom/nur/ime/Skin/bean/AuthResult;->getAuthCode()Ljava/lang/String;
move-result-object v0
aput-object v0 v2 v3
invoke-static {v1,v2} Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-virtual {v4,v0} Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v4} Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v7,v0,v3} Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v7
invoke-virtual {v7} Landroid/widget/Toast;->show()V
goto :label_198
label_90:
sget-object v7 Lcn/nur/ime/app/App;->context:Landroid/content/Context;
invoke-virtual {v7} Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object v7
new-instance v4 Ljava/lang/StringBuilder;
invoke-direct {v4} Ljava/lang/StringBuilder;-><init>()V
const-string/jumbo v5 "授权失败"
invoke-virtual {v4,v5} Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
new-array v2 v2 [Ljava/lang/Object;
invoke-virtual {v0} Lcom/nur/ime/Skin/bean/AuthResult;->getAuthCode()Ljava/lang/String;
move-result-object v0
aput-object v0 v2 v3
invoke-static {v1,v2} Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-virtual {v4,v0} Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v4} Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v7,v0,v3} Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v7
invoke-virtual {v7} Landroid/widget/Toast;->show()V
goto :label_198
label_134:
new-instance v0 Lcom/nur/ime/Skin/bean/PayResult;
iget-object v7 v7 Landroid/os/Message;->obj:Ljava/lang/Object;
check-cast v7 Ljava/util/Map;
invoke-direct {v0,v7} Lcom/nur/ime/Skin/bean/PayResult;-><init>(Ljava/util/Map;)V
invoke-virtual {v0} Lcom/nur/ime/Skin/bean/PayResult;->getResult()Ljava/lang/String;
invoke-virtual {v0} Lcom/nur/ime/Skin/bean/PayResult;->getResultStatus()Ljava/lang/String;
move-result-object v7
invoke-static {v7,v1} Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result v7
if-eqz v7 :label_177
invoke-static {} Lcom/nur/ime/widget/ToastUtils;->getInstance()Lcom/nur/ime/widget/ToastUtils;
move-result-object v7
sget-object v0 Lcn/nur/ime/app/App;->context:Landroid/content/Context;
invoke-virtual {v0} Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v0
const v1 0x7f100103
invoke-virtual {v0,v1} Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {v7,v0} Lcom/nur/ime/widget/ToastUtils;->showToast(Ljava/lang/String;)V
goto :label_196
label_177:
invoke-static {} Lcom/nur/ime/widget/ToastUtils;->getInstance()Lcom/nur/ime/widget/ToastUtils;
move-result-object v7
sget-object v0 Lcn/nur/ime/app/App;->context:Landroid/content/Context;
invoke-virtual {v0} Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v0
const/high16 v1 0x7f10
invoke-virtual {v0,v1} Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {v7,v0} Lcom/nur/ime/widget/ToastUtils;->showToast(Ljava/lang/String;)V
label_196:
sput-boolean v2 Lcom/nur/ime/Skin/config/ApiConfig;->IS_PAY:Z
label_198:
return-void
回复

使用道具 举报

22

主题

613

帖子

2368

积分

大学生

Rank: 5Rank: 5

金币
138
好评
7
贡献
0

考神

发表于 2021-4-3 00:50:54 来自手机  | 显示全部楼层
软件发出来
回复

使用道具 举报

14

主题

1936

帖子

3424

积分

大学生

Rank: 5Rank: 5

金币
138
好评
1
贡献
1

考神

发表于 2021-4-5 10:50:44 来自手机  | 显示全部楼层
谢谢分享
回复

使用道具 举报

0

主题

970

帖子

1529

积分

高中生

Rank: 4

金币
118
好评
0
贡献
0
发表于 2021-4-5 21:37:53 来自手机  | 显示全部楼层
谢谢分享
回复

使用道具 举报

2

主题

80

帖子

330

积分

初中生

Rank: 3Rank: 3

金币
93
好评
0
贡献
0
发表于 2021-4-6 10:38:31 | 显示全部楼层
进来瞧瞧
回复

使用道具 举报

0

主题

970

帖子

1529

积分

高中生

Rank: 4

金币
118
好评
0
贡献
0
发表于 2021-4-7 14:01:59 来自手机  | 显示全部楼层
谢谢分享
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表