增加订单没有同步 HT 的提示

hotfix/远程访问多媒体中心
LiaoYijun 6 years ago
parent 642aa6bae3
commit 1ba524de9a

@ -6,7 +6,6 @@ class Order extends CI_Controller {
}
public function index() {
// echo 'dsfasd';
$this->load->view('order/index');
}

@ -23,6 +23,14 @@ class Order_model extends CI_Model {
where
COLI_ID = ?)", $order_id);
$order_array = $order_query->row_array();
if (empty($order_array)) {
$order_array = [
'COLI_Name' => 'NULL',
'COLI_OrderDetailText' => 'NULL',
'COLI_OrderStartDate' => 'NULL'
];
}
return $order_array;
}
}

Loading…
Cancel
Save