• java基于springboot+vue的酒店预订网站——计算机毕业设计


    运行环境:

    开发工具:IDEA /Eclipse
    数据库:MYSQL5.7
    应用服务:Tomcat7/Tomcat8
    使用框架springboot+vue

    项目介绍

    民宿管理平台系统,主要的模块包括管理员;首页、个人中心、用户管理、商家管理、民宿信息管理、房间类型管理、房间信息管理、房间预订管理、房间退订管理、投诉反馈管理、我的收藏管理、系统管理,用户;首页、个人中心、民宿信息管理、房间信息管理、房间预订管理、房间退订管理、投诉反馈管理、我的收藏管理,商家用户;首页、个人中心、民宿信息管理、房间信息管理、房间预订管理、房间退订管理、投诉反馈管理、我的收藏管理,前台首页;首页、民宿信息、房间信息、个人中心、后台管理、在线客服等功能

    控制器类
    /**
     * 登录相关
     */
    @RequestMapping("config")
    @RestController
    public class ConfigController{
    	
    	@Autowired
    	private ConfigService configService;
    
    	/**
         * 列表
         */
        @RequestMapping("/page")
        public R page(@RequestParam Map<String, Object> params,ConfigEntity config){
            EntityWrapper<ConfigEntity> ew = new EntityWrapper<ConfigEntity>();
        	PageUtils page = configService.queryPage(params);
            return R.ok().put("data", page);
        }
        
    	/**
         * 列表
         */
        @IgnoreAuth
        @RequestMapping("/list")
        public R list(@RequestParam Map<String, Object> params,ConfigEntity config){
            EntityWrapper<ConfigEntity> ew = new EntityWrapper<ConfigEntity>();
        	PageUtils page = configService.queryPage(params);
            return R.ok().put("data", page);
        }
    
        /**
         * 信息
         */
        @RequestMapping("/info/{id}")
        public R info(@PathVariable("id") String id){
            ConfigEntity config = configService.selectById(id);
            return R.ok().put("data", config);
        }
        
        /**
         * 详情
         */
        @IgnoreAuth
        @RequestMapping("/detail/{id}")
        public R detail(@PathVariable("id") String id){
            ConfigEntity config = configService.selectById(id);
            return R.ok().put("data", config);
        }
        
        /**
         * 根据name获取信息
         */
        @RequestMapping("/info")
        public R infoByName(@RequestParam String name){
            ConfigEntity config = configService.selectOne(new EntityWrapper<ConfigEntity>().eq("name", "faceFile"));
            return R.ok().put("data", config);
        }
        
        /**
         * 保存
         */
        @PostMapping("/save")
        public R save(@RequestBody ConfigEntity config){
    //    	ValidatorUtils.validateEntity(config);
        	configService.insert(config);
            return R.ok();
        }
    
        /**
         * 修改
         */
        @RequestMapping("/update")
        public R update(@RequestBody ConfigEntity config){
    //        ValidatorUtils.validateEntity(config);
            configService.updateById(config);//全部更新
            return R.ok();
        }
    
        /**
         * 删除
         */
        @RequestMapping("/delete")
        public R delete(@RequestBody Long[] ids){
        	configService.deleteBatchIds(Arrays.asList(ids));
            return R.ok();
        }
    }
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89

    效果图

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

    目 录
    摘 要 I
    Abstracts I
    目 录 I
    第1章 绪论 1
    1.1课题背景 1
    1.2研究意义 1
    1.3研究内容 2
    第2章 技术介绍 2
    2.1相关技术 3
    2.2 Java技术 3
    2.3 MySQL数据库 4
    2.4 Tomcat介绍 4
    2.5 Spring Boot框架 5
    第3章 需求分析 5
    3.1需求分析概述 6
    3.2可行性分析 6
    3.2.1经济可行性 6
    3.2.2技术可行性 7
    3.3系统功能设计 7
    第4章 系统设计 7
    4.1系统结构设计 7
    4.2数据库设计 8
    4.2.1实体ER图 8
    4.2.2数据表 10
    第5章 系统实现 14
    5.1管理员功能模块 14
    5.2前台首页功能模块 18
    5.3用户功能模块 18
    第6章 系统测试 23
    6.1测试定义及目的 23
    6.2测试方法 23
    6.3测试模块 24
    6.4测试结果 25
    结 论 26
    致 谢 27
    参考文献 28

  • 相关阅读:
    The valid characters are defined in RFC 7230 and RFC 3986
    计算机视觉与模式识别实验1-4 图像的傅立叶变换
    python显示神经网络训练时的1batch数据
    17. CSRF攻击(从入门到入狱)
    VLAN技术原理,附分析过程,简单易懂
    vue3+electron开发桌面应用,静态资源处理方式及路径问题总结
    CentOS7 安装mysql8(离线安装)&postgresql14(在线安装)
    基于在线问诊记录的抑郁症病患群组划分与特征分析
    编程思想介绍
    C/C++变长参数
  • 原文地址:https://blog.csdn.net/qq_1262330535/article/details/127949666