|
@@ -42,7 +42,7 @@ public class FsArticleController extends BaseController
|
|
|
/**
|
|
|
* 查询文章列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:article:list')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:healthArticle:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(FsArticle fsArticle)
|
|
|
{
|
|
@@ -54,7 +54,7 @@ public class FsArticleController extends BaseController
|
|
|
/**
|
|
|
* 导出文章列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:article:export')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:healthArticle:export')")
|
|
|
@Log(title = "文章", businessType = BusinessType.EXPORT)
|
|
|
@GetMapping("/export")
|
|
|
public AjaxResult export(FsArticle fsArticle)
|
|
@@ -67,7 +67,7 @@ public class FsArticleController extends BaseController
|
|
|
/**
|
|
|
* 获取文章详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:article:query')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:healthArticle:query')")
|
|
|
@GetMapping(value = "/{articleId}")
|
|
|
public AjaxResult getInfo(@PathVariable("articleId") Long articleId)
|
|
|
{
|
|
@@ -77,7 +77,7 @@ public class FsArticleController extends BaseController
|
|
|
/**
|
|
|
* 新增文章
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:article:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:healthArticle:add')")
|
|
|
@Log(title = "文章", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody FsArticle fsArticle)
|
|
@@ -94,7 +94,7 @@ public class FsArticleController extends BaseController
|
|
|
/**
|
|
|
* 修改文章
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:article:edit')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:healthArticle:edit')")
|
|
|
@Log(title = "文章", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody FsArticle fsArticle)
|
|
@@ -110,7 +110,7 @@ public class FsArticleController extends BaseController
|
|
|
/**
|
|
|
* 删除文章
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:article:remove')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:healthArticle:remove')")
|
|
|
@Log(title = "文章", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{articleIds}")
|
|
|
public AjaxResult remove(@PathVariable Long[] articleIds)
|