• 基于Springboot + vue 开发的外卖餐购项目(后台管理+消费者端)


    manster外卖系统

    回答问题有偿(勿扰)
    gitee 地址: https://gitee.com/manster1231/manster-takeout

    1、介绍

    基于Springboot + vue 开发的外卖餐购项目(后台管理+消费者端),前端使用 vue ,Element-ui,后端使用 Mybatisplus 来方便 sql 编写、 使用 Mysql8 来存储数据、使用Swagger2 作为接口管理、使用 Redis 作为缓存。

    2、主要的请求路径:

    后端请求:

    后端登录页: http://localhost:8081/backend/page/login/login.html

    后端主要展示页/主页: http://localhost:8081/backend/index.html

    消费端请求:

    消费端登录页: http://localhost:8081/front/page/login.html

    消费端主页: http://localhost:8081/front/index.html

    Swagger接口文档的请求: http://localhost:8081/doc.html#/home

    3、功能

    目前实现了如下功能:

    1. 菜品(批量)启售和(批量)停售
      2)菜品的批量删除
      3)套餐的(批量)启售,停售
    2. 套餐管理的修改
    3. 后台按条件查看和展示客户订单
    4. 修改订单状态
    5. 手机端减少购物车中的菜品或者套餐数量
    6. 用户查看自己订单
    7. 移动端点击套餐图片查看套餐具体菜品

    注意:启动项目前,需要启动Redis服务,因为项目前端验证码、前后端的菜品、套餐等模块都使用到了Redis。

    菜品数据(Dish)采用Redis来实现缓存,需要导入依赖:

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-redis</artifactId>
    </dependency>
    
    • 1
    • 2
    • 3
    • 4

    SpringData Cache的具体实现需要整合具体的缓存应用来实现,SpringDataCache只是简化、封装了作为缓存的细节

    套餐数据(Setmeal)采用SpringData Cache来实现缓存,需要导入依赖:

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-cache</artifactId>
    </dependency>
    
    • 1
    • 2
    • 3
    • 4
    spring:
      redis:
        host: localhost # 本地IP 或是 虚拟机IP
        port: 6379
    #    password: root
        database: 0  # 默认使用 0号db
      cache:
        redis:
          time-to-live: 1800000  # 设置缓存数据的过期时间
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9

    4、示例

    后端

    在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述
    在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述
    在这里插入图片描述

    前端

    在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述

    在这里插入图片描述

  • 相关阅读:
    LeetCode|动态规划|392. 判断子序列、115. 不同的子序列、 583. 两个字符串的删除操作
    001 redis高并发减库存
    从零开始学习opencv——在虚拟环境下安装opencv环境
    国内周边游小程序源码
    Java——数组的使用
    Leetcode(135)——分发糖果
    c++视觉----使用多边形包围轮廓
    手把手创建属于自己的ASP.NET Croe Web API项目
    二零二四:不要再当差一点先生
    Type-C口充电器头为什么没有电压输出?
  • 原文地址:https://blog.csdn.net/qq_45803593/article/details/125253594