|
|
|
|
@ -1211,7 +1211,7 @@ class Index extends CI_Controller {
|
|
|
|
|
$send_type = "send";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$this->Note_model->update_send($paypal_msg->pn_txn_id, $send_type, $item->pn_sn);
|
|
|
|
|
$this->Note_model->update_send($paypal_msg->pn_txn_id, $send_type, $paypal_msg->pn_sn);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//所有记录列表
|
|
|
|
|
@ -1306,7 +1306,7 @@ class Index extends CI_Controller {
|
|
|
|
|
$data = array();
|
|
|
|
|
$data['note'] = $this->Note_model->note($pn_txn_id);
|
|
|
|
|
if (!empty($data['note'])) {
|
|
|
|
|
$this->Note_model->update_send($pn_txn_id, 'send', $item->pn_sn);
|
|
|
|
|
$this->Note_model->update_send($pn_txn_id, 'send');
|
|
|
|
|
echo json_encode('通知已经关闭!');
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
@ -1568,7 +1568,7 @@ class Index extends CI_Controller {
|
|
|
|
|
$data = array();
|
|
|
|
|
$data['note'] = $this->Note_model->note($pn_txn_id);
|
|
|
|
|
if (!empty($data['note'])) {
|
|
|
|
|
$this->Note_model->update_send($pn_txn_id, 'closeRecord', $item->pn_sn);
|
|
|
|
|
$this->Note_model->update_send($pn_txn_id, 'closeRecord');
|
|
|
|
|
echo json_encode('该收款记录已经忽略!');
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|