|
@@ -18,7 +18,7 @@ class Jianceproject extends Apic
|
|
public function index(){
|
|
public function index(){
|
|
$lists = Db::name('jiance_project')->field('id,pid as parentId,title,createtime')
|
|
$lists = Db::name('jiance_project')->field('id,pid as parentId,title,createtime')
|
|
->where('company_id',$this->auth->company_id)
|
|
->where('company_id',$this->auth->company_id)
|
|
- ->where('deletetime',NULL)->order('weigh asc')->select();
|
|
|
|
|
|
+ ->where('deletetime',NULL)->order('weigh asc,id asc')->select();
|
|
|
|
|
|
$this->success(1,$lists);
|
|
$this->success(1,$lists);
|
|
}
|
|
}
|