mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	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:
		@@ -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));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user