|
|
|
@ -47,6 +47,29 @@ class Confirm extends CI_Controller {
|
|
|
|
|
$this->load->view($site_code.'/confirm_order', $data);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function test($COLI_SN = false, $visitor_link = false, $token = false,$site_code='') {
|
|
|
|
|
$data = array();
|
|
|
|
|
if (empty($COLI_SN)) {
|
|
|
|
|
echo '<div class="hidden">链接不对</div>';
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$data['visitor_link'] = $visitor_link;
|
|
|
|
|
|
|
|
|
|
$data['userinfo'] = $this->Order_model->get_customer_info($COLI_SN);
|
|
|
|
|
$data['username'] = '';
|
|
|
|
|
if (!empty($data['userinfo'])) {
|
|
|
|
|
foreach ($data['userinfo'] as $v) {
|
|
|
|
|
if ($v->CUL_IsLinkMan == 1) {
|
|
|
|
|
$data['username'] = $v->MEI_FirstName;
|
|
|
|
|
$data['usermail'] = $v->MEI_MailList;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$this->load->view($site_code.'/confirm_order', $data);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function save_confirm_info() {
|
|
|
|
|
|
|
|
|
|
//客人信息
|
|
|
|
|