This commit is contained in:
cyk
2023-12-26 21:44:13 +08:00
parent 941ae2d42a
commit 86ddcd59c3
3 changed files with 5 additions and 4 deletions

View File

@@ -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", "查询结果");

View File

@@ -21,5 +21,5 @@ public interface AuthDao {
int updateByPrimaryKey(Auth record);
List<Auth> selectAllAuth();
List<Auth> selectAllAuth(String isMenu);
}