添加短信记录到瀚特

mobile-first
cyc 6 years ago
parent cd31e6f814
commit 6dffc9da13

@ -151,6 +151,9 @@ class Index extends CI_Controller {
$messageContent = 'Hi '.$name.', your guide on '.$startDate.' is '.$guideName.' ( mobile '.$guidePhone.'). He/she will call you at your hotel, or leave you a message tonight. Have a nice day!';
//添加导游信息到订单里面
$this->messagecenter_model->updateColiMemo($order,$messageContent);
$post_str = '{
"ext": "",
"extend": "",

@ -24,4 +24,10 @@ class messagecenter_model extends CI_Model {
$query = $this->HT->query($sql,array($order));
return $query->row();
}
public function updateColiMemo($order,$message){
$sql = 'update BIZ_ConfirmLineInfo set COLI_Memo = ? where coli_id = ?';
$query = $this->HT->query($sql,array($message,$order));
return $query->row();
}
}
Loading…
Cancel
Save