【计算机毕业设计】家乡特产网上商城

一、前言

身处网络时代,随着网络系统体系发展的不断成熟和完善,人们的生活也随之发生了很大的变化,人们在追求较高物质生活的同时,也在想着如何使自身的精神内涵得到提升,而读书就是人们获得精神享受非常重要的途径。为了满足人们随时随地只要有网络就可以看书的要求,家乡特产网上商城被开发研究了出来。
本文主要描述了该家乡特产网上商城的具体开发过程,在SSM框架的基础上,采用vue技术和MYSQL数据库,使该家乡特产网上商城具有很好的稳定性和安全性。本设计重点从系统概述、系统分析、系统设计、数据库设计、系统测试和总结这几个方面对该家乡特产网上商城进行阐述,用户通过该家乡特产网上商城可以查询自己喜欢的信息。
该家乡特产网上商城不仅能够稳定的运行,快捷方便的操作,界面简洁清晰,而且功能齐全,实用性强。

二、说明文档

推荐使用:谷歌浏览器

前台登录页面
http://localhost:8080/jiaxiangtecan/front/index.html

后台登录页面
http://localhost:8080/jiaxiangtecan/admin/dist/index.html

管理员 账户:admin 密码:admin
用户 账户:a1 密码:123456
用户 账户:a2 密码:123456
用户 账户:a3 密码:123456

在src\main\resources\config.properties中编辑

jdbc_url=jdbc:mysql://127.0.0.1:3306/jiaxiangtecan?useUnicode=true&characterEncoding=UTF-8&tinyInt1isBit=false
jdbc_username=root	    数据库用户名 root
jdbc_password=123456	用户密码    123456

图片存放路径: src\main\webapp\upload 里面上传图片名里面不能有中文

三、系统功能设计

系统结构设计就像一个树状结构一样,一个树干有很多分支,大任务相当于树干,小任务相当于树枝,只有需求分析信息弄清楚之后,才能保证每个小任务都能实现目标,对初步设计好的系统再进行不断优化,最终得到一个具体现实的系统结构。在这里插入图片描述

四、系统数据库设计

这部分内容需要借助数据库关系图来完成,也需要使用专门绘制数据库关系图的工具,比如Visio工具就可以设计E-R图(数据库关系图)。设计数据库,也需要按照设计的流程进行,首先还是要根据需求完成实体的确定,分析实体具有的特征,还有对实体间的关联关系进行确定。最后才是使用E-R模型的表示方法,绘制本系统的E-R图。不管是使用亿图软件,还是Visio工具,对于E-R模型的表示符号都一样,通常矩形代表实体,实体间存在的关系用菱形符号表示,实体的属性也就是实体的特征用符号椭圆表示。最后使用直线将矩形,菱形和椭圆等符号连接起来。接下来就开始对本系统的E-R图进行绘制。在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

五、系统功能效果

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

六、核心代码

/*
SQLyog Ultimate v11.3 (64 bit)
MySQL - 5.7.32-log : Database - jiaxiangtecan
*********************************************************************
*/

/*!40101 SET NAMES utf8 */;

/*!40101 SET SQL_MODE=''*/;

/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`jiaxiangtecan` /*!40100 DEFAULT CHARACTER SET utf8 */;

USE `jiaxiangtecan`;

/*Table structure for table `address` */

DROP TABLE IF EXISTS `address`;

