lihong 2 rokov pred
rodič
commit
2a1a58e3e2

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

@@ -1413,4 +1413,19 @@ public class NavigationController {
         }
         return "mz/add_mzzyreq";
     }
+    /**
+     * @description:医生首页
+     * @author: lihong
+     * @date: 2023/8/11 9:02
+     * @param: httpServletRequest
+     * @return: java.lang.String
+     **/
+    @RequestMapping("/doctorIndex")
+    public String doctorIndex(HttpServletRequest httpServletRequest) throws Exception {
+        List<String> urls = getRoleUrls(httpServletRequest);
+        if (!urls.contains("/thmz/doctorIndex")) {
+            throw new Exception("您没有此模块的权限,请联系管理员开通!");
+        }
+        return "doctorIndex";
+    }
 }