基于HTML5和css的在线听歌系统

本文介绍如何利用HTML5和CSS技术构建一个在线听歌系统,结合Java后端和MySQL数据库进行数据交互,通过Eclipse开发环境和Tomcat服务器实现项目的部署和运行。
摘要由CSDN通过智能技术生成

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

#############mysql数据库创建语句###################
create table t_admin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '超级管理员账号',
	password varchar(100) comment '超级管理员密码'
) comment '超级管理员';
insert into t_admin(username,password) values('admin','123456');

create table t_contact(
	id int primary key auto_increment comment '主键',
	customerId int(11) comment '用户',
	phone varchar(100) comment '联系方式',
	content text comment '内容',
	insertDate datetime comment '日期'
) comment '建议';

create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	customerName varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址',
	phone varchar(100) comment '手机',
	account int(11) comment '账户',
	jf int(11) comment '积分',
	headPic varchar(50) comment '头像',
	status varchar(50) comment ''
) comment '客户';

create table t_lbt(
	id int primary key auto_increment comment '主键',
	pic varchar(100) comment '图片',
	url varchar(1000) comment ''
) comment '轮播图';

create table t_pinglun(
	id int primary key auto_increment comment '主键',
	wdxxId int(11) comment '评论信息',
	customerId int(11) comment '评论人',
	content text comment '评论内容',
	insertDate datetime comment '评论日期'
) comment '评论';

create table t_pinglun_product(
	id int primary key auto_increment comment '主键',
	productId int(11) comment '评论信息',
	customerId int(11) comment '评论人',
	content text comment '评论内容',
	insertDate datetime comment '评论日期'
) comment '';

create table t_product(
	id int primary key auto_increment comment '主键',
	productName varchar(100) comment '音乐名称',
	productPic1 varchar(100) comment '图片1',
	productPic2 varchar(100) comment '图片2',
	productPic3 varchar(100) comment '图片3',
	productPic4 varchar(100) comment '图片4',
	price int(11) comment '',
	oldPrice int(11) comment '',
	content text comment '内容',
	nums int(11) comment '数量',
	tjxj varchar(50) comment '推荐星级',
	status varchar(50) comment '状态',
	typesId int(11) comment '分类',
	jf int(11) comment '积分',
	userId int(11) comment '歌手',
	bqId int(11) comment '标签',
	djl int(11) comment '点击量'
) comment '音乐';

create table t_productclick(
	id int primary key auto_increment comment '主键',
	productId int(11) comment '音乐',
	customerId int(11) comment '用户',
	insertDate datetime comment '日期'
) comment '音乐点击';

create table t_sc(
	id int primary key auto_increment comment '主键',
	customerId int(11) comment '用户',
	productId int(11) comment '产品',
	insertDate datetime comment '日期'
) comment '收藏';

create table t_types(
	id int primary key auto_increment comment '主键',
	typesName varchar(1000) comment '分类'
) comment '分类';

create table t_user(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	name varchar(100) comment '姓名',
	gh varchar(100) comment '工号',
	mobile varchar(100) comment '手机',
	status varchar(100) comment '',
	jf varchar(100) comment ''
) comment '普通员工';

create table t_wdxx(
	id int primary key auto_increment comment '主键',
	customerId int(11) comment '我',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content text comment '内容',
	zan int(11) comment '赞',
	insertDate datetime comment '发布日期',
	nologin varchar(50) comment '游客是否可见',
	bkId int(11) comment ''
) comment '我的消息';

create table t_xiaoxi(
	id int primary key auto_increment comment '主键',
	customerId int(11) comment '用户',
	title varchar(100) comment '标题',
	content text comment '内容',
	insertDate datetime comment '日期'
) comment '消息';

create table t_zx(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	content longtext comment '内容',
	pic varchar(100) comment '图片'
) comment '资讯';




#############oracle数据库创建语句###################
create table t_admin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '超级管理员账号',
	password varchar(100) comment '超级管理员密码'
) comment '超级管理员';
insert into t_admin(username,password) values('admin','123456');

