zengjia
This commit is contained in:
@@ -18,8 +18,8 @@ public class AuthController {
|
||||
AuthDao authDao;
|
||||
|
||||
@RequestMapping("/retAllAuth")
|
||||
public String retAllAuth(){
|
||||
List<Auth> auths = authDao.selectAllAuth();
|
||||
public String retAllAuth(String isMenu){
|
||||
List<Auth> auths = authDao.selectAllAuth(isMenu);
|
||||
HashMap<String, Object> result = new HashMap<>();
|
||||
result.put("code", 200);
|
||||
result.put("msg", "查询结果");
|
||||
|
@@ -21,5 +21,5 @@ public interface AuthDao {
|
||||
|
||||
int updateByPrimaryKey(Auth record);
|
||||
|
||||
List<Auth> selectAllAuth();
|
||||
List<Auth> selectAllAuth(String isMenu);
|
||||
}
|
Reference in New Issue
Block a user