微信账单:修改资金账户字段; PayPal:修改pn_sn

feature/pay
lyt 7 years ago
parent 67b67e0cad
commit cce44f594b

@ -68,7 +68,7 @@ class WxpayService extends CI_Controller {
$save_column['OPN_remark'] = $xml_arr['attach'];
$save_column['OPN_payerLogId'] = $xml_arr['openid'];
$save_column['OPN_payerStatus'] = $xml_arr['is_subscribe']==='Y' ? "subscribed" : NULL;
$save_column['OPN_fundSource'] = $xml_arr['bank_type'];
$save_column['OPN_fundSource'] = $site;
$save_column['OPN_entryAmountCNY'] = floatval($ssje);
$save_column['OPN_rawContent'] = json_encode($xml_arr);
$save_column['OPN_noticeTime'] = date('Y-m-d H:i:s');
@ -144,7 +144,7 @@ class WxpayService extends CI_Controller {
$save_column['OPN_completeTime'] = date('Y-m-d H:i:s',strtotime($row['complete_time']));
$save_column['OPN_remark'] = $row['attach'];
$save_column['OPN_payerLogId'] = $row['openid'];
$save_column['OPN_fundSource'] = $row['trade_type'] . "-" .$row['bank_type'];
$save_column['OPN_fundSource'] = $target_account;
$save_column['OPN_rawContent'] = json_encode($row);
$save_column['OPN_noticeTime'] = date('Y-m-d H:i:s');

@ -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;
}

Loading…
Cancel
Save