fixed
This commit is contained in:
@@ -38,6 +38,7 @@ class Firm extends Backend
|
||||
|
||||
function firmGetList(){
|
||||
$data = Db::table('fa_firm')
|
||||
->where('id',session_admin_firm_id())
|
||||
->select();
|
||||
return json(['list' => $data, 'total' => count($data)]);
|
||||
}
|
||||
@@ -51,6 +52,6 @@ class Firm extends Backend
|
||||
$info = Db::table('fa_aicustomerservice')
|
||||
->whereIn('id',explode(',',$aicustomerservice_ids))
|
||||
->select();
|
||||
return json(['list'=>$info,'total'=>$info]);
|
||||
return json(['list'=>$info,'total'=>count($info)]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user