|
@@ -28,7 +28,7 @@ public class SysDictTypeController extends BaseController
|
|
|
@Autowired
|
|
|
private ISysDictTypeService dictTypeService;
|
|
|
|
|
|
- @PreAuthorize("@ss.hasPermi('system:tenantDict:list')")
|
|
|
+ //@PreAuthorize("@ss.hasPermi('system:tenantDict:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(SysDictType dictType)
|
|
|
{
|
|
@@ -38,7 +38,7 @@ public class SysDictTypeController extends BaseController
|
|
|
}
|
|
|
|
|
|
@Log(title = "字典类型", businessType = BusinessType.EXPORT)
|
|
|
- @PreAuthorize("@ss.hasPermi('system:tenantDict:export')")
|
|
|
+ //@PreAuthorize("@ss.hasPermi('system:tenantDict:export')")
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, SysDictType dictType)
|
|
|
{
|
|
@@ -50,7 +50,7 @@ public class SysDictTypeController extends BaseController
|
|
|
/**
|
|
|
* 查询字典类型详细
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:tenantDict:query')")
|
|
|
+ //@PreAuthorize("@ss.hasPermi('system:tenantDict:query')")
|
|
|
@GetMapping(value = "/{dictId}")
|
|
|
public AjaxResult getInfo(@PathVariable Long dictId)
|
|
|
{
|
|
@@ -60,7 +60,7 @@ public class SysDictTypeController extends BaseController
|
|
|
/**
|
|
|
* 新增字典类型
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:tenantDict:add')")
|
|
|
+ //@PreAuthorize("@ss.hasPermi('system:tenantDict:add')")
|
|
|
@Log(title = "字典类型", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@Validated @RequestBody SysDictType dict)
|
|
@@ -76,7 +76,7 @@ public class SysDictTypeController extends BaseController
|
|
|
/**
|
|
|
* 修改字典类型
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:tenantDict:edit')")
|
|
|
+ //@PreAuthorize("@ss.hasPermi('system:tenantDict:edit')")
|
|
|
@Log(title = "字典类型", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@Validated @RequestBody SysDictType dict)
|
|
@@ -92,7 +92,7 @@ public class SysDictTypeController extends BaseController
|
|
|
/**
|
|
|
* 删除字典类型
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:tenantDict:remove')")
|
|
|
+ //@PreAuthorize("@ss.hasPermi('system:tenantDict:remove')")
|
|
|
@Log(title = "字典类型", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{dictIds}")
|
|
|
public AjaxResult remove(@PathVariable Long[] dictIds)
|
|
@@ -104,7 +104,7 @@ public class SysDictTypeController extends BaseController
|
|
|
/**
|
|
|
* 刷新字典缓存
|
|
|
*/
|
|
|
-// @PreAuthorize("@ss.hasPermi('system:dict:remove')")
|
|
|
+// //@PreAuthorize("@ss.hasPermi('system:dict:remove')")
|
|
|
// @Log(title = "字典类型", businessType = BusinessType.CLEAN)
|
|
|
// @DeleteMapping("/refreshCache")
|
|
|
// public AjaxResult refreshCache()
|