当前位置:网站首页>College community management system based on boot+jsp (with source code download link)

College community management system based on boot+jsp (with source code download link)

2022-07-01 05:34:00 Code garden of Azhou

Technology Architecture :springboot+jsp+mysql

The system is mainly divided into three types of user roles , Different roles have different functions :

  • Backstage Administrator

    1. Personal center ( Personal information modification , Password change )

    2. List of recent activities

    3. User management

    4. Community management

    5. Audit management

    6. News management

  • President of the Association

    1. Personal center

    2. Activity list

    3. Activity application

    4. User management

  • General social groups

    1. Apply to create a club

    2. Join a club

    3. Personal center

    4. List of club activities

@RequestMapping("/addNews")
    public ModelAndView addNews(String title,String description){
        String createTime = new SimpleDateFormat("yyyy-MM-dd").format(new Date());
        newsService.addNews(title,description,createTime);
        ModelAndView mv = new ModelAndView();
        mv.setViewName("forward:newsManage");
        return mv;
    }
    @RequestMapping("/deleteNews")
    public ModelAndView actApplyRefuse(@RequestParam(name = "id", required = true) int id) {
        newsService.deleteNews(id);
        ModelAndView mv = new ModelAndView();
        mv.setViewName("forward:newsManage");
        return mv;
    }
    @RequestMapping("/toNewsModify")
    public String toNewsModify(int id,HttpServletRequest httpServletRequest){
        httpServletRequest.setAttribute("news",newsService.findNewsById(id));
        return "jsp/manage/news_modify";
    }

boot+jsp Download link of college community management system based on https://gitee.com/wuyanzua/blog-applet 

原网站

版权声明
本文为[Code garden of Azhou]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/182/202207010530271161.html