幼儿园

- 金币
- 21
- 好评
- 0
- 信誉
- 100
|
本帖最后由 Serenaepyc 于 2025-11-4 08:44 编辑
大佬们,到期时间改了,会员判断也改了,改前也去签了。但观看付费剧集还是会停在缩略图,这该怎么办呀    
VIP判断
- .method public static isVip()Z
- .registers 4
- .line 1
- new-instance v0, Lcom/google/gson/Gson;
- .line 3
- invoke-direct {v0}, Lcom/google/gson/Gson;-><init>()V
- .line 6
- new-instance v1, Lcom/video/oneshort/model/UserBean$UserInfoBean$VipInfoBean;
- .line 8
- const-wide/16 v2, 0x0
- .line 10
- invoke-direct {v1, v2, v3}, Lcom/video/oneshort/model/UserBean$UserInfoBean$VipInfoBean;-><init>(J)V
- .line 13
- invoke-virtual {v0, v1}, Lcom/google/gson/Gson;->toJson(Ljava/lang/Object;)Ljava/lang/String;
- .line 16
- move-result-object v0
- .line 17
- const-string v1, "vip"
- .line 19
- invoke-static {v1, v0}, La7/k;->f(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
- .line 22
- move-result-object v0
- .line 23
- const-class v1, Lcom/video/oneshort/model/UserBean$UserInfoBean$VipInfoBean;
- .line 25
- invoke-static {v0, v1}, La7/f;->b(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
- .line 28
- move-result-object v0
- .line 29
- check-cast v0, Lcom/video/oneshort/model/UserBean$UserInfoBean$VipInfoBean;
- .line 31
- invoke-virtual {v0}, Lcom/video/oneshort/model/UserBean$UserInfoBean$VipInfoBean;->getExpiry_time()J
- .line 34
- move-result-wide v0
- .line 35
- invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
- .line 38
- move-result-wide v2
- .line 39
- cmp-long v0, v0, v2
- .line 41
- if-gez v0, :cond_2c
- .line 43
- const/4 v0, 0x0
- .line 44
- return v0
- .line 45
- :cond_2c
- const/4 v0, 0x1
- .line 46
- return v0
- .end method
复制代码
过期时间
- .method public getExpiry_time()J
- .registers 3
- .line 1
- iget-wide v0, p0, Lcom/video/oneshort/model/UserBean$UserInfoBean$VipInfoBean;->expiry_time:J
- .line 3
- return-wide v0
- .end method
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|