CREATE TABLE `address` (
  `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '主键 ',
  `yonghu_id` int(20) NOT NULL COMMENT '创建用户',
  `address_name` varchar(200) NOT NULL COMMENT '收货人 ',
  `address_phone` varchar(200) NOT NULL COMMENT '电话 ',
  `address_dizhi` varchar(200) NOT NULL COMMENT '地址 ',
  `isdefault_types` int(11) NOT NULL COMMENT '是否默认地址 ',
  `insert_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间 show3',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='收货地址';

/*Data for the table `address` */

insert  into `address`(`id`,`yonghu_id`,`address_name`,`address_phone`,`address_dizhi`,`isdefault_types`,`insert_time`,`update_time`,`create_time`) values (1,1,'收货人1','17703786901','地址1',1,'2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(2,2,'收货人2','17703786902','地址2',1,'2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(3,1,'收货人3','17703786903','地址3',1,'2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(4,1,'收货人4','17703786904','地址4',2,'2022-03-07 11:04:40','2022-03-07 11:20:15','2022-03-07 11:04:40'),(5,1,'收货人5','17703786905','地址5',1,'2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40');

/*Table structure for table `cart` */

DROP TABLE IF EXISTS `cart`;

CREATE TABLE `cart` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `yonghu_id` int(11) DEFAULT NULL COMMENT '所属用户',
  `goods_id` int(11) DEFAULT NULL COMMENT '商品',
  `buy_number` int(11) DEFAULT NULL COMMENT '购买数量',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '添加时间',
  `update_time` timestamp NULL DEFAULT NULL COMMENT '更新时间',
  `insert_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='购物车';

/*Data for the table `cart` */

/*Table structure for table `config` */

DROP TABLE IF EXISTS `config`;

CREATE TABLE `config` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` varchar(100) NOT NULL COMMENT '配置参数名称',
  `value` varchar(100) DEFAULT NULL COMMENT '配置参数值',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='配置文件';

/*Data for the table `config` */

insert  into `config`(`id`,`name`,`value`) values (1,'轮播图1','http://localhost:8080/jiaxiangtecan/upload/config1.jpg'),(2,'轮播图2','http://localhost:8080/jiaxiangtecan/upload/config2.jpg'),(3,'轮播图3','http://localhost:8080/jiaxiangtecan/upload/config3.jpg');

/*Table structure for table `dictionary` */

DROP TABLE IF EXISTS `dictionary`;

CREATE TABLE `dictionary` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `dic_code` varchar(200) DEFAULT NULL COMMENT '字段',
  `dic_name` varchar(200) DEFAULT NULL COMMENT '字段名',
  `code_index` int(11) DEFAULT NULL COMMENT '编码',
  `index_name` varchar(200) DEFAULT NULL COMMENT '编码名字  Search111 ',
  `super_id` int(11) DEFAULT NULL COMMENT '父字段id',
  `beizhu` varchar(200) DEFAULT NULL COMMENT '备注',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8 COMMENT='字典';

/*Data for the table `dictionary` */

insert  into `dictionary`(`id`,`dic_code`,`dic_name`,`code_index`,`index_name`,`super_id`,`beizhu`,`create_time`) values (1,'sex_types','性别类型',1,'男',NULL,NULL,'2022-03-07 10:57:59'),(2,'sex_types','性别类型',2,'女',NULL,NULL,'2022-03-07 10:57:59'),(3,'isdefault_types','是否默认地址',1,'否',NULL,NULL,'2022-03-07 10:57:59'),(4,'isdefault_types','是否默认地址',2,'是',NULL,NULL,'2022-03-07 10:57:59'),(5,'shangxia_types','上下架',1,'上架',NULL,NULL,'2022-03-07 10:57:59'),(6,'shangxia_types','上下架',2,'下架',NULL,NULL,'2022-03-07 10:57:59'),(7,'goods_types','商品类型',1,'商品类型1',NULL,NULL,'2022-03-07 10:57:59'),(8,'goods_types','商品类型',2,'商品类型2',NULL,NULL,'2022-03-07 10:57:59'),(9,'goods_types','商品类型',3,'商品类型3',NULL,NULL,'2022-03-07 10:57:59'),(10,'huiyuandengji_types','会员等级类型',1,'青铜会员',NULL,'0.95','2022-03-07 10:57:59'),(11,'huiyuandengji_types','会员等级类型',2,'白银会员',NULL,'0.8','2022-03-07 10:57:59'),(12,'huiyuandengji_types','会员等级类型',3,'黄金会员',NULL,'0.5','2022-03-07 10:57:59'),(13,'goods_order_types','订单类型',1,'已评价',NULL,NULL,'2022-03-07 10:57:59'),(14,'goods_order_types','订单类型',2,'退款',NULL,NULL,'2022-03-07 10:57:59'),(15,'goods_order_types','订单类型',3,'已支付',NULL,NULL,'2022-03-07 10:57:59'),(16,'goods_order_types','订单类型',4,'已发货',NULL,NULL,'2022-03-07 10:57:59'),(17,'goods_order_types','订单类型',5,'已收货',NULL,NULL,'2022-03-07 10:57:59'),(18,'goods_order_payment_types','订单支付类型',1,'现金',NULL,NULL,'2022-03-07 10:57:59'),(19,'news_types','新闻类型',1,'新闻类型1',NULL,NULL,'2022-03-07 10:57:59'),(20,'news_types','新闻类型',2,'新闻类型2',NULL,NULL,'2022-03-07 10:57:59');

/*Table structure for table `goods` */

DROP TABLE IF EXISTS `goods`;

CREATE TABLE `goods` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键 ',
  `goods_name` varchar(200) DEFAULT NULL COMMENT '商品名称  Search111 ',
  `goods_photo` varchar(200) DEFAULT NULL COMMENT '商品照片',
  `goods_types` int(11) DEFAULT NULL COMMENT '商品类型 Search111',
  `goods_price` int(11) DEFAULT NULL COMMENT '购买获得积分 ',
  `goods_kucun_number` int(11) DEFAULT NULL COMMENT '商品库存',
  `goods_old_money` decimal(10,2) DEFAULT NULL COMMENT '商品原价 ',
  `goods_new_money` decimal(10,2) DEFAULT NULL COMMENT '现价',
  `goods_clicknum` int(11) DEFAULT NULL COMMENT '点击次数 ',
  `shangxia_types` int(11) DEFAULT NULL COMMENT '是否上架 ',
  `goods_delete` int(11) DEFAULT NULL COMMENT '逻辑删除',
  `goods_content` text COMMENT '商品简介 ',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间  show1 show2 photoShow',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='商品';

/*Data for the table `goods` */

insert  into `goods`(`id`,`goods_name`,`goods_photo`,`goods_types`,`goods_price`,`goods_kucun_number`,`goods_old_money`,`goods_new_money`,`goods_clicknum`,`shangxia_types`,`goods_delete`,`goods_content`,`create_time`) values (1,'商品名称1','http://localhost:8080/jiaxiangtecan/upload/goods1.jpg',3,125,101,'658.57','297.09',130,1,1,'商品简介1','2022-03-07 11:04:40'),(2,'商品名称2','http://localhost:8080/jiaxiangtecan/upload/goods2.jpg',1,135,102,'598.39','113.83',241,1,1,'商品简介2','2022-03-07 11:04:40'),(3,'商品名称3','http://localhost:8080/jiaxiangtecan/upload/goods3.jpg',3,90,102,'629.72','80.15',9,1,1,'商品简介3','2022-03-07 11:04:40'),(4,'商品名称4','http://localhost:8080/jiaxiangtecan/upload/goods4.jpg',2,130,101,'949.02','450.64',477,1,1,'商品简介4','2022-03-07 11:04:40'),(5,'商品名称5','http://localhost:8080/jiaxiangtecan/upload/goods5.jpg',2,396,101,'978.42','62.89',125,1,1,'商品简介5','2022-03-07 11:04:40');

/*Table structure for table `goods_commentback` */

DROP TABLE IF EXISTS `goods_commentback`;

CREATE TABLE `goods_commentback` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `goods_id` int(11) DEFAULT NULL COMMENT '商品',
  `yonghu_id` int(11) DEFAULT NULL COMMENT '用户',
  `goods_commentback_text` text COMMENT '评价内容',
  `reply_text` text COMMENT '回复内容',
  `insert_time` timestamp NULL DEFAULT NULL COMMENT '评价时间',
  `update_time` timestamp NULL DEFAULT NULL COMMENT '回复时间',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='商品评价';

/*Data for the table `goods_commentback` */

insert  into `goods_commentback`(`id`,`goods_id`,`yonghu_id`,`goods_commentback_text`,`reply_text`,`insert_time`,`update_time`,`create_time`) values (1,1,2,'评价内容1','回复信息1','2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(2,2,1,'评价内容2','回复信息2','2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(3,3,2,'评价内容3','回复信息3','2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(4,4,3,'评价内容4','回复信息4','2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(5,5,2,'评价内容5','回复信息5','2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(6,5,1,'购买完成后可评论',NULL,'2022-03-07 11:42:54',NULL,'2022-03-07 11:42:54');

/*Table structure for table `goods_order` */

DROP TABLE IF EXISTS `goods_order`;

CREATE TABLE `goods_order` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `goods_order_uuid_number` varchar(200) DEFAULT NULL COMMENT '订单号',
  `address_id` int(11) DEFAULT NULL COMMENT '收货地址 ',
  `goods_id` int(11) DEFAULT NULL COMMENT '商品',
  `yonghu_id` int(11) DEFAULT NULL COMMENT '用户',
  `buy_number` int(11) DEFAULT NULL COMMENT '购买数量',
  `goods_order_true_price` decimal(10,2) DEFAULT NULL COMMENT '实付价格',
  `goods_order_types` int(11) DEFAULT NULL COMMENT '订单类型',
  `goods_order_payment_types` int(11) DEFAULT NULL COMMENT '支付类型',
  `insert_time` timestamp NULL DEFAULT NULL COMMENT '订单创建时间',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间 show3',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='商品订单';

/*Data for the table `goods_order` */

insert  into `goods_order`(`id`,`goods_order_uuid_number`,`address_id`,`goods_id`,`yonghu_id`,`buy_number`,`goods_order_true_price`,`goods_order_types`,`goods_order_payment_types`,`insert_time`,`create_time`) values (1,'1646623277833',4,3,1,1,'78.55',3,1,'2022-03-07 11:21:18','2022-03-07 11:21:18'),(2,'1646623277833',4,4,1,3,'1324.88',3,1,'2022-03-07 11:21:18','2022-03-07 11:21:18'),(3,'1646623277833',4,5,1,4,'246.53',1,1,'2022-03-07 11:21:18','2022-03-07 11:21:18');

/*Table structure for table `liuyan` */

DROP TABLE IF EXISTS `liuyan`;

CREATE TABLE `liuyan` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键 ',
  `yonghu_id` int(11) DEFAULT NULL COMMENT '用户',
  `liuyan_name` varchar(200) DEFAULT NULL COMMENT '留言标题  Search111 ',
  `liuyan_text` text COMMENT '留言内容',
  `reply_text` text COMMENT '回复内容',
  `insert_time` timestamp NULL DEFAULT NULL COMMENT '留言时间',
  `update_time` timestamp NULL DEFAULT NULL COMMENT '回复时间',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间 show2 nameShow',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='留言版';

/*Data for the table `liuyan` */

insert  into `liuyan`(`id`,`yonghu_id`,`liuyan_name`,`liuyan_text`,`reply_text`,`insert_time`,`update_time`,`create_time`) values (1,1,'留言标题1','留言内容1','回复信息1','2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(2,3,'留言标题2','留言内容2','回复信息2','2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(3,2,'留言标题3','留言内容3','回复信息3','2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(4,1,'留言标题4','留言内容4','回复信息4','2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(5,3,'留言标题5','留言内容5','回复信息5','2022-03-07 11:04:40','2022-03-07 11:04:40','2022-03-07 11:04:40'),(6,1,'留言标题1111','留言内容111111','回复内容111111','2022-03-07 11:19:55','2022-03-07 11:22:59','2022-03-07 11:19:55');

/*Table structure for table `news` */

DROP TABLE IF EXISTS `news`;

CREATE TABLE `news` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键 ',
  `news_name` varchar(200) DEFAULT NULL COMMENT '新闻标题 Search111  ',
  `news_photo` varchar(200) DEFAULT NULL COMMENT '新闻图片 ',
  `news_types` int(11) NOT NULL COMMENT '新闻类型 Search111',
  `news_content` text COMMENT '新闻详情 ',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间 show1 show2 nameShow',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='新闻信息';

/*Data for the table `news` */

insert  into `news`(`id`,`news_name`,`news_photo`,`news_types`,`news_content`,`create_time`) values (1,'新闻标题1','http://localhost:8080/jiaxiangtecan/upload/news1.jpg',2,'新闻详情1','2022-03-07 11:04:40'),(2,'新闻标题2','http://localhost:8080/jiaxiangtecan/upload/news2.jpg',1,'新闻详情2','2022-03-07 11:04:40'),(3,'新闻标题3','http://localhost:8080/jiaxiangtecan/upload/news3.jpg',2,'新闻详情3','2022-03-07 11:04:40'),(4,'新闻标题4','http://localhost:8080/jiaxiangtecan/upload/news4.jpg',2,'新闻详情4','2022-03-07 11:04:40'),(5,'新闻标题5','http://localhost:8080/jiaxiangtecan/upload/news5.jpg',1,'新闻详情5','2022-03-07 11:04:40');

/*Table structure for table `token` */

DROP TABLE IF EXISTS `token`;

CREATE TABLE `token` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `userid` bigint(20) NOT NULL COMMENT '用户id',
  `username` varchar(100) NOT NULL COMMENT '用户名',
  `tablename` varchar(100) DEFAULT NULL COMMENT '表名',
  `role` varchar(100) DEFAULT NULL COMMENT '角色',
  `token` varchar(200) NOT NULL COMMENT '密码',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '新增时间',
  `expiratedtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '过期时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='token表';

/*Data for the table `token` */

insert  into `token`(`id`,`userid`,`username`,`tablename`,`role`,`token`,`addtime`,`expiratedtime`) values (1,1,'admin','users','管理员','xj82ib3gcwuiawmkr86tdwctgjche96i','2022-03-07 11:17:24','2022-03-07 12:47:19'),(2,1,'a1','yonghu','用户','as9wn5cp6aci4uv044bzbwtepqvntcw3','2022-03-07 11:18:14','2022-03-07 12:47:44');

/*Table structure for table `users` */

DROP TABLE IF EXISTS `users`;

CREATE TABLE `users` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `username` varchar(100) NOT NULL COMMENT '用户名',
  `password` varchar(100) NOT NULL COMMENT '密码',
  `role` varchar(100) DEFAULT '管理员' COMMENT '角色',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '新增时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='用户表';

/*Data for the table `users` */

insert  into `users`(`id`,`username`,`password`,`role`,`addtime`) values (1,'admin','admin','管理员','2022-05-01 00:00:00');

/*Table structure for table `yonghu` */

DROP TABLE IF EXISTS `yonghu`;

CREATE TABLE `yonghu` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `username` varchar(200) DEFAULT NULL COMMENT '账户',
  `password` varchar(200) DEFAULT NULL COMMENT '密码',
  `yonghu_name` varchar(200) DEFAULT NULL COMMENT '用户姓名 Search111 ',
  `yonghu_phone` varchar(200) DEFAULT NULL COMMENT '用户手机号',
  `yonghu_id_number` varchar(200) DEFAULT NULL COMMENT '用户身份证号',
  `yonghu_photo` varchar(200) DEFAULT NULL COMMENT '用户头像',
  `sex_types` int(11) DEFAULT NULL COMMENT '性别 Search111',
  `yonghu_email` varchar(200) DEFAULT NULL COMMENT '电子邮箱',
  `new_money` decimal(10,2) DEFAULT NULL COMMENT '余额 ',
  `yonghu_sum_jifen` decimal(10,2) DEFAULT NULL COMMENT '总积分',
  `huiyuandengji_types` int(11) DEFAULT NULL COMMENT '会员等级',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='用户';

/*Data for the table `yonghu` */

insert  into `yonghu`(`id`,`username`,`password`,`yonghu_name`,`yonghu_phone`,`yonghu_id_number`,`yonghu_photo`,`sex_types`,`yonghu_email`,`new_money`,`yonghu_sum_jifen`,`huiyuandengji_types`,`create_time`) values (1,'a1','123456','用户姓名1','17703786901','410224199610232001','http://localhost:8080/jiaxiangtecan/upload/yonghu1.jpg',2,'1@qq.com','99317.38','3005.73',1,'2022-03-07 11:04:40'),(2,'a2','123456','用户姓名2','17703786902','410224199610232002','http://localhost:8080/jiaxiangtecan/upload/yonghu2.jpg',1,'2@qq.com','19.15','553.21',1,'2022-03-07 11:04:40'),(3,'a3','123456','用户姓名3','17703786903','410224199610232003','http://localhost:8080/jiaxiangtecan/upload/yonghu3.jpg',2,'3@qq.com','335.93','703.28',1,'2022-03-07 11:04:40');

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

JAVA编码选手

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值