修复权限bug

master
星期八 6 years ago
parent b6c97cbfe7
commit b9edde2fd2
  1. 4
      src/main/java/com/lq/cms/service/SysRoleService.java
  2. 3
      src/main/java/com/lq/cms/service/SysUserService.java
  3. 1
      src/main/java/com/lq/cms/web/sys/LogController.java

@ -4,6 +4,7 @@ import com.lq.cms.vo.SysRoleVo;
import com.lq.cms.vo.SysUserRoleVo;
import com.lq.code.service.BaseService;
import com.lq.entity.SysRole;
import org.apache.bcel.verifier.statics.LONG_Upper;
import java.util.List;
@ -11,6 +12,7 @@ import java.util.List;
* Created by qi_liang on 2018/6/21.
*/
public interface SysRoleService extends BaseService<SysRole> {
Integer count(SysRoleVo vo);
List<SysRoleVo> findListPage(SysRoleVo vo);
@ -18,4 +20,6 @@ public interface SysRoleService extends BaseService<SysRole> {
List<SysUserRoleVo> findAllRoleVo(Long userId);
List<SysRole> findByUserId(Long userId);
void deleteRole(Long roleId);
}

@ -3,6 +3,7 @@ package com.lq.cms.service;
import com.lq.cms.vo.SysUserVo;
import com.lq.code.service.BaseService;
import com.lq.entity.SysUser;
import org.apache.bcel.verifier.statics.LONG_Upper;
import java.util.List;
@ -18,4 +19,6 @@ public interface SysUserService extends BaseService<SysUser> {
SysUser findByLoginNameAndPassword(String loginName, String password);
SysUser findByEmail(String email);
void deleteUserById(Long userId);
}

@ -34,7 +34,6 @@ public class LogController {
@RequiresPermissions("/cms/log/index:SELECT")
public ModelAndView index(ModelAndView modelAndView){
modelAndView.setViewName("cms/sys/log/index");
return modelAndView;
}

Loading…
Cancel
Save