项目意义:
本文拟设计并实现的爱游旅行平台前台+后台信息系统, 能够改变旅游企业的传统经营模式,提高各级管理部门的工作效率和管理水平,降低工作成本,加大宣传力度,提高信息实效性;能够满足游客的个性化需求,提高旅游服务质量。 旅游管理的网络化,将会进一步壮大旅游支柱产业, 提升旅游产业整体信息化水平,优化产业结构和资源配置,完善产业链,进而带动众多相关产业发展,拉动内需,扩大就业,对经济发展起到积极的推动作用,从而提高整个旅游产业素质
主要技术:spring、 springmvc、 springboot、 md5 、mybatis 、 jquery 、layui、 、bootstarp.js tomcat、富文本编译器、拦截器等
主要功能:网站首页展示、用户登录、用户注册、旅游线路、关注线路、旅游攻略、酒店预订、我发布的旅游攻略、景点预订、关键字搜索酒店和景点信息等主要功能:
话不多说、直接查看主要截图展示:
主要功能介绍:
系统前台首页:
查看首页一些基本信息和功能操作、比如旅游线路、旅游攻略、酒店预订以及模糊搜索和个人信息等操作
用户登录和注册:
旅游线路相关模块:
点击查看所有的旅行攻略以及我关注的攻略以及根据关键字搜索攻略操作、还可以发布攻略信息、但是需要管理员审核才可以显示等
插入部分代码展示
package hue.edu.xiong.volunteer_travel.controller; import hue.edu.xiong.volunteer_travel.core.Result; import hue.edu.xiong.volunteer_travel.core.ResultGenerator; import hue.edu.xiong.volunteer_travel.model.*; import hue.edu.xiong.volunteer_travel.service.SystemService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.web.PageableDefault; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @Controller @RequestMapping("/system") public class SystemController { @Autowired private SystemService systemService; @RequestMapping("") public String loginUI() { return "system/login/login"; } @RequestMapping("/login") @ResponseBody public Result login(SysUser sysUser, HttpServletResponse response) { return systemService.login(sysUser,response); } @RequestMapping("/userListUI") public String userListUI(Model model, @PageableDefault(size = 10) Pageable pageable) { Page page = systemService.getUserPage(pageable); model.addAttribute("page",page); return "system/user/list"; } @RequestMapping("/saveUser") @ResponseBody public Result saveUser(User user) { return systemService.saveUser(user); } @RequestMapping("/getUserById") @ResponseBody public Result getUserById(String id) { return ResultGenerator.genSucce***esult(systemService.getUserById(id)); } @RequestMapping("/logout") public String logout(HttpServletRequest request, HttpServletResponse response) { systemService.logout(request,response); return "redirect:/system"; } @RequestMapping("/hotelListUI") public String hotelListUI(Model model, @PageableDefault(size = 10) Pageable pageable) { Page page = systemService.getHotelPage(pageable); model.addAttribute("page", page); return "system/hotel/list"; } @RequestMapping("/saveHotel") @ResponseBody public Result saveHotel(Hotel hotel) { return systemService.saveHotel(hotel); } @RequestMapping("/updateStatus") @ResponseBody public Result updateStatus(String id) { return systemService.updateStatus(id); } @RequestMapping("/getHotelById") @ResponseBody public Result getHotelById(String id) { return ResultGenerator.genSucce***esult(systemService.getHotelById(id)); } @RequestMapping("/attractionsListUI") public String attractionsListUI(Model model, @PageableDefault(size = 10) Pageable pageable) { Page page = systemService.getAttractionsPage(pageable); model.addAttribute("page", page); return "system/attractions/list"; } @RequestMapping("/getAttractionsById") @ResponseBody public Result getAttractionsById(String id) { return ResultGenerator.genSucce***esult(systemService.getAttractionsById(id)); } @RequestMapping("/updateAttractionsStatus") @ResponseBody public Result updateAttractionsStatus(String id) { return systemService.updateAttractionsStatus(id); } @RequestMapping("/saveAttractions") @ResponseBody public Result saveAttractions(Attractions attractions) { return systemService.saveAttractions(attractions); } @RequestMapping("/travelRouteListUI") public String travelRouteListUI(Model model, @PageableDefault(size = 10) Pageable pageable) { Page page = systemService.getTravelRoutePage(pageable); model.addAttribute("page", page); return "system/route/list"; } @RequestMapping("/getTravelRouteById") @ResponseBody public Result getTravelRouteById(String id) { return ResultGenerator.genSucce***esult(systemService.getTravelRouteById(id)); } @RequestMapping("/updateTravelRouteStatus") @ResponseBody public Result updateTravelRouteStatus(String id) { return systemService.updateTravelRouteStatus(id); } @RequestMapping("/saveTravelRoute") @ResponseBody public Result saveTravelRoute(TravelRoute travelRoute) { return systemService.saveTravelRoute(travelRoute); } @RequestMapping("/travelStrategyListUI") public String travelStrategyListUI(Model model, @PageableDefault(size = 10) Pageable pageable) { Page page = systemService.getTravelStrategyPage(pageable); model.addAttribute("page", page); return "system/strategy/list"; } @RequestMapping("/getTravelStrategyById") @ResponseBody public Result getTravelStrategyById(String id) { return ResultGenerator.genSucce***esult(systemService.getTravelStrategyById(id)); } @RequestMapping("/updateTravelStrategyStatus") @ResponseBody public Result updateTravelStrategyStatus(String id) { return systemService.updateTravelStrategyStatus(id); } @RequestMapping("/saveTravelStrategy") @ResponseBody public Result saveTravelStrategy(HttpServletRequest request,TravelStrategy travelStrategy) { return systemService.saveTravelStrategy(request,travelStrategy); } }
酒店和景点预订:
用户登录后可以进行酒店信息和景点信息查看以及预订
酒店和景点详情信息:
旅游攻略相关模块:
点击查看所有的旅行线路以及我关注的线路以及根据关键字搜索线路操作等
收藏、关注、预订:
对于酒店、线路、景点 用户可以旅行攻略收藏、景点关注、预订酒店
后台管理模块:
后台管理模块主要是一些基础数据的维护和管理、具体有用户管理、酒店信息管理、景点信息管理、攻略信息管理、路线信息管理、发布功率审核、以及登录退出等
用户发布攻略审核
主要数据表表设计:
酒店表:
CREATE TABLE `NewTable` ( `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `image` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , `hotel_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , `hotel_address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , `hotel_describe` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , `hotel_status` int(2) NULL DEFAULT 0 , `create_date` datetime NOT NULL , PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=COMPACT ;
景区表:
CREATE TABLE `NewTable` ( `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `image` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , `attractions_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , `attractions_address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , `attractions_describe` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , `attractions_status` int(2) NULL DEFAULT 0 , `create_date` datetime NOT NULL , PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=COMPACT ;
爱游旅行平台系统比较齐全完善、适合学生和毕设参考使用
作者QQ:1334611189 现成的产品直接使用,功能设计+代码+任务说明书+提纲+论文+远程部署,诚信为本,希望大家支持与帮助!