|
@@ -16,7 +16,7 @@ class Jishuguifan extends Apic
|
|
|
protected $table = 'jishuguifan';
|
|
|
|
|
|
public function index(){
|
|
|
- $list = Db::name($this->table)->field('id,pid,name,createtime')->where('company_id',$this->auth->company_id)->select();
|
|
|
+ $list = Db::name($this->table)->field('id,pid,name,createtime')->where('company_id',$this->auth->company_id)->order('id asc')->select();
|
|
|
|
|
|
/*$tree = Tree::instance()->init($list);
|
|
|
$tree->icon = ['','',''];
|