当前位置: 首页 > news >正文

基于springboot,vue校园社团管理系统

开发工具:IDEA

服务器:Tomcat9.0, jdk1.8

项目构建:maven

数据库:mysql5.7

系统分前后台,项目采用前后端分离

前端技术:vue+elementUI

服务端技术:springboot+mybatis-plus

本系统分学生、社长、管理员三个角色,功能如下:

一、学生(用户)功能包括: 

1.登录、注册、首页、修改密码、修改个人信息

2.入团申请管理:可以向感兴趣的社团提交申请。

3.浏览社团信息:可以浏览所有社团及其基本信息。

4.活动信息管理:查看活动信息和申请加入活动。

5.通知信息查询:可以查询发布的通知信息。

6.缴费信息管理:实现缴费查询和缴费缴纳功能。

二、社长功能包括:

1.登录、首页、修改密码、修改个人信息

2.入团申请处理:可以对提交社团申请的用户进行审核。

3.社团成员管理:实现对社团的成员查询和删除功能。

4.社团活动管理:可以查看和发布社团活动。

5.社团通知管理:可以查看,发布社团活动,删除本社团发布的通知

6.社团费用管理:可以查看,删除,根据社员编号发布缴费通知。

三、管理员功能包括:

1.登录、首页、修改密码、修改个人信息

2.系统用户管理:可以查看系统所有用户的基本信息,并修改和删除。

3.社团类型管理:可以对社团类型进行修改,删除,查询操作,并且可以根据需求增添社团类型。

4.社团信息管理:可以对社团进行查询,删除,创建社团,修改社团信息。

5.活动信息管理:可以查询,删除社团活动。

6.通知信息管理:可以查询,删除,发布社团活动。

7.查询缴费记录:可以查询各个社团的缴费记录。

文档截图: 

学生(用户)截图:

社长截图:

管理员截图: 

package self.cases.teams.controller;import org.slf4j.Logger;
import org.slf4j.LoggerFactory;import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;import self.cases.teams.entity.Users;
import self.cases.teams.handle.CacheHandle;
import self.cases.teams.service.UsersService;
import self.cases.teams.utils.DateUtils;
import self.cases.teams.utils.IDUtils;
import self.cases.teams.msg.R;
import self.cases.teams.msg.PageData;import self.cases.teams.entity.Teams;
import self.cases.teams.service.TeamsService;import java.util.List;/*** 系统请求响应控制器* 社团信息*/
@Controller
@RequestMapping("/teams")
public class TeamsController extends BaseController {protected static final Logger Log = LoggerFactory.getLogger(TeamsController.class);@Autowiredprivate CacheHandle cacheHandle;@Autowiredprivate UsersService usersService;@Autowiredprivate TeamsService teamsService;@RequestMapping("")public String index() {return "pages/Teams";}@GetMapping("/info")@ResponseBodypublic R getInfo(String id) {Log.info("查找指定社团信息,ID:{}", id);Teams teams = teamsService.getOne(id);return R.successData(teams);}@GetMapping("/all")@ResponseBodypublic R getAll(){Log.info("获取全部的社团");List<Teams> list = teamsService.getAll();return R.successData(list);}@GetMapping("/man")@ResponseBodypublic R getListByManId(String manId){Log.info("获取指定社团管理员相关的社团列表");List<Teams> list = teamsService.getListByManId(manId);return R.successData(list);}@GetMapping("/page")@ResponseBodypublic R getPageInfos(Long pageIndex, Long pageSize,String token, Teams teams) {Users user = usersService.getOne(cacheHandle.getUserInfoCache(token));if(user.getType() == 1){teams.setManager(user.getId());}Log.info("分页查找社团信息,当前页码:{},"+ "每页数据量:{}, 模糊查询,附加参数:{}", pageIndex,pageSize, teams);PageData page = teamsService.getPageInfo(pageIndex, pageSize, teams);return R.successData(page);}@PostMapping("/add")@ResponseBodypublic R addInfo(Teams teams) {teams.setId(IDUtils.makeIDByCurrent());teams.setCreateTime(DateUtils.getNowDate("yyyy-MM-dd"));Log.info("添加社团信息,传入参数:{}", teams);teamsService.add(teams);return R.success();}@PostMapping("/upd")@ResponseBodypublic R updInfo(Teams teams) {Log.info("修改社团信息,传入参数:{}", teams);teamsService.update(teams);return R.success();}@PostMapping("/del")@ResponseBodypublic R delInfo(String id) {Log.info("删除社团信息, ID:{}", id);Teams teams = teamsService.getOne(id);teamsService.delete(teams);return R.success();}
}

http://www.lryc.cn/news/210882.html

相关文章:

  • 广州华锐互动:VR虚拟现实物理学习平台,开启数字化教学新格局
  • 【tio-websocket】8、T-IO对半包和粘包的处理
  • 【Linux】安装与配置虚拟机及虚拟机服务器坏境配置与连接
  • Redis常识
  • Instant,LocalDate,LocalTime,LocalDateTime和ZonedDateTime
  • Web入门笔记
  • Linux网络编程二(TCP三次握手、四次挥手、TCP滑动窗口、MSS、TCP状态转换、多进程/多线程服务器实现)
  • C#核心笔记——(一)C#和.NET Framework
  • 【2023年冬季】华为OD统一考试(B卷)题库清单(已收录345题),又快又全的 B 卷题库大整理
  • 云服务器的先驱,亚马逊云科技海外云服务器领军者
  • QT webengine显示HTML简单示例
  • Spark_SQL函数定义(定义UDF函数、使用窗口函数)
  • 【Leetcode】【每日一题】【中等】274. H 指数
  • MySQL读写分离技术及实现方案
  • git 推送到github远程仓库细节处理(全网最良心)
  • 算法训练|数据流中的中位数
  • LeetCode 2558. 从数量最多的堆取走礼物【模拟,堆或原地堆化】简单
  • windows服务器环境下使用php调用com组件
  • 3DCAT+东风日产:共建线上个性化订车实时云渲染方案
  • 【VR开发】【Unity】【VRTK】1-无代码VRVR开发介绍
  • 全国地级市最新城投债数据(2006-2023.2)
  • vm_flutter
  • MySQL数据库#6
  • YOLO v1(2016.5)
  • SQL比较两次的字段集合,找出并返回差异,主要用于更新记录事件
  • muduo源码剖析之Acceptor监听类
  • express session JWT JSON Web Token
  • 负载均衡策略 LVS
  • 驱动开发6 IO多路复用——epoll
  • 【python学习笔记——列表】