2025/12/29 5:56:06
网站建设
项目流程
什么样的网站利于优化,滁州市琅琊区规划建设局网站,网站自动生成网页,wordpress编辑器推荐一、项目介绍 本系统前端框架采用了比较流行的渐进式JavaScript框架Vue.js。使用Vue-Router实现动态路由#xff0c;Ajax实现前后端通信#xff0c;Element-plus组件库使页面快速成型。后端部分#xff1a;采用SpringBoot作为开发框架#xff0c;同时集成MyBatis、Redis、阿…一、项目介绍本系统前端框架采用了比较流行的渐进式JavaScript框架Vue.js。使用Vue-Router实现动态路由Ajax实现前后端通信Element-plus组件库使页面快速成型。后端部分采用SpringBoot作为开发框架同时集成MyBatis、Redis、阿里云oss对象存储等相关技术。养老院管理系统可前后端分离运行环境idea技术栈springbootvuemybatisrediselementplusjwt令牌技术不登录无法访问内容页面换浏览器也不可以二、系统功能分为管理员用户系统管理员可以进行账号管理对管理员、用户的账号进行查询增加删除和修改健康管理对老人的体检报告病例档案药品管理进行查询增加和删除修改生活管理每月餐饮外出报备入住管理是对入住等登记和寝室分配进行查询增加删除和修改安全管理是对访客记录进行查询增加删除和修改收费标准是对入住费用护理费用进行查询增加删除和修改还可以对个人信息进行查看和修改对个人密码进行修改用户可以查看家人体检情况收费标准可以查看入住费用和护理费用还可以对个人信息进行查看和修改对个人密码进行修改三、系统实现登陆界面四、实现代码package com.example.demo.Controller; import com.example.demo.Service.CategoryService; import com.example.demo.entity.Pojo.Category; import com.example.demo.entity.Pojo.Flower; import com.example.demo.entity.Result.PageBean; import com.example.demo.entity.Result.Result; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.List; RestController RequestMapping(/category) public class CategoryController { Autowired private CategoryService categoryService; //获取列表 GetMapping public ResultListCategory getMessage(){ ListCategory cs categoryService.list(); return Result.success(cs); } //新增 PostMapping public Result add(RequestBody Category category){ categoryService.add(category); return Result.success(); } //获取详情 GetMapping(/detail) public ResultCategory detail(Integer id){ Category c categoryService.findById(id); return Result.success(c); } //更新商品分类 PutMapping public Result update(RequestBody Category category){ categoryService.update(category); return Result.success(); } // 删除 DeleteMapping public Result delete(Integer id){ categoryService.delete(id); return Result.success(); } //分页查询 GetMapping(/page) public ResultPageBeanCategory page(Integer pageNum, Integer pageSize, String agriculturalName){ PageBeanCategory pageBean categoryService.page(pageNum, pageSize, agriculturalName); return Result.success(pageBean); } //根据分类查询 GetMapping(/flower) public ResultPageBeanFlower listByCategory(Integer pageNum, Integer pageSize, String categoryName){ PageBeanFlower pageBean categoryService.getByCategoryId(pageNum, pageSize, categoryName); return Result.success(pageBean); } }联系方式绿泡泡公主号