|
|
# backEnd
|
|
|
|
|
|
### 介绍
|
|
|
电影购票+预测系统--后端代码
|
|
|
|
|
|
本项目是基于springboot+vue前后端分离项目,此处为后端的Java代码,前端代码可在 **电影购票+预测系统--前端代码**中下载。
|
|
|
|
|
|
本项目分为前台和后台,用户有普通用户和管理员,普通用户只可访问前台页面,管理员可以访问后台;
|
|
|
前台主要功能有电影分类、电影热度排行、电影详细介绍、选座购票、评论功能;
|
|
|
后台主要功能有用户管理、电影管理、订单管理、评论管理、放映厅管理、场次安排等功能
|
|
|
除了这些 基本功能还有 **对不同数据的可视化,电影的预测等**
|
|
|
|
|
|
|
|
|
### 安装教程
|
|
|
**一:后端**
|
|
|
>
|
|
|
1、执行sql文件夹中的sql.sql 文件
|
|
|
2、在applicationContext.xml配置文件中的数据库配置改为自己的配置;
|
|
|
3、直接启动程序
|
|
|
|
|
|
二: **前端(Vue)**
|
|
|
>
|
|
|
1. 下载前端代码 Vue-admin和vue-app
|
|
|
2. 分别执行 npm install 下载依赖包
|
|
|
3. 使用 npm run serve 运行程序
|
|
|
|
|
|
### 运行截图(前台)
|
|
|
#### 用户登陆
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%871.png)
|
|
|
#### 用户首页
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%872.png)
|
|
|
|
|
|
#### 按不同类型搜索
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%873.png)
|
|
|
|
|
|
|
|
|
#### 点击电影查看详细信息
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%874.png)
|
|
|
|
|
|
|
|
|
|
|
|
#### 购票
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%875.png)
|
|
|
|
|
|
|
|
|
#### 选座
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%876.png)
|
|
|
|
|
|
|
|
|
#### 支付
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%877.png)
|
|
|
|
|
|
|
|
|
#### 系统公告
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%878.png)
|
|
|
|
|
|
====================================================================
|
|
|
|
|
|
### 数据可视化及预测
|
|
|
#### 电影热度top10
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%879.png)
|
|
|
|
|
|
#### 十佳演员
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%8710.png)
|
|
|
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%8711.png)
|
|
|
|
|
|
#### 词云
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%8712.png)
|
|
|
#### 电影评分预测及票房预测
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%8713.png)
|
|
|
|
|
|
====================================================================
|
|
|
|
|
|
|
|
|
### 运行截图(后台)
|
|
|
|
|
|
#### 管理员登陆
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%8714.png)
|
|
|
|
|
|
#### 电影列表
|
|
|
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%8715.png)
|
|
|
|
|
|
|
|
|
### 电影排片
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%8716.png)
|
|
|
|
|
|
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%8717.png)
|
|
|
|
|
|
#### 用户订单
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%8718.png)
|
|
|
|
|
|
#### 项目接口
|
|
|
![输入图片说明](https://code.educoder.net/repo/pq3l7nfbs/Ticket-prediction-system-based-on-machine-learning/raw/branch/master/%E5%9B%BE%E7%89%8719.png)
|
|
|
|
|
|
|
|
|
|
|
|
|