Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

[Bug] 快递签收后重复提醒 #11

Open
jemyzhang opened this issue Aug 9, 2016 · 3 comments
Open

[Bug] 快递签收后重复提醒 #11

jemyzhang opened this issue Aug 9, 2016 · 3 comments
Labels

Comments

@jemyzhang
Copy link

rt

@fython
Copy link
Owner

fython commented Aug 9, 2016

一直想解决,摸不着头脑怎么弄233

@jemyzhang
Copy link
Author

刚才浏览了一下你的code, 根据kuaidi001api文档,

time 每条跟踪信息的时间

但是你code里面写的是

@Expose @SerializedName("updatetime") public String updateTime;

然后你判断shouldPush,又是根据data来的

this.unreadNew |= this.shouldPush = !this.data.get(0).time.equalsIgnoreCase(newData.data.get(0).time);

不明白这个data里面是什么内容.

@fython
Copy link
Owner

fython commented Aug 9, 2016

data.get(0).time 是最新一条跟踪信息的时间,作用跟 updateTime 相同,这条是比较前后数据时间显示是否相同

@fython fython changed the title 快递签收后重复提醒 [Bug] 快递签收后重复提醒 Feb 6, 2019
@fython fython added the bug label Feb 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants