Browse Source

Merge pull request '数据增量逻辑修正' (#58) from wpd_queue into master

Reviewed-on: #58
pull/59/head
pengda 1 week ago
parent
commit
517b27135a
  1. 2
      queue/deal/get_weibo_behavior.php

2
queue/deal/get_weibo_behavior.php

@ -21,7 +21,7 @@ class getWeiboBehavior extends dealBase {
$ipinfo = $rdobj->get(_RC_SPIDER_USE_IP);
$ipdata = json_decode($ipinfo, true);
if (!$ipinfo && PROC_CODE == 0 && $rdobj->llen($this->task_key) + 0 >= 0) {
if (!$ipinfo && PROC_CODE == 0 && $rdobj->llen($this->task_key) + 0 > 0) {
$ipdata = $obj->getZmhttpIp(_RC_SPIDER_USE_IP);
}
if (empty($ipdata)) {

Loading…
Cancel
Save