|
|
|
@ -322,9 +322,9 @@ class Orders extends CI_Controller {
|
|
|
|
|
} else {
|
|
|
|
|
//添加隐藏字段判断是否为扫描提交
|
|
|
|
|
if ( $this->input->get_post("nullemail") != NULL) {
|
|
|
|
|
log_message('error', "reject by Robot Detected.");
|
|
|
|
|
header('HTTP/1.1 200 OK');
|
|
|
|
|
header('status: 200 OK');
|
|
|
|
|
log_message('error', "reject by Robot Detected.".json_encode($_POST));
|
|
|
|
|
$data[] = array('name' => 'go', 'value' => site_url('orders/contactus_thankyou/'));
|
|
|
|
|
echo json_encode($data);
|
|
|
|
|
exit;
|
|
|
|
|
}
|
|
|
|
|
$this->Orders_model->COLI_ID = $this->Orders_model->MakeOrderNumber();
|
|
|
|
@ -361,6 +361,9 @@ class Orders extends CI_Controller {
|
|
|
|
|
preg_match('/((https|http):[\/]{2})*[\w]+[.]{1}[a-z\d\-]+[.a-z\d-\/.htm]*/', $comments, $ms);
|
|
|
|
|
if (!empty($ms)) {
|
|
|
|
|
$this->Orders_model->COLI_Purpose = '-1';
|
|
|
|
|
$data[] = array('name' => 'go', 'value' => site_url('orders/contactus_thankyou/'));
|
|
|
|
|
echo json_encode($data);
|
|
|
|
|
exit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$this->Orders_model->COLI_GroupType = '19006';
|
|
|
|
|