style 修改一个错误的参数注释
public R<Void> remove(@ApiParam("岗位ID串") @PathVariable Long[] roleIds) { return toAjax(roleService.deleteRoleByIds(roleIds)); } public R<Void> remove(@ApiParam("角色ID串") @PathVariable Long[] roleIds) { return toAjax(roleService.deleteRoleByIds(roleIds)); } 这个service上的注释是这样的 /** * 批量删除角色信息 * * @param roleIds 需要删除的角色ID * @return 结果 */ int deleteRoleByIds(Long[] roleIds);
This commit is contained in:
parent
b3a4da5e4d
commit
b2c8062131
@ -148,7 +148,7 @@ public class SysRoleController extends BaseController {
|
||||
@SaCheckPermission("system:role:remove")
|
||||
@Log(title = "角色管理", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{roleIds}")
|
||||
public R<Void> remove(@ApiParam("岗位ID串") @PathVariable Long[] roleIds) {
|
||||
public R<Void> remove(@ApiParam("角色ID串") @PathVariable Long[] roleIds) {
|
||||
return toAjax(roleService.deleteRoleByIds(roleIds));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user