|
@@ -14,13 +14,16 @@ func getCheckDataPublishtime(tmp map[string]interface{},update_check *map[string
|
|
|
bid_time := 0
|
|
|
if bidopentime>0 {
|
|
|
bid_time = bidopentime
|
|
|
+ }else {
|
|
|
+ bid_time = bidendtime
|
|
|
}
|
|
|
- if bidendtime<bidopentime {
|
|
|
+ if bidendtime<bidopentime && bidendtime>0 && bidopentime>0 {
|
|
|
bid_time = bidendtime
|
|
|
}
|
|
|
- if publishtime-bid_time>16*86400 { //需要修复-异常时间数据
|
|
|
+ if publishtime-bid_time>16*86400 && publishtime>0 && bid_time>0{ //需要修复-异常时间数据
|
|
|
(*update_check)["dataging"] = 1
|
|
|
(*update_check)["publishtime"] = bid_time
|
|
|
+ (*update_check)["pt_modify"] = publishtime
|
|
|
}
|
|
|
}
|
|
|
|