|
|
|
|
# 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://images.gitee.com/uploads/images/2021/0515/222629_9dbd5887_8240652.png "Snipaste_2021-05-15_21-47-22.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### 购票
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/222704_03d5b7c1_8240652.png "Snipaste_2021-05-15_21-47-40.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### 选座
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/222744_fca677c4_8240652.png "Snipaste_2021-05-15_21-48-22.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### 支付
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/222811_8cd3ff82_8240652.png "Snipaste_2021-05-15_21-49-20.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### 系统公告
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/223116_8cad40ca_8240652.png "Snipaste_2021-05-15_22-29-22.png")
|
|
|
|
|
|
|
|
|
|
====================================================================
|
|
|
|
|
|
|
|
|
|
### 数据可视化及预测
|
|
|
|
|
#### 电影热度top10
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/224132_a490bf87_8240652.png "Snipaste_2021-05-15_21-49-47.png")
|
|
|
|
|
|
|
|
|
|
#### 十佳演员
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/224237_bedfd6be_8240652.png "Snipaste_2021-05-15_21-49-57.png")
|
|
|
|
|
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/224301_3a76ba31_8240652.png "Snipaste_2021-05-15_21-50-09.png")
|
|
|
|
|
|
|
|
|
|
#### 词云
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/225220_e86d7bf7_8240652.jpeg "output4.jpg")
|
|
|
|
|
#### 电影评分预测及票房预测
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/224350_c8bcfc57_8240652.png "Snipaste_2021-05-15_22-18-25.png")
|
|
|
|
|
|
|
|
|
|
====================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 运行截图(后台)
|
|
|
|
|
|
|
|
|
|
#### 管理员登陆
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/223701_1a95deb7_8240652.png "Snipaste_2021-05-15_22-19-27.png")
|
|
|
|
|
|
|
|
|
|
#### 电影列表
|
|
|
|
|
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/223739_14471eb1_8240652.png "Snipaste_2021-05-15_22-19-46.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 电影排片
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/223832_a45519d0_8240652.png "Snipaste_2021-05-15_22-19-59.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/223901_189516f3_8240652.png "Snipaste_2021-05-15_22-20-14.png")
|
|
|
|
|
|
|
|
|
|
#### 用户订单
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/223933_2442e096_8240652.png "Snipaste_2021-05-15_22-20-26.png")
|
|
|
|
|
|
|
|
|
|
#### 项目接口
|
|
|
|
|
![输入图片说明](https://images.gitee.com/uploads/images/2021/0515/224010_986e12e2_8240652.png "Snipaste_2021-05-15_22-22-25.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|