|
@@ -27,18 +27,18 @@ if (!empty($requestData))
|
|
{
|
|
{
|
|
Log::record("start handle....",Log::DEBUG);
|
|
Log::record("start handle....",Log::DEBUG);
|
|
$count = intval($deliver_info['Count']);
|
|
$count = intval($deliver_info['Count']);
|
|
- if($count <= 0 || $deliver_info['EBusinessID'] != kdn_helper_new::cur_businessid()) {
|
|
|
|
|
|
+ if($count <= 0 || $deliver_info['EBusinessID'] != kdn_helper::cur_businessid()) {
|
|
$success = false;
|
|
$success = false;
|
|
- $reson = "count={$count} or EBusinessID = {$deliver_info['EBusinessID']} != " . kdn_helper_new::cur_businessid();
|
|
|
|
|
|
+ $reson = "count={$count} or EBusinessID = {$deliver_info['EBusinessID']} != " . kdn_helper::cur_businessid();
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
foreach($deliver_info['Data'] as $item) {
|
|
foreach($deliver_info['Data'] as $item) {
|
|
- kdn_helper_new::onCallback($item);
|
|
|
|
|
|
+ kdn_helper::onCallback($item);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- echo (json_encode(array('EBusinessID' => kdn_helper_new::cur_businessid(),'UpdateTime' => strftime("%Y-%m-%d %H:%M:%S",time()), 'Success' => $success,'Reason' => $reson)));
|
|
|
|
|
|
+ echo (json_encode(array('EBusinessID' => kdn_helper::cur_businessid(),'UpdateTime' => strftime("%Y-%m-%d %H:%M:%S",time()), 'Success' => $success,'Reason' => $reson)));
|
|
}
|
|
}
|
|
?>
|
|
?>
|