更新目录结构

This commit is contained in:
2023-10-21 21:18:46 +08:00
parent 664295167d
commit 1153b13299
298 changed files with 3032 additions and 2173 deletions

View File

@@ -30,6 +30,20 @@ class DictionaryService{
$list = Dictionary::where($map)->order('id desc')->paginate($request->pageConfig);
return $list;
}
/**
* @title 所有字典数据
*
* @return void
*/
public function getDictionaryAll(){
$list = Dictionary::where([])->select();
$data = [];
foreach($list as $value){
$data[$value['dic_type']][] = $value->toArray();
}
return $data;
}
/**
* @title 获取字典明细
*