|
@@ -70,7 +70,7 @@ class DataNjpcItem(BaseDetailItem):
|
|
|
if not isinstance(self.publishtime, int):
|
|
|
raise TypeError("发布时间类型不正确 -> %s " % type(self.publishtime))
|
|
|
|
|
|
- if self.publishtime > self.comeintime:
|
|
|
+ if self.publishtime > tools.get_current_timestamp():
|
|
|
log.warning("发布时间大于当前时间,已设置当前时间为发布时间!")
|
|
|
self.publishtime = tools.ensure_int64(tools.get_current_timestamp())
|
|
|
|