add sql file for project finish
This commit is contained in:
parent
a5df9da99b
commit
c171e6333d
637
dump-fruitable-202309210903.sql
Normal file
637
dump-fruitable-202309210903.sql
Normal file
@ -0,0 +1,637 @@
|
|||||||
|
-- MariaDB dump 10.19-11.1.2-MariaDB, for Linux (x86_64)
|
||||||
|
--
|
||||||
|
-- Host: localhost Database: fruitable
|
||||||
|
-- ------------------------------------------------------
|
||||||
|
-- Server version 11.1.2-MariaDB
|
||||||
|
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||||
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||||
|
/*!40101 SET NAMES utf8mb4 */;
|
||||||
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||||
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||||
|
/*!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 */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Sequence structure for `items_seq`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP SEQUENCE IF EXISTS `items_seq`;
|
||||||
|
CREATE SEQUENCE `items_seq` start with 1 minvalue 1 maxvalue 9223372036854775806 increment by 50 cache 1000 nocycle ENGINE=InnoDB;
|
||||||
|
SELECT SETVAL(`items_seq`, 1, 0);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Sequence structure for `pay_type_seq`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP SEQUENCE IF EXISTS `pay_type_seq`;
|
||||||
|
CREATE SEQUENCE `pay_type_seq` start with 1 minvalue 1 maxvalue 9223372036854775806 increment by 50 cache 1000 nocycle ENGINE=InnoDB;
|
||||||
|
SELECT SETVAL(`pay_type_seq`, 1, 0);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Sequence structure for `tags_seq`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP SEQUENCE IF EXISTS `tags_seq`;
|
||||||
|
CREATE SEQUENCE `tags_seq` start with 1 minvalue 1 maxvalue 9223372036854775806 increment by 50 cache 1000 nocycle ENGINE=InnoDB;
|
||||||
|
SELECT SETVAL(`tags_seq`, 1, 0);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Sequence structure for `users_seq`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP SEQUENCE IF EXISTS `users_seq`;
|
||||||
|
CREATE SEQUENCE `users_seq` start with 1 minvalue 1 maxvalue 9223372036854775806 increment by 50 cache 1000 nocycle ENGINE=InnoDB;
|
||||||
|
SELECT SETVAL(`users_seq`, 1, 0);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `banners`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `banners`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
CREATE TABLE `banners` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
|
`item` bigint(20) NOT NULL,
|
||||||
|
`description` varchar(32) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `UK_lil7rp92agagn54tcv5daokw3` (`item`),
|
||||||
|
CONSTRAINT `FKhc6nhq5dr3hxcslikfnsdy0mo` FOREIGN KEY (`item`) REFERENCES `items` (`id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `banners`
|
||||||
|
--
|
||||||
|
|
||||||
|
LOCK TABLES `banners` WRITE;
|
||||||
|
/*!40000 ALTER TABLE `banners` DISABLE KEYS */;
|
||||||
|
INSERT INTO `banners` VALUES
|
||||||
|
(1,17,'健康饮食,从吃豆角开始~'),
|
||||||
|
(2,18,'非常实惠~'),
|
||||||
|
(3,33,'含膳食纤维,对肠胃好!');
|
||||||
|
/*!40000 ALTER TABLE `banners` ENABLE KEYS */;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `carts`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `carts`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
CREATE TABLE `carts` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
|
`user_id` bigint(20) NOT NULL,
|
||||||
|
`item_id` bigint(20) NOT NULL,
|
||||||
|
`number` int(11) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `FKsmdfb68lpjjyf1vb4jlmt2fip` (`item_id`),
|
||||||
|
KEY `FKb5o626f86h46m4s7ms6ginnop` (`user_id`),
|
||||||
|
CONSTRAINT `FKb5o626f86h46m4s7ms6ginnop` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`),
|
||||||
|
CONSTRAINT `FKsmdfb68lpjjyf1vb4jlmt2fip` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `carts`
|
||||||
|
--
|
||||||
|
|
||||||
|
LOCK TABLES `carts` WRITE;
|
||||||
|
/*!40000 ALTER TABLE `carts` DISABLE KEYS */;
|
||||||
|
INSERT INTO `carts` VALUES
|
||||||
|
(2,16,1,2),
|
||||||
|
(3,16,3,1),
|
||||||
|
(4,20,1,2),
|
||||||
|
(5,20,4,1),
|
||||||
|
(6,20,6,1),
|
||||||
|
(7,2,3,2),
|
||||||
|
(8,2,25,1),
|
||||||
|
(9,2,22,1),
|
||||||
|
(10,2,24,1),
|
||||||
|
(11,2,8,1);
|
||||||
|
/*!40000 ALTER TABLE `carts` ENABLE KEYS */;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `items`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `items`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
CREATE TABLE `items` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
|
`name` varchar(32) NOT NULL,
|
||||||
|
`time_create` datetime(6) NOT NULL,
|
||||||
|
`time_edit` datetime(6) NOT NULL,
|
||||||
|
`price` double NOT NULL,
|
||||||
|
`description` varchar(320) DEFAULT NULL,
|
||||||
|
`picture` varchar(64) DEFAULT NULL,
|
||||||
|
`is_revoked` bit(1) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `items`
|
||||||
|
--
|
||||||
|
|
||||||
|
LOCK TABLES `items` WRITE;
|
||||||
|
/*!40000 ALTER TABLE `items` DISABLE KEYS */;
|
||||||
|
INSERT INTO `items` VALUES
|
||||||
|
(1,'一号苹果','2023-09-18 20:32:36.723637','2023-09-18 20:32:36.723640',8848.44,'一号苹果!世界第一的品质!','93a8371bdaaa702e85bf197a42861951f48e308ed6f2422247ed0b7a1cdab930',''),
|
||||||
|
(2,'二号小米','2023-09-18 21:03:05.779911','2023-09-18 21:03:05.779916',1999,'连夜睡服高管。','93a8371bdaaa702e85bf197a42861951f48e308ed6f2422247ed0b7a1cdab930',''),
|
||||||
|
(3,'苹果','2023-09-19 08:44:10.806411','2023-09-19 09:14:53.122139',7,'苹果是一种具有丰富维生素C和纤维素的甜味水果,它的外观呈现出鲜艳的红色和光滑的表皮,口感脆爽多汁。这种苹果的香气非常浓郁,甚至能够让人联想到桃子和草莓的味道。相比于其他品种,苹果的糖分相对较高,但其对于心血管健康和血糖调节仍有益处。','9687f8849d158863d7b02318edc91a196a0d221ef5df5483eaf71a2aafdbc71c','\0'),
|
||||||
|
(4,'萝卜','2023-09-19 08:48:10.855332','2023-09-19 08:48:10.855333',3,'萝卜能消食化热,去邪热气,还能清热生津止渴,可用于热病口渴或消渴多饮,可防止胆石形成','6010ddf02bd908d7bbeae1ee14a74f309ee14d5c29d2ef929a059af9bad82e15','\0'),
|
||||||
|
(5,'白菜','2023-09-19 08:50:11.774615','2023-09-19 08:50:11.774615',2,'白菜含丰富的维生素、膳食纤维和抗氧化物质,能促进肠道蠕动,帮助消化。白菜有一定医用价值,其鲜叶和根可入药,中药名为黄芽白菜,具有通利肠胃,养胃和中,利小便的功效','72b2cef06076f5ad866a9bea9a3900264e5cf6aac005da8a7b70c53048bf6d74','\0'),
|
||||||
|
(6,'西瓜','2023-09-19 08:50:26.899308','2023-09-19 08:50:26.899309',5,'中国是世界上最大的西瓜产地,但关于西瓜的由来,说法不一。一种说法认为西瓜并非源于中国,而是产自于非洲,于西域传来,故名西瓜。另一种说法源于神农尝百草的传说,相传西瓜在神农尝百草时被发现,原名叫稀瓜,意思是水多肉稀的瓜,但后来传着传着就变成了西瓜。','104b2495917044466c94609ee35795a4b770b4e0d2989780b034e362a816ebf2','\0'),
|
||||||
|
(7,'番茄','2023-09-19 08:55:05.105803','2023-09-19 08:55:05.105804',8,'番茄含有丰富的胡萝卜素、维生素C和B族维生素,营养价值高,既可作为蔬菜也可作为水果,既可生食也可熟食;番茄可用来加工制作番茄酱、番茄汁和番茄丁等','7c4e4104f603ba10285f7e49bb0c321338047bab9d3cb07a90c94d3457c5d99f','\0'),
|
||||||
|
(8,'哈密瓜','2023-09-19 08:58:15.012552','2023-09-19 08:58:15.012553',8,'哈密瓜,新疆维吾尔自治哈密地区特产,它形态各异,风味独特,瓜肉肥厚,清脆爽口。','3ce4cf3699c981e1b994f2a831a795498d382d64875845afac017d3ad6be66db','\0'),
|
||||||
|
(9,'茄子','2023-09-19 08:58:47.596701','2023-09-19 08:58:47.596702',6,'茄子味甘、性凉,入脾、胃、大肠经;具有清热止血,消肿止痛、保护心血管、抗坏血病、防止出血和抗衰老的功效。','a79d1d647f1f811fdd8885801039a9f4190b4938780d9e4e609a1cec992431f2','\0'),
|
||||||
|
(10,'羊角蜜','2023-09-19 09:02:17.795598','2023-09-19 09:02:17.795599',2.4,'羊角蜜甜瓜,是一种水果。果实长锥形,一端大,一端稍细而尖,细长如羊角,故名羊角蜜。','b2c10831d3ddf40af3c916664516814a363e2e3f2a8d12a3c222a2c0e32e3102','\0'),
|
||||||
|
(11,'小米椒','2023-09-19 09:03:03.988401','2023-09-19 09:03:03.988402',6,'小米椒是朝天椒的一种,有的地区称为满天星辣椒。贵州出产的小米辣也叫遵义满天星,集贵州各地辣椒优点为一体','10904e11a0a55e5ff537ae218fcda60574b6f0133671843038bd98a55710e1c7','\0'),
|
||||||
|
(12,'芹菜','2023-09-19 09:04:54.480435','2023-09-19 09:04:54.480443',4,'芹菜是高纤维食物,它经肠内消化作用产生一种木质素或肠内脂的物质,这类物质是一种抗氧化剂,常吃芹菜,尤其是吃芹菜叶,对预防高血压、动脉硬化等都十分有益,并有辅助治疗作用。','09364bfa1e0477721127dd4c0e4c4fb16fa13d52460176ad112128a03add2194','\0'),
|
||||||
|
(13,'梨','2023-09-19 09:05:16.985314','2023-09-19 09:05:16.985315',3.2,'梨的果实通常用来食用,不仅味美汁多,甜中带酸,而且营养丰富,含有多种维生素和纤维素,不同种类的梨,味道和质感都完全不同','5b1a363609db7b5c9d5c475d60ac28865540fb85f20d234456bfac989b01dfbc','\0'),
|
||||||
|
(14,'李子','2023-09-19 09:07:16.480473','2023-09-19 09:07:16.480475',5,'李子味酸,能促进胃酸和胃消化酶的分泌,并能促进胃肠蠕动,因而有改善食欲,促进消化的作用。','efdf5f5705945b37ce2605b371d536614192a64b640a436f80e9518057625abb','\0'),
|
||||||
|
(15,'大葱','2023-09-19 09:09:06.260198','2023-09-19 09:09:06.260199',2.5,'味道很淡,适宜生食,有甜味,产量很高,适应范围很广。','ab205b49c7fb9a072360d2d6422d4e0678ad5a781da15243a7e68a71984916ac','\0'),
|
||||||
|
(16,'枣','2023-09-19 09:10:50.959824','2023-09-19 09:10:50.959825',6,'枣含有丰富的维生素C、维生素P,除供鲜食外,常可以制成蜜枣、红枣、熏枣、黑枣、酒枣、牙枣等蜜饯和果脯,还可以作枣泥、枣面、枣酒、枣醋等,为食品工业原料。','d7acf353c09a41871c5d59d6bdbff09b082da2fd44d03f6a631024188b9324f2','\0'),
|
||||||
|
(17,'豆角','2023-09-19 09:11:16.488232','2023-09-19 09:11:16.488233',2,'豆角又叫做豇豆,是夏天盛产的蔬菜。属豇豆种中能形成长形豆荚的栽培种,一年生缠绕草本植物。别名豆角、长角豆、带豆、裙带豆。含有各种维生素和矿物质等','64a82b361fe7bfcea3d00a406123366bc778ba5019fc6e4a448e6170bd7f1541','\0'),
|
||||||
|
(18,'小白菜','2023-09-19 09:14:41.625735','2023-09-19 09:14:41.625736',3.5,'小白菜的营养价值非常高,除作为蔬菜供人们食用之外,还具有一定的药用功效','d14c151c5386c5f80cfdb9bf6a3f71bd246f7db4667e829fb9c8194926b03b5c','\0'),
|
||||||
|
(19,'杨梅','2023-09-19 09:14:57.689413','2023-09-19 09:14:57.689414',12.5,'杨梅有“果中玛瑙”的美誉,是中国南方的水果,含有丰富的养分,除供鲜食之外,还可加工成果酱、罐头等,是食品和酿造工业的重要原料。','f89338005c77c9c52a0e914d0033f74c9109e0dc5ed83e49ee573576d6bfdf20','\0'),
|
||||||
|
(20,'菠菜','2023-09-19 09:16:28.108874','2023-09-19 09:16:28.108875',3.7,'菠菜外形修长轮廓细窄,叶子的头部是尖尖的,颜色是翠绿色,叶子比较薄,洗干净第一眼看上去有点“油光满面”,这个品种的口感比较鲜嫩','a70fd69a94cde074dc358f929d14dd6441f45054f1e3c194dc5e9e89f36bd167','\0'),
|
||||||
|
(21,'苦瓜','2023-09-19 09:17:49.670955','2023-09-19 09:17:49.670956',4.2,'苦瓜味苦,性寒。具有祛暑涤热,清热解毒,清肝明目作用。','4d1157586741ccb17e2e51ba345437404a2a2220548cf8128e27fd29dd2aef50','\0'),
|
||||||
|
(22,'桃子','2023-09-19 09:18:51.786512','2023-09-19 09:18:51.786513',3.4,'桃的果实就是平时吃的水果桃子,多汁有香味,味道是甜的或酸甜的。','31897c7d6c111433ad8f0c732eb412cfebc5d8b47d921d21020d61a4244108f6','\0'),
|
||||||
|
(23,'黄瓜','2023-09-19 09:20:48.479794','2023-09-19 09:20:48.479795',4,'黄瓜含有丰富的钾盐和一定数量的胡萝卜素、维生素C、维生素B2还有糖类、蛋白质等营养成分,经常吃药或者应酬喝酒的,建议每天都来一根,黄瓜既是蔬中佳品,也是一味治病防病的中药。','b5c656a3b1d3d2547693c4611385bc25816dfcb1c7af6db82f8684447dd0bc26','\0'),
|
||||||
|
(24,'芒果','2023-09-19 09:21:11.409278','2023-09-19 09:21:11.409279',5.2,'芒果肉含有丰富的维他命A、维他命C和维他命D,亦有糖类、缮食纤维、叶酸、钙、磷、铁、钾、镁等微量元素。','5a22a9adaea1abcf94542569f1e7a73c22ac0305d62346cc6ef87ae9595fe6f4','\0'),
|
||||||
|
(25,'南瓜','2023-09-19 09:22:17.493995','2023-09-19 09:22:17.493996',5,'南瓜还可做多种食物和保健品,经济效益高,是农户种植比较普遍的经济作物之一。','f0d671f194d558f2e7f91d7fc5cfc52d1df1b5b66659a4dc98937af63604e0d7','\0'),
|
||||||
|
(26,'荔枝','2023-09-19 09:23:38.878647','2023-09-19 09:23:38.878648',4,'中国是荔枝的原产地,是荔枝产业第一大国,拥有全球丰富、优质的荔枝品种。荔枝在历史上有“百果之王”等美称,是中国文化底蕴最为深厚的果品之一。','c2edba5a5b445e9d824a3d84bf736fcbbf6f55d6face6b4f6f84f243726b23dd','\0'),
|
||||||
|
(27,'卷心菜','2023-09-19 09:23:45.615949','2023-09-19 09:23:45.615950',6.6,'卷心菜含维生素的总量比番茄高3倍之多,因此有很强的抗氧化及抗衰老功效,能防止皮肤色素沉淀减少雀斑,延缓老年斑的出现,美肤养颜,其中丰富的维C有助于防止癌细胞扩散阻止细胞变异,有防癌功效','791c1a8474819054038b8572721a8f35e3c48ca129be08d61f510ac9a65b369b','\0'),
|
||||||
|
(28,'大蒜','2023-09-19 09:26:31.159097','2023-09-19 09:26:31.159098',3,'大蒜营养丰富,其提取物大蒜素具有很强的抑菌作用,对多种细菌具有强烈的杀伤力,是理想的抗菌剂原料,可代替传统的化学抗菌剂减少化学物质对人体的伤害。有研究表明,经常食用大蒜可以提高人体的免疫力并有防癌、抗癌等功效,可用来预防和治疗多种疾病。','a8e78529abd7c8f4d8da8308178bce7f45fff307782e2eadd6a32d3327312f1a','\0'),
|
||||||
|
(29,'桂圆','2023-09-19 09:27:24.884595','2023-09-19 09:27:24.884596',8,'桂圆原产于中国南部及西南部,寿命最长可达400多年。果供生食或加工成干制品,肉、核、皮及根均可作药用。','5b2b4419ba08cd02254b80f7b7c23c10942d3b3b7cf6bb80c583738bc4413447','\0'),
|
||||||
|
(30,'洋葱','2023-09-19 09:27:42.279251','2023-09-19 09:27:42.279252',4.3,'洋葱中花青素含量更高,所以抗氧化、抗衰老的功效更强,对皮肤也有好处。它的辛辣味更足,所以适合炒着吃或者烤着吃都行。','ea3a813c48ec7cac55df1e8a0c92e1e433f573663f2c55312456ce8ab42a1806','\0'),
|
||||||
|
(31,'生姜','2023-09-19 09:28:46.623799','2023-09-19 09:28:46.623800',3,'生姜是传统治疗恶心、呕吐的中药,具有利胆、健胃止呕、辟腥臭、消水肿的作用,有“呕家圣药”之誉。','5a13c467604d8d86d78494111a87d318eac18b7df007ff734d4cb658bc6bbbff','\0'),
|
||||||
|
(32,'莴笋','2023-09-19 09:29:57.732673','2023-09-19 09:29:57.732674',4.6,'儿童多吃莴笋,对生长发育很有益处。每天吃200克的莴笋叶,就可以满足胡萝卜素的需要,如果吃500克的莴笋叶,便可以满足,每天维生素C的需要。','7575ffc6d95881ed8e843a09b5a791b103f9bc804c52f50aef1f11971c171eb1','\0'),
|
||||||
|
(33,'山药','2023-09-19 09:31:17.498773','2023-09-19 09:31:17.498774',8.2,'山药,又称淮山、薯蓣,是一种常见的根茎类食材,是多年生植物山药的块茎。山药的外形长条状,表皮棕褐色,有许多粗壮的根须,质地柔软,富含淀粉、蛋白质、膳食纤维','fffa0456d33d8dc19a56239784d8e752db33964252c5d9f2c9005884a80680bb','\0'),
|
||||||
|
(34,'土豆','2023-09-19 09:33:12.691732','2023-09-19 09:33:12.691732',3.3,'土豆之所以是黄色,因为它含有较多的胡萝卜素,而且淀粉含量较高,胡萝卜素、淀粉原色都是偏黄的。淀粉含量高,高温下糊化,所以这种土豆的口感是非常软糯的,适合蒸、炖、煮、烧等做法。','b35784a087f516b646b366eb9c9c27fcaa031de5db93fbac9b2fd383922ed3db','\0'),
|
||||||
|
(35,'菠萝','2023-09-19 09:33:35.278722','2023-09-19 09:33:35.278724',2.6,'菠萝口感偏酸,有些人吃完,嘴里会有火辣辣或麻的感觉,这是菠萝里的菠萝蛋白酶导致的。','a0d5dd8844c3d71ebecc61ff36ce30431fd1a9cce5c1cde83800eaf9f3d46dcb','\0'),
|
||||||
|
(36,'红薯','2023-09-19 09:34:31.458219','2023-09-19 09:38:43.949792',4.7,'红皮白瓤,蔓短叶小,茎短叶片浓绿,适应性强,口感好,耐存储,高产,特别适合加工淀粉,出粉率高,淀粉粘度高,适合加工粉条,做出来的粉条不易断。','a6cb53a4b279dfc782a3b9f2c9bfad51fa85f312bb12406d28c8c402245dc11a','\0'),
|
||||||
|
(37,'莲藕','2023-09-19 09:35:46.289430','2023-09-19 09:35:46.289430',5.3,'莲藕属木兰亚纲,山龙眼目。喜温,不耐阴,不宜缺水,畏大风。莲藕微甜而脆,可生食也可做菜,而且药用价值相当高,它的根茎叶片,花须果实,无不为宝,都可滋补入药。','a88c1db5173f3647c88e0f9e501590bdbb3d2f8df42c0a04afc0894db8f89790','\0'),
|
||||||
|
(38,'火龙果','2023-09-19 09:36:43.810241','2023-09-19 09:36:43.810242',4,'火龙果长相奇特,红色身躯上蜿蜒张扬着金黄的鳞片,如红色火球,像愤怒的火焰,让人想起龙鳞龙鳞,“火龙” 二字非常传神,故取名火龙果,中国于1645年引种。','5295f42095e85825303f5afdfdd4401a98e41afae31cdbabed87cfca2f7ba919','\0'),
|
||||||
|
(39,'空心菜','2023-09-19 09:38:00.614706','2023-09-19 09:38:00.614707',3.7,'空心菜含有丰富的维空心菜含有丰富的维生素A、维生素C和维生素K。其中,维生素A有助于维持正常视力、免疫系统和皮肤健康;维生素C是一种抗氧化剂,有助于预防细胞损伤和疾病生素A、维生素C和维生素K。其中,维生素A有助于维持正常视力、免疫系统和皮肤健康;维生素C是一种抗氧化剂,有助于预防细胞损伤和疾病','fcbae6e73b9221cca2cc04c426ca84448be803fcc47354b9b95a5f426baa0b5b','\0'),
|
||||||
|
(40,'香蕉','2023-09-19 09:38:38.679560','2023-09-19 09:38:38.679561',2.6,'香蕉为世界四大水果之一,产量高分布广、果肉营养丰富、香甜软糯','ac397e0934ebd46acd4d60d878e3c9fad24fa66ef9dadd0b4d978533d7a2bb58','\0'),
|
||||||
|
(41,'榴莲','2023-09-19 09:42:07.929164','2023-09-19 09:42:07.929164',31,'榴梿在泰国负有盛名,被誉为“水果之王”,气味浓烈、爱之者赞其香,厌之者怨其臭。','6d1acd4fdce4ad2632438741e07f6305e6af46cb1f5e09b0ad3554d09b9020e5','\0'),
|
||||||
|
(42,'鸡蛋','2023-09-19 09:42:22.815632','2023-09-19 09:42:22.815633',4,'鸡蛋和土鸡蛋相比较,其中的蛋白质、钙等物质并没有太大的区别,只有土鸡蛋含有的脂肪量会比普通的鸡蛋高一些。','a25d1ed1f7602d2fbae5b5349ae86ac8d9778a0a5cf40246220159d7771350d5','\0'),
|
||||||
|
(43,'花菜','2023-09-19 09:44:14.501239','2023-09-19 09:44:14.501240',4,'花菜,又叫花椰菜或者菜花,是一种十字花科蔬菜,头部是白色的花序,一个一个挨着比较紧凑,花序下面的茎比较短小粗壮,花椰菜含有丰富的维生素B、C群,这些营养成分比较溶于水,受热比较容易分解。','2417bb454a7d136c014c17d966d67e3a43dc34a10be694aaa7ef32018bea5b58','\0'),
|
||||||
|
(44,'木瓜','2023-09-19 09:45:39.926073','2023-09-19 09:47:20.665856',2.5,'木瓜外形像个小瓜,酸酸的也还能吃,还是木质的,木瓜因此得名。木瓜果实味涩,水煮或浸渍糖液中供食用。','6d1c9a6193d6620adc2be8ccc1fc57e897125f27fb01fd244bcc0da1295afcda','\0'),
|
||||||
|
(45,'香菇','2023-09-19 09:45:52.183386','2023-09-19 10:09:41.234750',6,'香菇被称为“菇中皇后”,它的营养价值很高,是补充氨基酸、维生素、矿物质的好食材。','23bfb196cc54c6f441abe26e08a83f2bd6c61e958c5fd6fac67d76d376e20358','\0'),
|
||||||
|
(46,'金针菇','2023-09-19 09:49:00.019766','2023-09-19 09:49:00.019767',5,'金针菇是一种在中国早期就被发现的食用菌类。它的名字来自于蘑菇的细而细长的柄,就像一根细针一样。金针菇外观精美,口感独特,是一种十分受欢迎的食材。今天,我将为大家介绍金针菇的来源、特点和营养价值。','56bee16e213fad08b28e58d1e10ee3f02c5471db46adc93360d2b4143faa1ba8','\0'),
|
||||||
|
(47,'山竹','2023-09-19 09:49:37.438818','2023-09-19 09:49:37.438819',25,'山竹是世界热带水果中的名果之一,山竹果肉含丰富的膳食纤维,对机体有很好的补养作用','66f6e822f8f1ff23f4409b39a426c9ebda3b03b83253e0c9e54fa536fb221b0c','\0'),
|
||||||
|
(48,'玉米','2023-09-19 10:19:02.759638','2023-09-19 10:19:16.722029',3.99,'玉米具有医疗用途 玉米中的多糖可以用于制备抗肿瘤、抗菌和免疫增强剂等药物。此外,玉米柱头中的植物雌激素可以用于治疗更年期综合症,以及用于生产避孕药等药物。','d600640ad423f092a0f77af76ae061072cddce889c2a52af4de57faacf7f3a91','\0');
|
||||||
|
/*!40000 ALTER TABLE `items` ENABLE KEYS */;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `items_to_tags`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `items_to_tags`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
CREATE TABLE `items_to_tags` (
|
||||||
|
`item_id` bigint(20) NOT NULL,
|
||||||
|
`tag_id` bigint(20) NOT NULL,
|
||||||
|
KEY `FKj2xvm2c2vao29d2q1mratbv3a` (`item_id`),
|
||||||
|
KEY `FKfx4x147po9nns88su3p3s1xuy` (`tag_id`),
|
||||||
|
CONSTRAINT `FKfx4x147po9nns88su3p3s1xuy` FOREIGN KEY (`tag_id`) REFERENCES `tags` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||||
|
CONSTRAINT `FKj2xvm2c2vao29d2q1mratbv3a` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON UPDATE CASCADE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `items_to_tags`
|
||||||
|
--
|
||||||
|
|
||||||
|
LOCK TABLES `items_to_tags` WRITE;
|
||||||
|
/*!40000 ALTER TABLE `items_to_tags` DISABLE KEYS */;
|
||||||
|
INSERT INTO `items_to_tags` VALUES
|
||||||
|
(1,3),
|
||||||
|
(1,9),
|
||||||
|
(4,2),
|
||||||
|
(4,13),
|
||||||
|
(4,9),
|
||||||
|
(4,14),
|
||||||
|
(5,2),
|
||||||
|
(5,9),
|
||||||
|
(5,14),
|
||||||
|
(6,3),
|
||||||
|
(6,9),
|
||||||
|
(6,15),
|
||||||
|
(6,16),
|
||||||
|
(7,2),
|
||||||
|
(7,9),
|
||||||
|
(7,13),
|
||||||
|
(8,3),
|
||||||
|
(8,9),
|
||||||
|
(8,15),
|
||||||
|
(8,16),
|
||||||
|
(9,2),
|
||||||
|
(9,9),
|
||||||
|
(10,3),
|
||||||
|
(10,9),
|
||||||
|
(10,15),
|
||||||
|
(11,2),
|
||||||
|
(11,9),
|
||||||
|
(11,14),
|
||||||
|
(12,2),
|
||||||
|
(12,9),
|
||||||
|
(13,3),
|
||||||
|
(13,15),
|
||||||
|
(13,16),
|
||||||
|
(14,3),
|
||||||
|
(14,18),
|
||||||
|
(14,19),
|
||||||
|
(14,20),
|
||||||
|
(15,2),
|
||||||
|
(15,13),
|
||||||
|
(15,9),
|
||||||
|
(15,14),
|
||||||
|
(16,3),
|
||||||
|
(16,15),
|
||||||
|
(16,9),
|
||||||
|
(17,2),
|
||||||
|
(17,9),
|
||||||
|
(18,2),
|
||||||
|
(18,9),
|
||||||
|
(18,14),
|
||||||
|
(3,3),
|
||||||
|
(3,13),
|
||||||
|
(3,9),
|
||||||
|
(19,3),
|
||||||
|
(19,9),
|
||||||
|
(19,20),
|
||||||
|
(19,21),
|
||||||
|
(20,2),
|
||||||
|
(20,9),
|
||||||
|
(21,2),
|
||||||
|
(21,9),
|
||||||
|
(22,3),
|
||||||
|
(22,21),
|
||||||
|
(22,22),
|
||||||
|
(23,2),
|
||||||
|
(23,9),
|
||||||
|
(23,14),
|
||||||
|
(24,23),
|
||||||
|
(24,20),
|
||||||
|
(24,22),
|
||||||
|
(25,2),
|
||||||
|
(25,9),
|
||||||
|
(26,23),
|
||||||
|
(26,21),
|
||||||
|
(26,19),
|
||||||
|
(27,2),
|
||||||
|
(27,9),
|
||||||
|
(27,13),
|
||||||
|
(28,2),
|
||||||
|
(28,9),
|
||||||
|
(29,23),
|
||||||
|
(29,21),
|
||||||
|
(29,19),
|
||||||
|
(30,2),
|
||||||
|
(30,9),
|
||||||
|
(31,2),
|
||||||
|
(31,9),
|
||||||
|
(32,2),
|
||||||
|
(32,9),
|
||||||
|
(32,13),
|
||||||
|
(33,2),
|
||||||
|
(33,9),
|
||||||
|
(34,2),
|
||||||
|
(34,13),
|
||||||
|
(34,9),
|
||||||
|
(34,14),
|
||||||
|
(35,23),
|
||||||
|
(35,21),
|
||||||
|
(35,24),
|
||||||
|
(37,2),
|
||||||
|
(37,9),
|
||||||
|
(37,13),
|
||||||
|
(38,23),
|
||||||
|
(38,19),
|
||||||
|
(38,20),
|
||||||
|
(39,2),
|
||||||
|
(39,13),
|
||||||
|
(39,9),
|
||||||
|
(39,14),
|
||||||
|
(40,23),
|
||||||
|
(40,22),
|
||||||
|
(40,16),
|
||||||
|
(36,2),
|
||||||
|
(36,9),
|
||||||
|
(36,13),
|
||||||
|
(41,23),
|
||||||
|
(41,19),
|
||||||
|
(41,25),
|
||||||
|
(42,13),
|
||||||
|
(42,9),
|
||||||
|
(42,14),
|
||||||
|
(43,2),
|
||||||
|
(43,13),
|
||||||
|
(43,9),
|
||||||
|
(43,14),
|
||||||
|
(44,23),
|
||||||
|
(44,22),
|
||||||
|
(44,20),
|
||||||
|
(46,2),
|
||||||
|
(46,13),
|
||||||
|
(46,9),
|
||||||
|
(46,14),
|
||||||
|
(47,23),
|
||||||
|
(47,21),
|
||||||
|
(47,19),
|
||||||
|
(45,2),
|
||||||
|
(45,13),
|
||||||
|
(45,9),
|
||||||
|
(45,14),
|
||||||
|
(48,2),
|
||||||
|
(48,13),
|
||||||
|
(48,9),
|
||||||
|
(48,14);
|
||||||
|
/*!40000 ALTER TABLE `items_to_tags` ENABLE KEYS */;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `orders`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `orders`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
CREATE TABLE `orders` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
|
`user_id` bigint(20) NOT NULL,
|
||||||
|
`time_create` datetime(6) NOT NULL,
|
||||||
|
`time_edit` datetime(6) NOT NULL,
|
||||||
|
`address` varchar(64) NOT NULL,
|
||||||
|
`name` varchar(16) NOT NULL,
|
||||||
|
`phone` varchar(11) NOT NULL,
|
||||||
|
`price` double NOT NULL,
|
||||||
|
`pay_type` bigint(20) NOT NULL,
|
||||||
|
`is_paid` bit(1) NOT NULL,
|
||||||
|
`is_revoked` bit(1) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `FKgic7r7mjxytew9isnldksgshx` (`pay_type`),
|
||||||
|
KEY `FK32ql8ubntj5uh44ph9659tiih` (`user_id`),
|
||||||
|
CONSTRAINT `FK32ql8ubntj5uh44ph9659tiih` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`),
|
||||||
|
CONSTRAINT `FKgic7r7mjxytew9isnldksgshx` FOREIGN KEY (`pay_type`) REFERENCES `pay_type` (`id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `orders`
|
||||||
|
--
|
||||||
|
|
||||||
|
LOCK TABLES `orders` WRITE;
|
||||||
|
/*!40000 ALTER TABLE `orders` DISABLE KEYS */;
|
||||||
|
INSERT INTO `orders` VALUES
|
||||||
|
(4,2,'2023-09-18 20:41:23.959018','2023-09-18 20:41:23.959021','xxxxxx','Puqns67','xxxxxx',26545.32,7,'',''),
|
||||||
|
(15,2,'2023-09-19 14:05:13.426009','2023-09-19 14:21:44.846286','test','Puqns67','notreal',17,1,'','\0'),
|
||||||
|
(16,2,'2023-09-19 15:21:52.007403','2023-09-19 15:22:00.319404','xxx','Puqns67','155',20.6,5,'','\0'),
|
||||||
|
(17,2,'2023-09-19 15:22:45.986244','2023-09-19 15:22:47.842051','test','Puqns67','notreal',36,7,'','\0'),
|
||||||
|
(18,20,'2023-09-19 15:28:41.445054','2023-09-19 15:28:44.900513','mnbnmbn','tttest','11111',39.900000000000006,3,'','\0'),
|
||||||
|
(19,2,'2023-09-20 08:50:36.515735','2023-09-20 08:50:40.533433','test','Puqns67','notreal',2,1,'','\0'),
|
||||||
|
(20,2,'2023-09-20 10:05:51.874266','2023-09-20 10:05:53.366359','test','Puqns67','notreal',4.2,3,'','\0'),
|
||||||
|
(21,2,'2023-09-20 21:06:35.027585','2023-09-20 21:06:37.517947','test','Puqns67','notreal',7,1,'','\0'),
|
||||||
|
(22,2,'2023-09-20 21:29:43.501528','2023-09-20 21:29:44.823816','test','Puqns67','notreal',8.4,6,'','\0'),
|
||||||
|
(23,2,'2023-09-21 08:38:39.559270','2023-09-21 08:38:48.410063','test','Puqns67','notreal',22.599999999999998,5,'','\0');
|
||||||
|
/*!40000 ALTER TABLE `orders` ENABLE KEYS */;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `orders_to_items`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `orders_to_items`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
CREATE TABLE `orders_to_items` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
|
`item_id` bigint(20) NOT NULL,
|
||||||
|
`order_id` bigint(20) NOT NULL,
|
||||||
|
`number` int(11) NOT NULL DEFAULT 0,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `FKswchj5kgunjvnbkpyhp3u4bsy` (`item_id`),
|
||||||
|
KEY `FK2phcvy7dr5cov6a0vr48avhjl` (`order_id`),
|
||||||
|
CONSTRAINT `FK2phcvy7dr5cov6a0vr48avhjl` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`),
|
||||||
|
CONSTRAINT `FKswchj5kgunjvnbkpyhp3u4bsy` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `orders_to_items`
|
||||||
|
--
|
||||||
|
|
||||||
|
LOCK TABLES `orders_to_items` WRITE;
|
||||||
|
/*!40000 ALTER TABLE `orders_to_items` DISABLE KEYS */;
|
||||||
|
INSERT INTO `orders_to_items` VALUES
|
||||||
|
(4,1,4,3),
|
||||||
|
(5,23,15,1),
|
||||||
|
(6,44,15,1),
|
||||||
|
(7,18,16,4),
|
||||||
|
(8,34,16,2),
|
||||||
|
(9,16,17,6),
|
||||||
|
(10,48,18,10),
|
||||||
|
(11,5,19,1),
|
||||||
|
(12,21,20,1),
|
||||||
|
(13,3,21,1),
|
||||||
|
(14,25,22,1),
|
||||||
|
(15,22,22,1),
|
||||||
|
(16,3,23,2),
|
||||||
|
(17,22,23,1),
|
||||||
|
(18,24,23,1);
|
||||||
|
/*!40000 ALTER TABLE `orders_to_items` ENABLE KEYS */;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `pay_type`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `pay_type`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
CREATE TABLE `pay_type` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
|
`name` varchar(16) NOT NULL,
|
||||||
|
`picture` varchar(16) NOT NULL,
|
||||||
|
`is_default` bit(1) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `pay_type`
|
||||||
|
--
|
||||||
|
|
||||||
|
LOCK TABLES `pay_type` WRITE;
|
||||||
|
/*!40000 ALTER TABLE `pay_type` DISABLE KEYS */;
|
||||||
|
INSERT INTO `pay_type` VALUES
|
||||||
|
(1,'银行卡','Card',''),
|
||||||
|
(2,'微信支付','WeChatPay','\0'),
|
||||||
|
(3,'支付宝','Alipay','\0'),
|
||||||
|
(4,'银联','UnionPay','\0'),
|
||||||
|
(5,'Paypal','Paypal','\0'),
|
||||||
|
(6,'Google Pay','GooglePay','\0'),
|
||||||
|
(7,'Apple Pay','ApplePay','\0');
|
||||||
|
/*!40000 ALTER TABLE `pay_type` ENABLE KEYS */;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `recommends`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `recommends`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
CREATE TABLE `recommends` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
|
`item` bigint(20) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `UK_d17hidhxpd04qlorafilfwhka` (`item`),
|
||||||
|
CONSTRAINT `FK1etcd7dovop1l4wa9op3ijrmv` FOREIGN KEY (`item`) REFERENCES `items` (`id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `recommends`
|
||||||
|
--
|
||||||
|
|
||||||
|
LOCK TABLES `recommends` WRITE;
|
||||||
|
/*!40000 ALTER TABLE `recommends` DISABLE KEYS */;
|
||||||
|
INSERT INTO `recommends` VALUES
|
||||||
|
(1,3),
|
||||||
|
(5,8),
|
||||||
|
(11,13),
|
||||||
|
(3,14),
|
||||||
|
(6,16),
|
||||||
|
(12,18),
|
||||||
|
(8,22),
|
||||||
|
(4,26),
|
||||||
|
(2,30),
|
||||||
|
(10,32),
|
||||||
|
(7,36),
|
||||||
|
(9,46);
|
||||||
|
/*!40000 ALTER TABLE `recommends` ENABLE KEYS */;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `tags`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `tags`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
CREATE TABLE `tags` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
|
`name` varchar(16) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `tags`
|
||||||
|
--
|
||||||
|
|
||||||
|
LOCK TABLES `tags` WRITE;
|
||||||
|
/*!40000 ALTER TABLE `tags` DISABLE KEYS */;
|
||||||
|
INSERT INTO `tags` VALUES
|
||||||
|
(2,'蔬菜'),
|
||||||
|
(3,'水果'),
|
||||||
|
(9,'新鲜'),
|
||||||
|
(13,'打折'),
|
||||||
|
(14,'热销'),
|
||||||
|
(15,'甜脆'),
|
||||||
|
(16,'好吃'),
|
||||||
|
(18,'汁多'),
|
||||||
|
(19,'甜'),
|
||||||
|
(20,'个大'),
|
||||||
|
(21,'多汁'),
|
||||||
|
(22,'香甜'),
|
||||||
|
(23,'热带水果'),
|
||||||
|
(24,'酸甜'),
|
||||||
|
(25,'软糯');
|
||||||
|
/*!40000 ALTER TABLE `tags` ENABLE KEYS */;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `users`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `users`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
CREATE TABLE `users` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
|
`name` varchar(16) NOT NULL COMMENT '用户名',
|
||||||
|
`password` varchar(64) NOT NULL COMMENT 'SHA256 后的密码',
|
||||||
|
`time_create` datetime(6) NOT NULL,
|
||||||
|
`time_login` datetime(6) NOT NULL,
|
||||||
|
`token` varchar(36) DEFAULT NULL COMMENT '登录 TOKEN',
|
||||||
|
`age` int(11) DEFAULT NULL,
|
||||||
|
`gender` varchar(1) DEFAULT NULL COMMENT '性别',
|
||||||
|
`phone` varchar(11) DEFAULT NULL COMMENT '手机号',
|
||||||
|
`email` varchar(64) DEFAULT NULL COMMENT '邮箱',
|
||||||
|
`address` varchar(64) DEFAULT NULL COMMENT '地址',
|
||||||
|
`is_admin` bit(1) NOT NULL,
|
||||||
|
`is_revoked` bit(1) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `Users_UN` (`id`,`name`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='用户';
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `users`
|
||||||
|
--
|
||||||
|
|
||||||
|
LOCK TABLES `users` WRITE;
|
||||||
|
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
|
||||||
|
INSERT INTO `users` VALUES
|
||||||
|
(1,'root','4813494d137e1631bba301d5acab6e7bb7aa74ce1185d456565ef51d737677b2','2022-12-10 22:16:48.000000','2023-09-20 09:50:31.407791','f24b9952-9f08-4d2b-af8d-46c47cc07f26',NULL,'N','',NULL,'','','\0'),
|
||||||
|
(2,'Puqns67','03d6571e01944a4f8b4b857dc0bde95b681a1cb57272ce8811a9e07a6743d6a4','2022-12-12 21:06:32.000000','2023-09-21 08:34:20.239327','a2ea6032-963c-4efc-891b-a88204f05bcd',20,'M','notreal','me@puqns67.icu','notreal','','\0'),
|
||||||
|
(3,'aaa','9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0','2023-06-03 16:30:12.000000','2023-06-04 22:28:50.000000','b5e86bc4-6420-4dda-9ba8-adebe8e703c7',NULL,'N','',NULL,'','\0',''),
|
||||||
|
(4,'reeeeex','03d6571e01944a4f8b4b857dc0bde95b681a1cb57272ce8811a9e07a6743d6a4','2023-09-15 21:43:30.022721','2023-09-15 21:57:06.421974','5f1bfd14-9d71-45ee-8c11-e68934e0fe14',NULL,'F','','','','\0','\0'),
|
||||||
|
(5,'789','35a9e381b1a27567549b5f8a6f783c167ebf809f1c4d6a9e367240484d8ce281','2022-12-13 01:10:01.000000','2022-12-13 01:10:01.000000','30699df5-8790-4f90-9927-9640174c3a2f',12,'N','','aaa@e.com','','\0','\0'),
|
||||||
|
(6,'Test','9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08','2023-06-04 22:00:12.000000','2023-06-05 18:38:52.000000','935228a0-a753-4999-8b87-617e5e7f50c1',55,'F','','test@163.com','','\0','\0'),
|
||||||
|
(7,'147','1d28c120568c10e19b9d8abe8b66d0983fa3d2e11ee7751aca50f83c6f4a43aa','2022-12-13 01:10:18.000000','2022-12-13 01:10:18.000000','5cc71a3a-b240-4567-b25c-f611924d6895',NULL,'M','',NULL,'','\0','\0'),
|
||||||
|
(8,'258','a30f4ef42176d28f0e2293533c5f532e9c9c5696c68813b35315d17edc44f6b1','2022-12-13 01:10:26.000000','2022-12-13 01:10:26.000000','ba8c4482-b891-4aac-9b23-a1e30615ff5d',NULL,'F','',NULL,'','\0','\0'),
|
||||||
|
(9,'369','5f193b350c8aba4883dedf97367ef3080821470661d0a2e1faf420a300cb5ca8','2022-12-13 01:10:33.000000','2022-12-13 01:10:33.000000','c5fa554f-7185-44dd-a25e-e32cc766f539',NULL,'M','',NULL,'','\0','\0'),
|
||||||
|
(10,'159','ff2ccb6ba423d356bd549ed4bfb76e96976a0dcde05a09996a1cdb9f83422ec4','2022-12-13 01:10:42.000000','2022-12-14 20:09:57.000000','e6bf7177-f887-4566-b666-023f76b3ee4e',NULL,'F','',NULL,'','\0','\0'),
|
||||||
|
(11,'357','2ab0ce7632a611e907a40710ff46da13c5ba832f5a402c6f51e15f53d6e8fa0e','2022-12-13 01:10:49.000000','2022-12-13 01:10:49.000000','4c537334-f74a-47f1-a08c-d22e45200fae',NULL,'M','',NULL,'','\0','\0'),
|
||||||
|
(12,'asdwasd','94edf28c6d6da38fd35d7ad53e485307f89fbeaf120485c8d17a43f323deee71','2023-05-27 16:50:05.000000','2023-05-27 16:50:05.000000','9b859b30-b2be-410a-acdf-ffd7be12befb',99,'N','',NULL,'','\0','\0'),
|
||||||
|
(13,'ddda','5bf8aa57fc5a6bc547decf1cc6db63f10deb55a3c6c5df497d631fb3d95e1abf','2023-06-03 13:52:45.000000','2023-06-03 13:52:45.000000','832a8349-fe86-481b-ab96-83df29ba1b5a',NULL,'N','',NULL,'','\0','\0'),
|
||||||
|
(15,'轩哥哥','8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92','2023-09-19 08:35:14.599059','2023-09-19 08:36:26.088477','6790d3fd-a0a8-4df9-b9d2-d0fff7816f2d',3,'M','1997948','1867@qq.com','notreal','','\0'),
|
||||||
|
(16,'qwe','8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92','2023-09-19 08:35:39.808190','2023-09-19 08:36:43.984118','fde23449-639d-4cf0-952b-4cd6a3eb954d',18,'F','12345678912','bibuib@1516',NULL,'',''),
|
||||||
|
(17,'苹果','8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92','2023-09-19 11:09:25.685093','2023-09-19 11:09:25.685095','1b583b05-627d-4db7-9ee1-9e0917e33685',12,'M','123456','31867@qq.com','notreal','\0','\0'),
|
||||||
|
(18,'564656','8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92','2023-09-19 11:10:12.558190','2023-09-19 11:10:12.558191','5c3a72bb-e375-45e9-a41c-51dfd70938e1',12,'M','123456','132451867@qq.com','notreal','\0','\0'),
|
||||||
|
(19,'玉米','8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92','2023-09-19 11:10:56.009775','2023-09-19 11:10:56.009775','886866f3-622a-48b8-9b48-8c30365f844d',45,'N','123456','5645331867@qq.com','notreal','\0','\0'),
|
||||||
|
(20,'tttest','7bb41f5c492bb344ee9fe9172d8151c4b6739c55626dc100860b86ef6d7e0614','2023-09-19 15:28:03.434728','2023-09-19 15:28:03.434739','518b03c6-6742-4e07-a047-8e78d3d3850d',NULL,'N',NULL,NULL,NULL,'\0','\0');
|
||||||
|
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping routines for database 'fruitable'
|
||||||
|
--
|
||||||
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||||
|
|
||||||
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||||
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||||
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||||
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||||
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
|
-- Dump completed on 2023-09-21 9:03:49
|
Loading…
Reference in New Issue
Block a user