字典分类
This commit is contained in:
@@ -87,11 +87,25 @@ class SysDictService
|
||||
$config['with']['sysDictItem'][] = 'item_label';
|
||||
$config['with']['sysDictItem'][] = 'item_value';
|
||||
break;
|
||||
case 'group':
|
||||
$config['order']['id'] = 'desc';
|
||||
$config['where']['id'] = 1;
|
||||
$config['with']['sysDictItem'][] = 'dict_id';
|
||||
$config['with']['sysDictItem'][] = 'item_label';
|
||||
$config['with']['sysDictItem'][] = 'item_value';
|
||||
break;
|
||||
}
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
public function group(Request $request)
|
||||
{
|
||||
$config = $this->buildQueryConfig($request, 'group');
|
||||
$result = $this->logicListAll($config);
|
||||
return $this->postProcess('group', $result);
|
||||
}
|
||||
|
||||
|
||||
public function serviceListAllScope(Request $request)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user