Prechádzať zdrojové kódy

核酸列表权限修正

hurugang 3 rokov pred
rodič
commit
76d114e7f2

+ 1 - 1
src/main/java/cn/hnthyy/thmz/controller/NavigationController.java

@@ -1084,7 +1084,7 @@ public class NavigationController {
     @RequestMapping("/hs-jc")
     public String hsJc(HttpServletRequest httpServletRequest) throws Exception {
         List<String> urls = getRoleUrls(httpServletRequest);
-        if (!urls.contains("/thmz/jy-jc")) {
+        if (!urls.contains("/thmz/hs-jc")) {
             throw new Exception("您没有此模块的权限,请联系管理员开通!");
         }
         return "mz/hs_jc";