接口逻辑补充零碎修改等
This commit is contained in:
@ -130,10 +130,10 @@ public class GGroupsController extends BaseController
|
||||
/**
|
||||
* 删除组
|
||||
*/
|
||||
@DeleteMapping("/{ids}")
|
||||
@DeleteMapping("/{id}")
|
||||
@ApiOperation("删除组")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
public AjaxResult remove(@PathVariable Long id)
|
||||
{
|
||||
return toAjax(gGroupsService.deleteGGroupsByIds(ids));
|
||||
return toAjax(gGroupsService.deleteGGroupsById(id));
|
||||
}
|
||||
}
|
||||
|
@ -86,6 +86,15 @@ public class ProjectController extends BaseController
|
||||
{
|
||||
return success(projectService.selectProjectByProjectId(projectId));
|
||||
}
|
||||
/**
|
||||
* 查询管理员项目切换下拉框数据
|
||||
*/
|
||||
@GetMapping("/adminProjectList")
|
||||
// @PreAuthorize("@ss.hasPermi('iot:project:adminProjectList')")
|
||||
@ApiOperation("查询管理员项目切换下拉框数据")
|
||||
public AjaxResult getAdminProjectList(){
|
||||
return success(projectService.selectAdminProjectList());
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增项目
|
||||
|
Reference in New Issue
Block a user