Commit a845a351 authored by zw's avatar zw

1

parent fc2e4a7c
...@@ -146,7 +146,7 @@ class SquareService ...@@ -146,7 +146,7 @@ class SquareService
foreach ($list as $key => $item) { foreach ($list as $key => $item) {
$ids .= $key . ","; $ids .= $key . ",";
} }
$ids = strrev(rtrim($ids, ",")); $ids = rtrim($ids, ",");
$field = 'id,title,agent_id,district_lable_id,is_cream,cover_img,create_time'; $field = 'id,title,agent_id,district_lable_id,is_cream,cover_img,create_time';
$get_params['status'] = 0; $get_params['status'] = 0;
...@@ -164,7 +164,7 @@ class SquareService ...@@ -164,7 +164,7 @@ class SquareService
$res[$key]['cover_img_path'] = $val['cover_img'] ? $this->internet_path . $val['cover_img'] : ''; $res[$key]['cover_img_path'] = $val['cover_img'] ? $this->internet_path . $val['cover_img'] : '';
} }
return $res; return array_reverse($res);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment