作者 耿培杰

修改删除订单

@@ -20,8 +20,8 @@ class OrderInfo extends Model @@ -20,8 +20,8 @@ class OrderInfo extends Model
20 20
21 public function selectData($where, $lang) 21 public function selectData($where, $lang)
22 { 22 {
23 - if ($lang == 'ch') $field = 'goods_id,goods_image,goods_total,number,ch_goods_name name';  
24 - else $field = 'goods_id,goods_image,goods_total,number,en_goods_name name'; 23 + if ($lang == 'ch') $field = 'id order_info_id,status,goods_id,goods_image,goods_total,number,ch_goods_name name';
  24 + else $field = 'id order_info_id,status,goods_id,goods_image,goods_total,number,en_goods_name name';
25 25
26 $data = $this 26 $data = $this
27 ->where($where) 27 ->where($where)