diff --git a/application/api/controller/Index.php b/application/api/controller/Index.php index 5205e89b..a78e9ef2 100644 --- a/application/api/controller/Index.php +++ b/application/api/controller/Index.php @@ -31,7 +31,7 @@ class Index extends BaseCom { $list = db::name('vs_room_label') ->where(['status' => 1]) - ->field('id,label_name,default_index')->order('sort asc')->select(); + ->field('id,label_name,default_index,sort')->order('sort asc')->select(); if($list){ $default_index = 0; $label_name = '';