|
@@ -57,7 +57,7 @@ public class SysDictTypeController extends BaseController
|
|
|
/**
|
|
|
* 查询字典类型详细
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:dict:query')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:dict:query,business:crm:dict:query')")
|
|
|
@GetMapping(value = "/{dictId}")
|
|
|
public AjaxResult getInfo(@PathVariable Long dictId)
|
|
|
{
|
|
@@ -67,7 +67,7 @@ public class SysDictTypeController extends BaseController
|
|
|
/**
|
|
|
* 新增字典类型
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:dict:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:dict:add,business:crm:dict:add')")
|
|
|
@Log(title = "字典类型", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@Validated @RequestBody SysDictType dict) throws NoSuchFieldException, IllegalAccessException {
|