paypal Trippest收款的发送状态改到和失败一起处理,避免卡住其他发送失败的记录

feature/pay
lyt 6 years ago
parent 5e1274f69f
commit 21569e4da0

@ -31,14 +31,14 @@ class Note_model extends CI_Model {
public function unsend($topnum = 2) {
$this->init();
$this->topnum = $topnum;
$this->pn_send = " AND (pn_send='unsend' OR pn_send='' OR pn_send IS NULL) ";
$this->pn_send = " AND (pn_send='unsend' OR pn_send IS NULL) ";
return $this->get_list();
}
public function failnote($topnum = 2) {
$this->init();
$this->topnum = $topnum;
$this->pn_send = " AND pn_send='sendfail' ";
$this->pn_send = " AND (pn_send='sendfail' OR pn_send='') ";
//$this->orderby = ' ORDER BY pn.pn_sn ASC ';
return $this->get_list();
}

Loading…
Cancel
Save