From 8e99eaafa23231b162f436c8e2162708da3745b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=B0=8F=E5=A2=A8?=
<2291200076@qq.com>
Date: Thu, 16 Mar 2023 17:03:54 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E7=AB=AF=EF=BC=9A=E8=BF=9C=E7=A8=8B?=
=?UTF-8?q?=20nacos=20=E8=B0=83=E9=80=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
TODOs.md | 14 +++
.../AccessProvider_Remote.xml | 14 +++
.../runConfigurations/Gateway_Remote.xml | 20 +++
.../runConfigurations/TestProvider_Remote.xml | 20 +++
.../runConfigurations/UserProvider_Remote.xml | 1 -
.../src/main/resources/application-remote.yml | 5 +
.../src/main/resources/application-remote.yml | 6 +-
.../src/main/resources/application-remote.yml | 5 +
.../src/main/resources/application-remote.yml | 6 +-
database/epp.sql | 114 +++++++++---------
10 files changed, 148 insertions(+), 57 deletions(-)
create mode 100644 backend/.idea/runConfigurations/AccessProvider_Remote.xml
create mode 100644 backend/.idea/runConfigurations/Gateway_Remote.xml
create mode 100644 backend/.idea/runConfigurations/TestProvider_Remote.xml
create mode 100644 backend/microservice-gateway/src/main/resources/application-remote.yml
create mode 100644 backend/microservice-provider-test-8011/src/main/resources/application-remote.yml
diff --git a/TODOs.md b/TODOs.md
index 397afec..962f8b9 100644
--- a/TODOs.md
+++ b/TODOs.md
@@ -1,3 +1,17 @@
+启动 Nacos
+E:
+cd E:\nacos\bin
+startup.cmd -m standalone
+
+-----
+
+Nacos 2.2.0.1 需要配置
+nacos.core.auth.plugin.nacos.token.secret.key=VGhpc0lzTXlDdXN0b21TZWNyZXRLZXkwMTIzNDU2Nzg=
+参考:
+https://nacos.io/zh-cn/docs/v2/guide/user/auth.html
+
+-----
+
体温填报接口:
今日是否填报过,上报体温,上报的体温的历史记录
diff --git a/backend/.idea/runConfigurations/AccessProvider_Remote.xml b/backend/.idea/runConfigurations/AccessProvider_Remote.xml
new file mode 100644
index 0000000..27265dd
--- /dev/null
+++ b/backend/.idea/runConfigurations/AccessProvider_Remote.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/backend/.idea/runConfigurations/Gateway_Remote.xml b/backend/.idea/runConfigurations/Gateway_Remote.xml
new file mode 100644
index 0000000..9b4b80a
--- /dev/null
+++ b/backend/.idea/runConfigurations/Gateway_Remote.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/backend/.idea/runConfigurations/TestProvider_Remote.xml b/backend/.idea/runConfigurations/TestProvider_Remote.xml
new file mode 100644
index 0000000..8c76126
--- /dev/null
+++ b/backend/.idea/runConfigurations/TestProvider_Remote.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/backend/.idea/runConfigurations/UserProvider_Remote.xml b/backend/.idea/runConfigurations/UserProvider_Remote.xml
index 9988cfb..2b7f14a 100644
--- a/backend/.idea/runConfigurations/UserProvider_Remote.xml
+++ b/backend/.idea/runConfigurations/UserProvider_Remote.xml
@@ -7,7 +7,6 @@
-
diff --git a/backend/microservice-gateway/src/main/resources/application-remote.yml b/backend/microservice-gateway/src/main/resources/application-remote.yml
new file mode 100644
index 0000000..82081aa
--- /dev/null
+++ b/backend/microservice-gateway/src/main/resources/application-remote.yml
@@ -0,0 +1,5 @@
+spring:
+ cloud:
+ nacos:
+ discovery:
+ server-addr: 192.168.2.29:8848
diff --git a/backend/microservice-provider-access-8002/src/main/resources/application-remote.yml b/backend/microservice-provider-access-8002/src/main/resources/application-remote.yml
index 542aab6..1b0b2e0 100644
--- a/backend/microservice-provider-access-8002/src/main/resources/application-remote.yml
+++ b/backend/microservice-provider-access-8002/src/main/resources/application-remote.yml
@@ -1,5 +1,9 @@
spring:
datasource:
- url: jdbc:mysql://39.99.244.156:3306/epp?useUnicode=true&characterEncoding=utf8&useSSL=false
+ url: jdbc:mysql://192.168.2.29:3306/epp?useUnicode=true&characterEncoding=utf8&useSSL=false
username: root
password: root
+ cloud:
+ nacos:
+ discovery:
+ server-addr: 192.168.2.29:8848
diff --git a/backend/microservice-provider-test-8011/src/main/resources/application-remote.yml b/backend/microservice-provider-test-8011/src/main/resources/application-remote.yml
new file mode 100644
index 0000000..82081aa
--- /dev/null
+++ b/backend/microservice-provider-test-8011/src/main/resources/application-remote.yml
@@ -0,0 +1,5 @@
+spring:
+ cloud:
+ nacos:
+ discovery:
+ server-addr: 192.168.2.29:8848
diff --git a/backend/microservice-provider-user-8001/src/main/resources/application-remote.yml b/backend/microservice-provider-user-8001/src/main/resources/application-remote.yml
index 542aab6..1b0b2e0 100644
--- a/backend/microservice-provider-user-8001/src/main/resources/application-remote.yml
+++ b/backend/microservice-provider-user-8001/src/main/resources/application-remote.yml
@@ -1,5 +1,9 @@
spring:
datasource:
- url: jdbc:mysql://39.99.244.156:3306/epp?useUnicode=true&characterEncoding=utf8&useSSL=false
+ url: jdbc:mysql://192.168.2.29:3306/epp?useUnicode=true&characterEncoding=utf8&useSSL=false
username: root
password: root
+ cloud:
+ nacos:
+ discovery:
+ server-addr: 192.168.2.29:8848
diff --git a/database/epp.sql b/database/epp.sql
index 221edcd..6d518bf 100644
--- a/database/epp.sql
+++ b/database/epp.sql
@@ -11,7 +11,7 @@
Target Server Version : 80012
File Encoding : 65001
- Date: 28/11/2022 00:01:00
+ Date: 15/03/2023 15:55:32
*/
SET NAMES utf8mb4;
@@ -32,7 +32,7 @@ CREATE TABLE `apply1` (
`state` int(11) NULL DEFAULT 0 COMMENT '状态(0:审批中,1:通过,2:驳回)',
`reason` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '驳回原因',
PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
+) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of apply1
@@ -76,7 +76,7 @@ CREATE TABLE `feedback1` (
`user_id` int(11) NULL DEFAULT NULL COMMENT '反馈用户id',
`reply` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '回复',
PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
+) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of feedback1
@@ -87,6 +87,52 @@ INSERT INTO `feedback1` VALUES (3, '22', '33', '2022-02-14 10:20:29', 1, 'no');
INSERT INTO `feedback1` VALUES (4, '``', '11', '2022-02-14 10:22:12', 1, '111');
INSERT INTO `feedback1` VALUES (5, '123', '123456', '2022-03-28 19:34:04', 2, NULL);
+-- ----------------------------
+-- Table structure for goods
+-- ----------------------------
+DROP TABLE IF EXISTS `goods`;
+CREATE TABLE `goods` (
+ `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+ `goods_name` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '商品名称',
+ `category_id` int(11) NULL DEFAULT 0 COMMENT '商品所属类目ID',
+ `brand` int(11) NULL DEFAULT 0 COMMENT '商品品牌',
+ `gallery` varchar(1023) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '商品宣传图片列表,采用JSON数组格式',
+ `brief` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '商品简介',
+ `is_on_sale` tinyint(1) NULL DEFAULT 1 COMMENT '是否上架',
+ `sort_order` smallint(4) NULL DEFAULT 100 COMMENT '排序',
+ `pic_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '商品页面商品图片',
+ `type` tinyint(1) NULL DEFAULT 0 COMMENT '商品类型',
+ `unit` varchar(31) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '’件‘' COMMENT '商品单位,例如件、盒',
+ `counter_price` decimal(10, 2) NULL DEFAULT 0.00 COMMENT '专柜价格',
+ `retail_price` decimal(10, 2) NULL DEFAULT 100000.00 COMMENT '零售价格',
+ `detail` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '商品详细介绍,是富文本格式',
+ `deleted` tinyint(1) NULL DEFAULT 0 COMMENT '逻辑删除 0为正常 1为删除',
+ PRIMARY KEY (`id`) USING BTREE,
+ INDEX `category_id`(`category_id`) USING BTREE,
+ INDEX `brand_id`(`brand`) USING BTREE,
+ INDEX `sort_order`(`sort_order`) USING BTREE
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商品基本信息表' ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Records of goods
+-- ----------------------------
+INSERT INTO `goods` VALUES (1, '口罩', 0, 0, NULL, NULL, 1, 100, NULL, 0, '’件‘', 0.00, 100000.00, NULL, 0);
+
+-- ----------------------------
+-- Table structure for goods_category
+-- ----------------------------
+DROP TABLE IF EXISTS `goods_category`;
+CREATE TABLE `goods_category` (
+ `id` int(11) NOT NULL,
+ `category_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '商品分类名',
+ `order` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '排序',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Records of goods_category
+-- ----------------------------
+
-- ----------------------------
-- Table structure for notice1
-- ----------------------------
@@ -97,7 +143,7 @@ CREATE TABLE `notice1` (
`content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '内容',
`time` date NULL DEFAULT NULL COMMENT '时间',
PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
+) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of notice1
@@ -116,60 +162,19 @@ CREATE TABLE `report` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NULL DEFAULT NULL COMMENT '用户id',
`name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '姓名',
- `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址',
`time` datetime NULL DEFAULT NULL COMMENT '填报时间',
- `normal` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '体温是否正常',
- `isolation` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '隔离情况',
+ `temperature` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '体温是否正常',
+ `address` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址',
PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 44 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
+) ENGINE = InnoDB AUTO_INCREMENT = 58 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of report
-- ----------------------------
-INSERT INTO `report` VALUES (1, 2, '廖鸿志', '福建省福州市晋安区福新中路109-19号', '2022-02-15 15:17:16', '正常', '无需隔离');
-INSERT INTO `report` VALUES (2, 2, '廖鸿志', '福建省福州市晋安区福新中路109-19号', '2022-02-15 15:57:33', '正常', '无需隔离');
-INSERT INTO `report` VALUES (3, 1, '管理员', '河南省郑州市中原区桐柏北路6号', '2022-03-07 20:39:28', '正常', '无需隔离');
-INSERT INTO `report` VALUES (4, 1, '管理员', '河南省郑州市中原区桐柏北路6号', '2022-03-07 20:39:28', '正常', '无需隔离');
-INSERT INTO `report` VALUES (5, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-09 14:46:02', '正常', '无需隔离');
-INSERT INTO `report` VALUES (6, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-09 15:09:35', '正常', '无需隔离');
-INSERT INTO `report` VALUES (7, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-09 15:12:27', '正常', '无需隔离');
-INSERT INTO `report` VALUES (8, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-09 15:13:04', '正常', '无需隔离');
-INSERT INTO `report` VALUES (9, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-09 15:14:23', '正常', '无需隔离');
-INSERT INTO `report` VALUES (10, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-09 15:15:23', '正常', '无需隔离');
-INSERT INTO `report` VALUES (11, 2, '廖鸿志', '福建省福州市鼓楼区乌山路96号', '2022-03-11 11:11:49', '正常', '无需隔离');
-INSERT INTO `report` VALUES (12, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-18 09:55:44', '正常', '无需隔离');
-INSERT INTO `report` VALUES (13, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-18 09:55:35', '正常', '无需隔离');
-INSERT INTO `report` VALUES (14, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-18 09:55:35', '正常', '无需隔离');
-INSERT INTO `report` VALUES (15, 2, '廖鸿志', '福建省福州市晋安区福新中路109-19号', '2022-03-18 09:59:39', '正常', '无需隔离');
-INSERT INTO `report` VALUES (16, 1, '管理员', '河南省安阳市文峰区文明大道东段72号', '2022-03-19 13:39:05', '正常', '无需隔离');
-INSERT INTO `report` VALUES (17, 1, '管理员', '河南省安阳市文峰区文明大道东段72号', '2022-03-19 13:39:05', '正常', '无需隔离');
-INSERT INTO `report` VALUES (18, 1, '管理员', '河南省安阳市文峰区文明大道72号', '2022-03-19 13:40:19', '正常', '无需隔离');
-INSERT INTO `report` VALUES (19, 1, '管理员', '河南省安阳市文峰区文明大道72号', '2022-03-19 13:40:19', '正常', '无需隔离');
-INSERT INTO `report` VALUES (20, 1, '管理员', '福建省福州市鼓楼区乌山路96号', '2022-03-28 19:06:51', '正常', '无需隔离');
-INSERT INTO `report` VALUES (21, 1, '管理员', '福建省福州市鼓楼区乌山路96号', '2022-03-28 19:06:51', '正常', '无需隔离');
-INSERT INTO `report` VALUES (22, 1, '管理员', '福建省福州市鼓楼区乌山路96号', '2022-03-28 19:06:51', '正常', '无需隔离');
-INSERT INTO `report` VALUES (23, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-30 15:52:50', '发热', '无需隔离');
-INSERT INTO `report` VALUES (24, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-30 15:55:32', '发热', '无需隔离');
-INSERT INTO `report` VALUES (25, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-30 15:57:57', '正常', '无需隔离');
-INSERT INTO `report` VALUES (26, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-30 16:04:07', '发热', '无需隔离');
-INSERT INTO `report` VALUES (27, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-30 16:04:07', '发热', '无需隔离');
-INSERT INTO `report` VALUES (28, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-03-30 16:04:53', '发热', '无需隔离');
-INSERT INTO `report` VALUES (29, 1, '管理员', '福建省福州市鼓楼区乌山路96号', '2022-04-05 10:53:29', '正常', '无需隔离');
-INSERT INTO `report` VALUES (30, 1, '管理员', '福建省福州市鼓楼区乌山路96号', '2022-04-05 10:54:12', '发热', '无需隔离');
-INSERT INTO `report` VALUES (31, 1, '管理员', '福建省福州市鼓楼区乌山路96号', '2022-04-05 10:58:59', '正常', '无需隔离');
-INSERT INTO `report` VALUES (32, 1, '管理员', '福建省福州市鼓楼区乌山路96号', '2022-04-05 11:01:08', '正常', '无需隔离');
-INSERT INTO `report` VALUES (33, 1, '管理员', '福建省福州市鼓楼区乌山路96号', '2022-04-05 11:01:51', '正常', '无需隔离');
-INSERT INTO `report` VALUES (34, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-04-14 18:28:08', '正常', '无需隔离');
-INSERT INTO `report` VALUES (35, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-04-14 18:32:43', '正常', '无需隔离');
-INSERT INTO `report` VALUES (36, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-04-16 00:06:00', '正常', '无需隔离');
-INSERT INTO `report` VALUES (37, 1, '管理员', '福建省福州市晋安区福新中路109-19号', '2022-04-16 00:13:06', '正常', '无需隔离');
-INSERT INTO `report` VALUES (38, 11, '老师', '福建省福州市晋安区福新中路109-19号', '2022-06-15 10:35:13', '发热', '无需隔离');
-INSERT INTO `report` VALUES (39, 12, '刘鸿宇', '福建省福州市晋安区福新中路109-19号', '2022-06-15 10:45:05', '正常', '无需隔离');
-INSERT INTO `report` VALUES (40, 12, '刘鸿宇', '福建省福州市晋安区福新中路109-19号', '2022-06-15 10:45:24', '发热', '无需隔离');
-INSERT INTO `report` VALUES (41, 12, '刘鸿宇', '福建省福州市晋安区福新中路109-19号', '2022-06-15 10:45:24', '发热', '无需隔离');
-INSERT INTO `report` VALUES (42, 12, '刘鸿宇', '福建省福州市晋安区福新中路109-19号', '2022-06-15 10:49:32', '正常', '无需隔离');
-INSERT INTO `report` VALUES (43, 12, '刘鸿宇', '福建省福州市晋安区福新中路109-19号', '2022-06-15 10:51:51', '发热', '无需隔离');
-INSERT INTO `report` VALUES (44, 12, '刘鸿宇', '福建省福州市晋安区福新中路109-19号', '2022-06-15 10:53:00', '正常', '无需隔离');
+INSERT INTO `report` VALUES (53, 1, '管理员 密码root', '2022-12-26 20:35:38', '1', '湖北省武汉市洪山区文治街南湖雅园(洪山区信访局对面)');
+INSERT INTO `report` VALUES (55, 1, '管理员 密码root', '2022-12-27 21:03:24', '0', '湖北省武汉市洪山区文治街508号南湖雅园F栋2-104号');
+INSERT INTO `report` VALUES (57, 1, '管理员 密码root', '2022-12-28 21:47:57', '0', '湖北省武汉市洪山区文治街南湖雅园(洪山区信访局对面)');
+INSERT INTO `report` VALUES (58, 1, '管理员 密码root', '2022-12-29 18:20:00', '1', '湖北省武汉市洪山区鲁磨路209号');
-- ----------------------------
-- Table structure for setting
@@ -185,6 +190,7 @@ CREATE TABLE `setting` (
-- ----------------------------
-- Records of setting
-- ----------------------------
+INSERT INTO `setting` VALUES ('wechat_access_token', '66_sC2-1ygooBWjbLaEz2-or6IGqFs76UvUnRIpxXo_rJqw2BS45J_X128_xks1ekQPvF6LK22AcfA6d7OmcBWeulrRhUFNO3MPaog-_u-TqJxQ6XoRUPN9iUWR0Y8HQWiAGAUDJ', '2023-03-07 01:19:44');
-- ----------------------------
-- Table structure for user
@@ -203,7 +209,7 @@ CREATE TABLE `user` (
`permission` int(11) NOT NULL DEFAULT 0 COMMENT '进出权限 (0-无 1-继承(普通居民) 2-永久 3-限时)',
`permission_time` datetime NULL DEFAULT NULL COMMENT '进出权限失效时间',
PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of user
@@ -243,7 +249,7 @@ CREATE TABLE `visitor1` (
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
`state` int(11) NULL DEFAULT 0 COMMENT '状态(0:审批中,1:成功,2:驳回)',
PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
+) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of visitor1