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