基于SSM 框架的旅游网站

137 篇文章 6 订阅
90 篇文章 5 订阅

介绍:spring+springmvc+mybatis三大框架,mysql数据库

本系统采用了以下开发环境:
(1)数据库:MySQL数据库
(2)服务器:采用Tomcat
(3)开发工具:My Eclipse
(4)虚拟机:本设计采用虚拟机为JDK
(5)操作系统:为Microsoft Windows 10

功能结构图:

在这里插入图片描述
效果截图:
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
数据库表:

CREATE TABLE t_admin (
id int(11) NOT NULL AUTO_INCREMENT,
username varchar(100) DEFAULT NULL,
password varchar(100) DEFAULT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;


– Records of t_admin


INSERT INTO t_admin VALUES (‘1’, ‘admin’, ‘111’);


– Table structure for t_contact


DROP TABLE IF EXISTS t_contact;
CREATE TABLE t_contact (
id int(11) NOT NULL AUTO_INCREMENT,
customerId int(11) DEFAULT NULL COMMENT ‘用户’,
phone varchar(100) DEFAULT NULL COMMENT ‘联系方式’,
content text COMMENT ‘内容’,
insertDate datetime DEFAULT NULL COMMENT ‘日期’,
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT=‘建议’;


– Records of t_contact


INSERT INTO t_contact VALUES (‘1’, ‘2’, ‘1123’, ‘123123123’, ‘2020-02-13 08:15:15’);
INSERT INTO t_contact VALUES (‘2’, ‘2’, ‘149999999’, ‘sdfasdfasdfasdfasdf’, ‘2020-02-15 09:51:57’);
INSERT INTO t_contact VALUES (‘3’, ‘2’, ‘123123’, ‘2312312跌幅达士大夫撒’, ‘2020-02-10 15:14:26’);
INSERT INTO t_contact VALUES (‘4’, ‘8’, ‘1381111111111111’, ‘1三大法师的发’, ‘2020-02-12 10:47:37’);
INSERT INTO t_contact VALUES (‘5’, ‘2’, null, null, ‘2020-02-11 08:11:09’);
INSERT INTO t_contact VALUES (‘6’, ‘2’, ‘13811111111’, ‘阿达撒发的说法三’, ‘2020-02-13 02:50:51’);
INSERT INTO t_contact VALUES (‘7’, ‘2’, ‘2222’, ‘222’, ‘2020-02-11 01:49:15’);
INSERT INTO t_contact VALUES (‘8’, null, ‘13811111111’, ‘阿斯顿发的说法’, ‘2020-02-14 15:22:20’);
INSERT INTO t_contact VALUES (‘9’, null, ‘13811111111’, ‘的说法是发生’, ‘2020-02-13 07:33:25’);
INSERT INTO t_contact VALUES (‘10’, ‘13’, ‘138111111111’, ‘111’, ‘2020-02-11 22:47:47’);


– Table structure for t_customer


DROP TABLE IF EXISTS t_customer;
CREATE TABLE t_customer (
id int(11) NOT NULL AUTO_INCREMENT,
username varchar(100) DEFAULT NULL COMMENT ‘账号’,
password varchar(100) DEFAULT NULL COMMENT ‘密码’,
customerName varchar(100) DEFAULT NULL COMMENT ‘姓名’,
sex varchar(100) DEFAULT NULL COMMENT ‘性别’,
address varchar(100) DEFAULT NULL COMMENT ‘地址’,
phone varchar(100) DEFAULT NULL COMMENT ‘手机’,
account int(11) DEFAULT NULL COMMENT ‘账户’,
jf int(11) DEFAULT NULL COMMENT ‘积分’,
headPic varchar(50) DEFAULT NULL COMMENT ‘头像’,
status varchar(50) DEFAULT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT=‘客户’;


– Records of t_customer


INSERT INTO t_customer VALUES (‘2’, ‘c1’, ‘111’, ‘小明’, ‘男’, ‘上海市政府大楼’, ‘13811111111’, ‘3374’, ‘20300’, ‘upload/20200217/158194362417952.jpg’, null);
INSERT INTO t_customer VALUES (‘3’, ‘c2’, ‘111’, ‘李四’, ‘女’, ‘上海市政府大楼’, ‘13811111111’, null, null, ‘upload/20191205/157555434951579.jpg’, null);
INSERT INTO t_customer VALUES (‘4’, ‘c3’, ‘111’, ‘王五’, ‘女’, ‘上海市政府大楼’, ‘13811111111’, null, null, ‘upload/20191205/157555434951579.jpg’, null);
INSERT INTO t_customer VALUES (‘5’, ‘c4’, ‘111’, ‘赵柳’, ‘男’, ‘上海市政府大楼’, ‘13811111111’, ‘-1464’, ‘21200’, ‘upload/20191205/157555434951579.jpg’, null);
INSERT INTO t_customer VALUES (‘6’, ‘c5’, ‘111’, ‘黑漆’, ‘男’, ‘上海市政府大楼’, ‘13811111111’, ‘-2453’, ‘20211’, ‘upload/20191205/157555434951579.jpg’, null);
INSERT INTO t_customer VALUES (‘7’, ‘c6’, ‘111’, ‘小红’, ‘男’, ‘上海市政府大楼’, ‘13811111111’, null, null, ‘upload/20191205/157555434951579.jpg’, null);

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>cn.itcast.parent</groupId> <artifactId>itcast-parent</artifactId> <version>0.0.1-SNAPSHOT</version> </parent> <groupId>cn.itcast</groupId> <artifactId>travel</artifactId> <version>1.0.0-SNAPSHOT</version> <packaging>war</packaging> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> </dependency> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> </dependency> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis-spring</artifactId> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </dependency> <!-- 连接池 --> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> </dependency> <!-- Jackson Json处理工具包 --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>2.9.0</version> </dependency> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.4.7</version> </dependency> <dependency> <groupId>jstl</groupId> <artifactId>jstl</artifactId> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jsp-api</artifactId> </dependency> </dependencies> <build> <plugins> <!-- 配置Tomcat插件 --> <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <configuration> <port>8080</port> <path>/</path> </configuration> </plugin> </plugins> </build> </project>

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值