create table t_contact(
	id int primary key auto_increment comment '主键',
	customerId int(11) comment '用户',
	phone varchar(100) comment '联系方式',
	content text comment '内容',
	insertDate datetime comment '日期'
) comment '建议';

create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	customerName varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址',
	phone varchar(100) comment '手机',
	account int(11) comment '账户',
	jf int(11) comment '积分',
	headPic varchar(50) comment '头像',
	status varchar(50) comment ''
) comment '客户';

create table t_lbt(
	id int primary key auto_increment comment '主键',
	pic varchar(100) comment '图片',
	url varchar(1000) comment ''
) comment '轮播图';

create table t_pinglun(
	id int primary key auto_increment comment '主键',
	wdxxId int(11) comment '评论信息',
	customerId int(11) comment '评论人',
	content text comment '评论内容',
	insertDate datetime comment '评论日期'
) comment '评论';

create table t_pinglun_product(
	id int primary key auto_increment comment '主键',
	productId int(11) comment '评论信息',
	customerId int(11) comment '评论人',
	content text comment '评论内容',
	insertDate datetime comment '评论日期'
) comment '';

create table t_product(
	id int primary key auto_increment comment '主键',
	productName varchar(100) comment '音乐名称',
	productPic1 varchar(100) comment '图片1',
	productPic2 varchar(100) comment '图片2',
	productPic3 varchar(100) comment '图片3',
	productPic4 varchar(100) comment '图片4',
	price int(11) comment '',
	oldPrice int(11) comment '',
	content text comment '内容',
	nums int(11) comment '数量',
	tjxj varchar(50) comment '推荐星级',
	status varchar(50) comment '状态',
	typesId int(11) comment '分类',
	jf int(11) comment '积分',
	userId int(11) comment '歌手',
	bqId int(11) comment '标签',
	djl int(11) comment '点击量'
) comment '音乐';

create table t_productclick(
	id int primary key auto_increment comment '主键',
	productId int(11) comment '音乐',
	customerId int(11) comment '用户',
	insertDate datetime comment '日期'
) comment '音乐点击';

create table t_sc(
	id int primary key auto_increment comment '主键',
	customerId int(11) comment '用户',
	productId int(11) comment '产品',
	insertDate datetime comment '日期'
) comment '收藏';

create table t_types(
	id int primary key auto_increment comment '主键',
	typesName varchar(1000) comment '分类'
) comment '分类';

create table t_user(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	name varchar(100) comment '姓名',
	gh varchar(100) comment '工号',
	mobile varchar(100) comment '手机',
	status varchar(100) comment '',
	jf varchar(100) comment ''
) comment '普通员工';

create table t_wdxx(
	id int primary key auto_increment comment '主键',
	customerId int(11) comment '我',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content text comment '内容',
	zan int(11) comment '赞',
	insertDate datetime comment '发布日期',
	nologin varchar(50) comment '游客是否可见',
	bkId int(11) comment ''
) comment '我的消息';

create table t_xiaoxi(
	id int primary key auto_increment comment '主键',
	customerId int(11) comment '用户',
	title varchar(100) comment '标题',
	content text comment '内容',
	insertDate datetime comment '日期'
) comment '消息';

create table t_zx(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	content longtext comment '内容',
	pic varchar(100) comment '图片'
) comment '资讯';

create table t_contact(
	id integer,
	customerId int(11),
	phone varchar(100),
	content text,
	insertDate datetime
);
--建议字段加注释
comment on column t_contact.id is '主键';
comment on column t_contact.id is '主键唯一ID';
comment on column t_contact.customerId is '用户';
comment on column t_contact.phone is '联系方式';
comment on column t_contact.content is '内容';
comment on column t_contact.insertDate is '日期';
--建议表加注释
comment on table t_contact is '建议';

create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	sex varchar(100),
	address varchar(100),
	phone varchar(100),
	account int(11),
	jf int(11),
	headPic varchar(50),
	status varchar(50)
);
--客户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.id is '主键唯一ID';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.customerName is '姓名';
comment on column t_customer.sex is '性别';
comment on column t_customer.address 
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值