|
@@ -34,7 +34,6 @@ public class TopicTypeController extends BaseController {
|
|
|
/**
|
|
|
* 查询主题类型配置列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('jnb:topicType:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(TopicType topicType)
|
|
|
{
|
|
@@ -46,7 +45,6 @@ public class TopicTypeController extends BaseController {
|
|
|
/**
|
|
|
* 导出主题类型配置列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('jnb:topicType:export')")
|
|
|
@Log(title = "主题类型配置", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, TopicType topicType)
|
|
@@ -59,7 +57,6 @@ public class TopicTypeController extends BaseController {
|
|
|
/**
|
|
|
* 获取主题类型配置详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('jnb:topicType:query')")
|
|
|
@GetMapping(value = "/{id}")
|
|
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
|
|
{
|
|
@@ -69,7 +66,6 @@ public class TopicTypeController extends BaseController {
|
|
|
/**
|
|
|
* 新增主题类型配置
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('jnb:topicType:add')")
|
|
|
@Log(title = "主题类型配置", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@Validated @RequestBody TopicType topicType)
|
|
@@ -80,7 +76,6 @@ public class TopicTypeController extends BaseController {
|
|
|
/**
|
|
|
* 修改主题类型配置
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('jnb:topicType:edit')")
|
|
|
@Log(title = "主题类型配置", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@Validated @RequestBody TopicType topicType)
|
|
@@ -91,7 +86,6 @@ public class TopicTypeController extends BaseController {
|
|
|
/**
|
|
|
* 删除主题类型配置
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('jnb:topicType:remove')")
|
|
|
@Log(title = "主题类型配置", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
public AjaxResult remove(@PathVariable Long[] ids)
|