|
|
@ -36,6 +36,10 @@ $obj->writeLog('pdd', 'sync_push_data.log', $info['pdp_modified']); |
|
|
|
$obj->writeLog('pdd', 'sync_push_data.log', $start."|".$end); |
|
|
|
|
|
|
|
$list = $this->selectAll('pdp_tb_trade', array('sql'=>'`pdp_modified` >=? and `pdp_modified` <= ?', 'vals'=>array($start, $end)), 'pdp_modified desc'); |
|
|
|
if (empty($list)) { |
|
|
|
$obj->writeLog('pdd', 'sync_push_data.log', 'empty list'); |
|
|
|
return true; |
|
|
|
} |
|
|
|
|
|
|
|
foreach ($list as $info) { |
|
|
|
if (empty($info['pdp_response'])) continue; |
|
|
|