权限控制增加
优化ipv4、ipv6流量展示
This commit is contained in:
+1
-8
@@ -24,6 +24,7 @@ import java.util.Map;
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/switchFanInfo")
|
||||
@RequiresPermissions("rocketmq:switchInfo")
|
||||
public class InitialSwitchFanInfoController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
@@ -32,7 +33,6 @@ public class InitialSwitchFanInfoController extends BaseController
|
||||
/**
|
||||
* 查询风扇信息列表
|
||||
*/
|
||||
@RequiresPermissions("rocketmq:info:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(InitialSwitchFanInfo initialSwitchFanInfo)
|
||||
{
|
||||
@@ -44,7 +44,6 @@ public class InitialSwitchFanInfoController extends BaseController
|
||||
/**
|
||||
* 导出风扇信息列表
|
||||
*/
|
||||
@RequiresPermissions("rocketmq:info:export")
|
||||
@Log(title = "风扇信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, InitialSwitchFanInfo initialSwitchFanInfo)
|
||||
@@ -57,7 +56,6 @@ public class InitialSwitchFanInfoController extends BaseController
|
||||
/**
|
||||
* 获取风扇信息详细信息
|
||||
*/
|
||||
@RequiresPermissions("rocketmq:info:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
@@ -67,7 +65,6 @@ public class InitialSwitchFanInfoController extends BaseController
|
||||
/**
|
||||
* 新增风扇信息
|
||||
*/
|
||||
@RequiresPermissions("rocketmq:info:add")
|
||||
@Log(title = "风扇信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody InitialSwitchFanInfo initialSwitchFanInfo)
|
||||
@@ -78,7 +75,6 @@ public class InitialSwitchFanInfoController extends BaseController
|
||||
/**
|
||||
* 修改风扇信息
|
||||
*/
|
||||
@RequiresPermissions("rocketmq:info:edit")
|
||||
@Log(title = "风扇信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody InitialSwitchFanInfo initialSwitchFanInfo)
|
||||
@@ -89,7 +85,6 @@ public class InitialSwitchFanInfoController extends BaseController
|
||||
/**
|
||||
* 删除风扇信息
|
||||
*/
|
||||
@RequiresPermissions("rocketmq:info:remove")
|
||||
@Log(title = "风扇信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
@@ -102,7 +97,6 @@ public class InitialSwitchFanInfoController extends BaseController
|
||||
* @param initialSwitchFanInfo
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("rocketmq:info:list")
|
||||
@PostMapping("/getAllFanName")
|
||||
public AjaxResult getAllFanName(@RequestBody InitialSwitchFanInfo initialSwitchFanInfo){
|
||||
List<Map> list = initialSwitchFanInfoService.getAllFanName(initialSwitchFanInfo);
|
||||
@@ -113,7 +107,6 @@ public class InitialSwitchFanInfoController extends BaseController
|
||||
* @param initialSwitchFanInfo
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("rocketmq:info:list")
|
||||
@PostMapping("/getFanMsg")
|
||||
public AjaxResult getFanMsg(@RequestBody InitialSwitchFanInfo initialSwitchFanInfo){
|
||||
List<InitialSwitchFanInfo> list = initialSwitchFanInfoService.getFanMsg(initialSwitchFanInfo);
|
||||
|
||||
Reference in New Issue
Block a user