去掉权限注解

master
hujunbo
parent fe66b6da9b
commit 6a89db92bd

@ -26,7 +26,7 @@ public class CategoryController {
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:category:list')")
//@PreAuthorize("@ss.hasPermi('biemo:category:list')")
@GetMapping("/list")
public Page<Category> list(Category category)
{
@ -37,7 +37,7 @@ public class CategoryController {
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:category:export')")
//@PreAuthorize("@ss.hasPermi('biemo:category:export')")
@Log(title = "分类管理", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, Category category)
@ -50,7 +50,7 @@ public class CategoryController {
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:category:query')")
//@PreAuthorize("@ss.hasPermi('biemo:category:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
@ -60,7 +60,7 @@ public class CategoryController {
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:category:add')")
//@PreAuthorize("@ss.hasPermi('biemo:category:add')")
@Log(title = "分类管理", businessType = BusinessType.INSERT)
@RequestMapping
public AjaxResult add(MultipartFile[] files , String id,String name,String parentId,Integer orderNum)
@ -79,7 +79,7 @@ public class CategoryController {
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:category:remove')")
//@PreAuthorize("@ss.hasPermi('biemo:category:remove')")
@Log(title = "分类管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)

@ -46,7 +46,7 @@ public class DocInfoController extends BaseController {
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:docInfo:list')")
//@PreAuthorize("@ss.hasPermi('biemo:docInfo:list')")
@GetMapping("/list")
public Page<DocInfo> list(DocInfo docInfo)
{
@ -64,7 +64,7 @@ public class DocInfoController extends BaseController {
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:docInfo:export')")
//@PreAuthorize("@ss.hasPermi('biemo:docInfo:export')")
@Log(title = "文章管理", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, DocInfo docInfo)
@ -77,7 +77,7 @@ public class DocInfoController extends BaseController {
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:docInfo:query')")
//@PreAuthorize("@ss.hasPermi('biemo:docInfo:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
@ -87,7 +87,7 @@ public class DocInfoController extends BaseController {
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:docInfo:query')")
//@PreAuthorize("@ss.hasPermi('biemo:docInfo:query')")
@GetMapping(value = "/getInfoDelHtml/{id}")
public AjaxResult getInfoDelHtml(@PathVariable("id") String docInfoId) throws IOException {
DocInfo docInfo = docInfoService.selectDocInfoById(docInfoId);
@ -156,7 +156,7 @@ public class DocInfoController extends BaseController {
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:docInfo:add')")
//@PreAuthorize("@ss.hasPermi('biemo:docInfo:add')")
@Log(title = "文章新增", businessType = BusinessType.INSERT)
@RequestMapping
public AjaxResult add(@RequestBody DocInfo docInfo)
@ -168,7 +168,7 @@ public class DocInfoController extends BaseController {
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:docInfo:remove')")
//@PreAuthorize("@ss.hasPermi('biemo:docInfo:remove')")
@Log(title = "文章删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)

@ -47,7 +47,7 @@ public class ReportController
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:report:list')")
//@PreAuthorize("@ss.hasPermi('biemo:report:list')")
@GetMapping("/list")
public Page<Report> list(Report report)
{
@ -73,7 +73,7 @@ public class ReportController
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:report:export')")
//@PreAuthorize("@ss.hasPermi('biemo:report:export')")
@Log(title = "分类管理", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, Report report)
@ -86,7 +86,7 @@ public class ReportController
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:report:query')")
//@PreAuthorize("@ss.hasPermi('biemo:report:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
@ -96,7 +96,7 @@ public class ReportController
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:report:add')")
//@PreAuthorize("@ss.hasPermi('biemo:report:add')")
@Log(title = "分类管理", businessType = BusinessType.INSERT)
@RequestMapping
public AjaxResult add(@RequestBody Report report)
@ -109,7 +109,7 @@ public class ReportController
/**
*
*/
@PreAuthorize("@ss.hasPermi('biemo:report:remove')")
//@PreAuthorize("@ss.hasPermi('biemo:report:remove')")
@Log(title = "分类管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)

Loading…
Cancel
Save