|
|
@ -85,7 +85,7 @@ class Alipay_note_model extends CI_Model {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* 存储IPayLinks的实时通知
|
|
|
|
* 存储实时通知
|
|
|
|
* @author LYT <lyt@hainatravel.com>
|
|
|
|
* @author LYT <lyt@hainatravel.com>
|
|
|
|
* @date 2017-08-29
|
|
|
|
* @date 2017-08-29
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -180,15 +180,14 @@ class Alipay_note_model extends CI_Model {
|
|
|
|
return $this->INFO->query($sql, array($pn_invoice, $pn_txn_id));
|
|
|
|
return $this->INFO->query($sql, array($pn_invoice, $pn_txn_id));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function update_query($dealId,$stateCode,$payAmount)
|
|
|
|
public function update_query($dealId,$payer)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$sql = "
|
|
|
|
$sql = "
|
|
|
|
UPDATE AlipayLog
|
|
|
|
UPDATE AlipayLog
|
|
|
|
SET ALI_stateCode = ?,
|
|
|
|
SET ALI_payerEmail = ?
|
|
|
|
ALI_payAmount = ?
|
|
|
|
|
|
|
|
where ALI_dealId = ?
|
|
|
|
where ALI_dealId = ?
|
|
|
|
";
|
|
|
|
";
|
|
|
|
return $this->INFO->query($sql, array($stateCode,$payAmount,$dealId));
|
|
|
|
return $this->INFO->query($sql, array($payer,$dealId));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|