| xqd
@@ -48,7 +48,7 @@ class SpecController extends BaseController
|
|
|
|
|
|
public function get(Request $request)
|
|
|
{
|
|
|
- $items = $this->model->where('id', '>', 0)->orderBy('sort');
|
|
|
+ $items = $this->model->where('id', '>', 0)->orderBy('id','desc')->orderBy('sort');
|
|
|
|
|
|
$tmp_items = collect(['name']);
|
|
|
foreach($tmp_items as $tmp_item) {
|