This commit is contained in:
Chill 2019-04-15 07:29:04 +08:00 committed by GitHub
parent 9d3d2584ce
commit 2e71e38a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,9 +20,7 @@ import lombok.AllArgsConstructor;
import org.springblade.core.boot.ctrl.BladeController; import org.springblade.core.boot.ctrl.BladeController;
import org.springblade.core.mp.support.Condition; import org.springblade.core.mp.support.Condition;
import org.springblade.core.secure.BladeUser; import org.springblade.core.secure.BladeUser;
import org.springblade.core.secure.annotation.PreAuth;
import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.R;
import org.springblade.core.tool.constant.RoleConstant;
import org.springblade.core.tool.support.Kv; import org.springblade.core.tool.support.Kv;
import org.springblade.core.tool.utils.Func; import org.springblade.core.tool.utils.Func;
import org.springblade.system.entity.Menu; import org.springblade.system.entity.Menu;
@ -46,7 +44,6 @@ import java.util.Map;
@AllArgsConstructor @AllArgsConstructor
@RequestMapping("/menu") @RequestMapping("/menu")
@Api(value = "菜单", tags = "菜单") @Api(value = "菜单", tags = "菜单")
@PreAuth(RoleConstant.HAS_ROLE_ADMIN)
public class MenuController extends BladeController { public class MenuController extends BladeController {
private IMenuService menuService; private IMenuService menuService;