Java毕业设计-社区疫情防控管理系统
计算机课程设计|毕业设计之社区疫情防控管理系统代码-基于SpringBoot微服务+Vue的社区疫情防控管理系统
> > 所有工具下载链接:
1.开发环境
-
开发语言:Java 技术:SpringBoot微服务+Vue微服务 数据库:MySQL 架构:B/S 源码类型: Web 编译工具:Idea、Eclipse、MyEclipse (选其一) 其他:jdk1.8、Tomcat8.5【不需要】 、Navicat
2.系统的设计与实现
2.1 用户类型
多角色管理的系统
2.2 各角色功能模块
2.2.1 管理员
2.3 部分功能模块展示
2.4部分代码
@ApiModelProperty(value = "返回码") private Integer code; @ApiModelProperty(value = "返回消息") private String message; @ApiModelProperty(value = "是否成功") private Boolean success; @ApiModelProperty(value = "返回数据") private Map<String,Object> data = new HashMap<>();
/** * 用户登录 * * @return */ @ApiOperation(value = "用户登录", notes = "接收参数用户名和密码,登入成功后,返回JWTToken") @RequestMapping(value = "/login",method = RequestMethod.POST) public ResultBean login(@RequestBody UserLoginDTO userLoginDTO, HttpServletRequest request) throws SystemException { String token = userService.login(userLoginDTO.getUsername(),userLoginDTO.getPassword()); loginLogService.add(request); return ResultBean.ok().data("token",token); }
/** * 上传图片文件 * @param file * @return */ @ApiOperation(value = "上传文件") @RequiresPermissions({ "upload:image"}) @RequestMapping(value = "/image",method = RequestMethod.POST) public ResultBean uploadImage(MultipartFile file) throws IOException, SystemException { String realPath = imageService.uploadImage(file); return ResultBean.ok().data("path",realPath).message("上传资源文件成功!"); }
2.5核心技术栈
2.6项目目录
上一篇:
IDEA上Java项目控制台中文乱码