Ver Fonte

更新 README.md 和构建部署脚本

reghao há 1 ano atrás
pai
commit
8167c51a95

+ 35 - 28
README.md

@@ -1,8 +1,10 @@
 # tnb
-微服务实践
+微服务实践, 本项目实现了一个类似 bilibili 的 VOD 系统
+> 也包含 mall, exam, im, geo 等模块
 
 ## 依赖
 - os:Linux
+> Windows 系统理论上可以运行, 但尚未实践
 - jdk:11
 - maven:3.9
 - mysql:5.7
@@ -11,7 +13,7 @@
 - zookeeper:3.4
 - mongodb:4.4
 
-## 架构
+## 模块
 tnb 项目模块:
 - gateway:6000
 - account:6001
@@ -22,37 +24,42 @@ tnb 项目模块:
 - mall:6006
 - data:6007
 
-## 初始化 MySQL
-- 1.bnt/zzz/bnt_init.sql 文件是系统的初始数据
-- 2.执行 bnt/zzz/init_schema.sh 脚本可完成数据库的创建和初始化
-> 需要自行指定脚本中的 host, username, password, db 等变量值
-- 3.然后可以开始构建和部署系统
-
-## 构建
-根据需要构建的类型使用 wget 获取构建脚本:
+## 构建部署
+### pull 项目源码
+```
+cd ~/Downloads
+git clone https://git.reghao.cn/reghao/tnb.git
 ```
-# 构建 jar 包使用此脚本
-wget https://git.reghao.cn/reghao/tnb/raw/master/zzz/build_jar.sh
 
-# 构建 docker 镜像使用此脚本
-wget https://git.reghao.cn/reghao/tnb/raw/master/zzz/build_image.sh
+### 初始化 MySQL
+```
+cd ~/Downloads/tnb/zzz
+bash db_init.sh
 ```
-- 1.修改构建脚本中的 base_dir 变量的值
-- 2.执行构建脚本
-- 3.构建完成
-> 如果使用 build_jar.sh 脚本构建, 生成的 jar 包会存放在相应模块的 target 目录中
->
-> 如果使用 build_image.sh 脚本构建, 生成的镜像可使用 docker images | grep 'tnb' 命令查看
+> 执行 db_init.sh 会自动创建 tnb 项目需要的数据库并初始化数据库表
+> > 需要自行指定 db_init.sh 脚本中的 host, username, password 等变量值
 
-## 部署
-使用下述命令启动:
+### 构建并运行
 ```
-# 构建的 jar 包
-java -jar xxx.jar 
+cd ~/Downloads/tnb/zzz
+bash build_jar.sh
+```
+> 执行 db_init.sh 会自动构建并运行 tnb 项目各应用 jar 包
+> > build_jar.sh 脚本中的 proj_dir 变量默认是 ~/Downloads/tnb
+> 
+> mvn 构建默认使用 dev 环境, 所以需要修改每个应用 resources/application-dev.yml 配置文件中的第三方服务配置
+> 
+> 默认运行的是 jar 包, 也可构建并运行 docker 镜像, 详见 build_jar.sh 脚本的 build_image 和 exec_image 函数
 
-# 构建的 docker 镜像
-docker run -d --name=tnb-xxx --network=host reghao/tnb-xxx:12345678
+### 停止应用
+```
+cd ~/Downloads/tnb/zzz
+bash shutdown.sh
 ```
-> 默认使用 resources/application-test.yml 配置文件
+> 执行 db_init.sh 会结束 tnb 项目中的各个应用
+
+### 其他依赖
+若要正常使用 VOD 系统, 那么还需要运行 [oss](https://git.reghao.cn/reghao/oss) 和 [bnt](https://git.reghao.cn/reghao/bnt) 项目
 
-此项目模块太多, 构建部署都太过繁琐, 推荐使用 [devops](https://git.reghao.cn/reghao/devops) 项目来自动构建部署应用.
+## 其他
+本项目模块太多, 构建部署都太过繁琐, 推荐使用 [devops](https://git.reghao.cn/reghao/devops) 项目来自动构建部署应用.

+ 0 - 53
zzz/build_image.sh

@@ -1,53 +0,0 @@
-#!/bin/bash
-
-###############################################################################
-# 构建 docker 镜像
-###############################################################################
-
-set -e
-
-base_dir = '/home/reghao/Downloads'
-
-###############################################################################
-# 构建依赖
-###############################################################################
-cd ${base_dir}
-git clone https://git.reghao.cn/reghao/jutil
-cd jutil
-mvn clean install package -Dmaven.test.skip=true
-
-cd ${base_dir}
-git clone https://git.reghao.cn/reghao/oss
-cd oss
-mvn install package -Dmaven.test.skip=true -pl oss/oss-api
-mvn install package -Dmaven.test.skip=true -pl oss/oss-sdk
-
-###############################################################################
-# 构建 tnb 应用
-###############################################################################
-cd ${base_dir}
-git clone https://git.reghao.cn/reghao/tnb
-mvn clean package -Dmaven.test.skip -Ptest
-
-###############################################################################
-# 构建 tnb 应用镜像
-###############################################################################
-commit_id=`git rev-parse HEAD | cut -c 1-8`
-docker_prefix='tnb'
-cd ${base_dir}/tnb/gateway/
-docker build -t ${docker_prefix}/gateway:${commit_id} .
-
-cd ${base_dir}/tnb/account/account-service/
-docker build -t ${docker_prefix}/account:${commit_id} .
-
-cd ${base_dir}/tnb/user/user-service/
-docker build -t ${docker_prefix}/user:${commit_id} .
-
-cd ${base_dir}/tnb/message/message-service/
-docker build -t ${docker_prefix}/message:${commit_id} .
-
-cd ${base_dir}/tnb/content/content-service/
-docker build -t ${docker_prefix}/content:${commit_id} .
-
-cd ${base_dir}/tnb/file/
-docker build -t ${docker_prefix}/file:${commit_id} .

+ 68 - 15
zzz/build_jar.sh

@@ -1,30 +1,83 @@
 #!/bin/bash
 
 ###############################################################################
-# 构建 jar 包
+# 构建 tnb 应用
 ###############################################################################
 
 set -e
 
-base_dir = '/home/reghao/Downloads'
+proj_dir='~/Downloads/tnb'
 
 ###############################################################################
 # 构建依赖
 ###############################################################################
-cd ${base_dir}
-git clone https://git.reghao.cn/reghao/jutil
-cd jutil
-mvn clean install package -Dmaven.test.skip=true
+build_dependencies() {
+  cd ${proj_dir}
+  git clone https://git.reghao.cn/reghao/jutil
+  cd jutil
+  mvn clean install package -Dmaven.test.skip=true
+  
+  cd ${proj_dir}
+  git clone https://git.reghao.cn/reghao/oss
+  cd oss
+  mvn install package -Dmaven.test.skip=true -pl oss/oss-sdk
+}
 
-cd ${base_dir}
-git clone https://git.reghao.cn/reghao/oss
-cd oss
-mvn install package -Dmaven.test.skip=true -pl oss/oss-api
-mvn install package -Dmaven.test.skip=true -pl oss/oss-sdk
+###############################################################################
+# 构建 tnb 应用 jar 包
+###############################################################################
+build_jar() {
+  cd ${proj_dir}
+  mvn clean package -Dmaven.test.skip
+}
 
 ###############################################################################
-# 构建 tnb 应用
+# 运行 tnb 应用
+###############################################################################
+exec_jar() {
+  nohup java -jar ${proj_dir}/gateway/target/tnb-gateway.jar > tnb-gateway.log 2>&1 &
+  nohup java -jar ${proj_dir}/account/account-service/target/tnb-account.jar > tnb-account.log 2>&1 &
+  nohup java -jar ${proj_dir}/user/user-service/target/tnb-user.jar > tnb-user.log 2>&1 &
+  nohup java -jar ${proj_dir}/message/message-service/target/tnb-message.jar > tnb-message.log 2>&1 &
+  nohup java -jar ${proj_dir}/file/file-service/target/tnb-file.jar > tnb-file.log 2>&1 &
+  nohup java -jar ${proj_dir}/content/content-service/target/tnb-content.jar > tnb-content.log 2>&1 &
+  nohup java -jar ${proj_dir}/data/data-service/target/tnb-data.jar > tnb-data.log 2>&1 &
+}
+
 ###############################################################################
-cd ${base_dir}
-git clone https://git.reghao.cn/reghao/tnb
-mvn clean package -Dmaven.test.skip -Ptest
+# 构建 tnb 应用镜像
+###############################################################################
+build_image() {
+  commit_id=`git rev-parse HEAD | cut -c 1-8`
+  docker_prefix='tnb'
+  cd ${proj_dir}/tnb/gateway/
+  docker build -t ${docker_prefix}/gateway:${commit_id} .
+  
+  cd ${proj_dir}/tnb/account/account-service/
+  docker build -t ${docker_prefix}/account:${commit_id} .
+  
+  cd ${proj_dir}/tnb/user/user-service/
+  docker build -t ${docker_prefix}/user:${commit_id} .
+  
+  cd ${proj_dir}/tnb/message/message-service/
+  docker build -t ${docker_prefix}/message:${commit_id} .
+  
+  cd ${proj_dir}/tnb/content/content-service/
+  docker build -t ${docker_prefix}/content:${commit_id} .
+  
+  cd ${proj_dir}/tnb/file/
+  docker build -t ${docker_prefix}/file:${commit_id} .
+}
+
+exec_image() {
+  echo "not implement..."
+}
+
+echo "构建第三方依赖..."
+build_dependencies
+
+echo "构建 tnb jar 应用..."
+build_jar
+
+echo "运行 tnb jar 应用..."
+exec_jar

+ 50 - 0
zzz/db_init.sh

@@ -0,0 +1,50 @@
+#!/bin/bash
+
+###############################################################################
+# 初始化数据库, 包括创建数据库和初始化数据库表
+###############################################################################
+
+set -e
+
+base_dir=`pwd`
+cd ${base_dir}/schema
+
+host='127.0.0.1'
+username='dev'
+password='Dev@123456'
+
+db1='tnb_account_tdb'
+db2='tnb_content_tdb'
+
+db11='tnb_account_rdb'
+db21='tnb_content_rdb'
+
+create_db() {
+sql1="CREATE DATABASE ${db1} DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;"
+sql2="CREATE DATABASE ${db2} DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;"
+
+mysql -h${host} -u${username} -p${password} << EOF
+ ${sql1}
+ ${sql2}
+EOF
+}
+
+init_db() {
+  # 还原整个数据库结构(不包含数据)
+  mysql -h${host} -u${username} -p${password} ${db11} < ${db1}.sql
+  mysql -h${host} -u${username} -p${password} ${db21} < ${db2}.sql
+
+  # 还原表数据到数据库
+  mysql -h${host} -u${username} -p${password} ${db11} < msg_email_account.sql
+  mysql -h${host} -u${username} -p${password} ${db11} < user_registry.sql
+  mysql -h${host} -u${username} -p${password} ${db11} < user_vip_plan.sql
+
+  mysql -h${host} -u${username} -p${password} ${db21} < file_store_config.sql
+  mysql -h${host} -u${username} -p${password} ${db21} < vod_video_category.sql
+}
+
+echo "create db..."
+create_db
+
+echo "init db..."
+init_db

+ 0 - 18
zzz/deploy.sh

@@ -1,18 +0,0 @@
-#!/bin/bash
-
-#######################################################################################################################
-# Java 应用部署
-#######################################################################################################################
-
-cd /home/reghao/code/java/tnb
-mvn clean deploy -am -Dmaven.test.skip -pl common
-mvn clean deploy -am -Dmaven.test.skip -pl log
-mvn clean deploy -am -Dmaven.test.skip -pl account/account-api/
-mvn clean deploy -am -Dmaven.test.skip -pl user/user-api/
-mvn clean deploy -am -Dmaven.test.skip -pl message/message-api/
-mvn clean deploy -am -Dmaven.test.skip -pl content/content-api/
-mvn clean deploy -am -Dmaven.test.skip -pl file/file-api/
-mvn clean deploy -am -Dmaven.test.skip -pl data/data-api/
-
-#cd /home/reghao/code/java/tnb/tinyurl/
-#mvn clean deploy -am -Dmaven.test.skip -pl tinyurl-api/

+ 0 - 22
zzz/deploy_jar.sh

@@ -1,22 +0,0 @@
-#!/bin/bash
-
-#######################################################################################################################
-# 部署 jar 包
-#######################################################################################################################
-
-base_dir = '/a/b/c'
-
-cd /home/reghao/code/java/tnb
-
-mvn clean deploy -am -Dmaven.test.skip -pl common
-mvn clean deploy -am -Dmaven.test.skip -pl account/account-api/
-mvn clean deploy -am -Dmaven.test.skip -pl user/user-api/
-mvn clean deploy -am -Dmaven.test.skip -pl message/message-api/
-mvn clean deploy -am -Dmaven.test.skip -pl content/content-api/
-mvn clean deploy -am -Dmaven.test.skip -pl mall/mall-api/
-
-#mvn clean deploy -am -Dmaven.test.skip -pl im/im-api/
-#mvn clean deploy -am -Dmaven.test.skip -pl file/file-api/
-
-#cd /home/reghao/code/java/tnb/tinyurl/
-#mvn clean deploy -am -Dmaven.test.skip -pl tinyurl-api/

+ 0 - 28
zzz/init_schema.sh

@@ -1,28 +0,0 @@
-#!/bin/bash
-
-###############################################################################
-# 创建和初始化数据库
-###############################################################################
-
-set -e
-
-host='192.168.0.210'
-username='test'
-password='Test@123456'
-db='tnb_account_tdb'
-db1='tnb_content_tdb'
-
-sql="CREATE DATABASE ${db} DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;"
-sql1="CREATE DATABASE ${db1} DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;"
-
-mysql -h${host} -u${username} -p${password} << EOF
-${sql}
-${sql1}
-
-use ${db}
-source ./tnb_account_init.sql;
-
-use ${db1}
-source ./tnb_content_init.sql;
-EOF
-exit;

+ 0 - 17
zzz/install.sh

@@ -1,17 +0,0 @@
-#######################################################################################################################
-# Java 应用构建脚本
-#######################################################################################################################
-#!/bin/bash
-
-cd /home/reghao/code/java/tnb
-mvn clean install -am -Dmaven.test.skip -pl common
-mvn clean install -am -Dmaven.test.skip -pl log
-mvn clean install -am -Dmaven.test.skip -pl account/account-api/
-mvn clean install -am -Dmaven.test.skip -pl user/user-api/
-mvn clean install -am -Dmaven.test.skip -pl message/message-api/
-mvn clean install -am -Dmaven.test.skip -pl content/content-api/
-mvn clean install -am -Dmaven.test.skip -pl file/file-api/
-mvn clean install -am -Dmaven.test.skip -pl data/data-api/
-
-#cd /home/reghao/code/java/tnb/tinyurl/
-#mvn clean install -am -Dmaven.test.skip -pl tinyurl-api/

+ 41 - 0
zzz/install_tnb.sh

@@ -0,0 +1,41 @@
+#!/bin/bash
+
+###############################################################################
+# tnb 模块作为其他模块(应用)的依赖 install 到本地仓库或 deploy 到远程仓库
+###############################################################################
+
+install_dependencies() {
+ cd /home/reghao/code/java/tnb
+ mvn clean install -am -Dmaven.test.skip -pl common
+ mvn clean install -am -Dmaven.test.skip -pl log
+ mvn clean install -am -Dmaven.test.skip -pl account/account-api/
+ mvn clean install -am -Dmaven.test.skip -pl user/user-api/
+ mvn clean install -am -Dmaven.test.skip -pl message/message-api/
+ mvn clean install -am -Dmaven.test.skip -pl content/content-api/
+ mvn clean install -am -Dmaven.test.skip -pl file/file-api/
+ mvn clean install -am -Dmaven.test.skip -pl data/data-api/
+
+ #cd /home/reghao/code/java/tnb/tinyurl/
+ #mvn clean install -am -Dmaven.test.skip -pl tinyurl-api/
+}
+
+deploy_dependencies() {
+  cd /home/reghao/code/java/tnb
+  mvn clean deploy -am -Dmaven.test.skip -pl common
+  mvn clean deploy -am -Dmaven.test.skip -pl log
+  mvn clean deploy -am -Dmaven.test.skip -pl account/account-api/
+  mvn clean deploy -am -Dmaven.test.skip -pl user/user-api/
+  mvn clean deploy -am -Dmaven.test.skip -pl message/message-api/
+  mvn clean deploy -am -Dmaven.test.skip -pl content/content-api/
+  mvn clean deploy -am -Dmaven.test.skip -pl file/file-api/
+  mvn clean deploy -am -Dmaven.test.skip -pl data/data-api/
+
+  #cd /home/reghao/code/java/tnb/tinyurl/
+  #mvn clean deploy -am -Dmaven.test.skip -pl tinyurl-api/
+}
+
+echo "install dependencies on local repo..."
+install_dependencies
+
+#echo "deploy dependencies on remote repo..."
+#deploy_dependencies

+ 61 - 0
zzz/schema/file_store_config.sql

@@ -0,0 +1,61 @@
+-- MySQL dump 10.13  Distrib 5.7.42, for Linux (x86_64)
+--
+-- Host: 192.168.0.210    Database: tnb_content_tdb
+-- ------------------------------------------------------
+-- Server version	5.7.36
+
+/*!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 utf8 */;
+/*!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 */;
+
+--
+-- Table structure for table `file_store_config`
+--
+
+DROP TABLE IF EXISTS `file_store_config`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `file_store_config` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `oss_type` int(11) NOT NULL,
+  `endpoint` varchar(255) NOT NULL,
+  `access_key_id` varchar(255) NOT NULL,
+  `access_key_secret` varchar(255) NOT NULL,
+  `region` varchar(255) DEFAULT NULL,
+  `bucket_name` varchar(255) DEFAULT NULL,
+  `role_arn` varchar(255) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `oss_type` (`oss_type`)
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='OSS 存储节点配置';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `file_store_config`
+--
+
+LOCK TABLES `file_store_config` WRITE;
+/*!40000 ALTER TABLE `file_store_config` DISABLE KEYS */;
+INSERT INTO `file_store_config` VALUES (1,_binary '\0','2024-11-06 19:12:04.117976','2024-11-06 19:12:04.117976',1,'http://bnt.reghao.cn','ESCKn3Cd','OL9SIOLoOqUjhMiQMv',NULL,NULL,NULL);
+/*!40000 ALTER TABLE `file_store_config` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!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 2024-12-15 22:47:21

+ 59 - 0
zzz/schema/msg_email_account.sql

@@ -0,0 +1,59 @@
+-- MySQL dump 10.13  Distrib 5.7.42, for Linux (x86_64)
+--
+-- Host: 192.168.0.210    Database: tnb_account_tdb
+-- ------------------------------------------------------
+-- Server version	5.7.36
+
+/*!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 utf8 */;
+/*!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 */;
+
+--
+-- Table structure for table `msg_email_account`
+--
+
+DROP TABLE IF EXISTS `msg_email_account`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `msg_email_account` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `smtp` varchar(255) NOT NULL,
+  `username` varchar(255) NOT NULL,
+  `password` varchar(255) NOT NULL,
+  `personal` varchar(255) NOT NULL,
+  `default_sender` bit(1) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `username` (`username`)
+) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `msg_email_account`
+--
+
+LOCK TABLES `msg_email_account` WRITE;
+/*!40000 ALTER TABLE `msg_email_account` DISABLE KEYS */;
+INSERT INTO `msg_email_account` VALUES (1,_binary '\0','2024-09-25 15:01:18.832444','2024-09-25 17:18:25.000000','smtp.163.com','gisgit@163.com','sirHdeKYn4PHcMP9','admin@tnb',_binary ''),(2,_binary '\0','2024-09-25 16:08:09.714839','2024-09-25 17:18:51.000000','smtp.gmail.com','reghaodev@gmail.com','122334452525325323','admin@tnb',_binary '\0');
+/*!40000 ALTER TABLE `msg_email_account` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!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 2024-12-15 22:47:21

+ 509 - 0
zzz/schema/tnb_account_tdb.sql

@@ -0,0 +1,509 @@
+-- MySQL dump 10.13  Distrib 5.7.42, for Linux (x86_64)
+--
+-- Host: 192.168.0.210    Database: tnb_account_tdb
+-- ------------------------------------------------------
+-- Server version	5.7.36
+
+/*!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 utf8 */;
+/*!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 */;
+
+--
+-- Table structure for table `chat_group_info`
+--
+
+DROP TABLE IF EXISTS `chat_group_info`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `chat_group_info` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `group_id` bigint(20) NOT NULL,
+  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
+  `avatar` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
+  `profile` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
+  `owner_id` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `chat_group_member`
+--
+
+DROP TABLE IF EXISTS `chat_group_member`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `chat_group_member` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `group_id` bigint(20) NOT NULL,
+  `user_id` bigint(20) NOT NULL,
+  `nickname` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
+  `owner` bit(1) DEFAULT NULL,
+  `disturb` bit(1) DEFAULT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `chat_group_notice`
+--
+
+DROP TABLE IF EXISTS `chat_group_notice`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `chat_group_notice` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `notice_id` int(11) NOT NULL,
+  `group_id` int(11) NOT NULL,
+  `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
+  `content` text COLLATE utf8mb4_unicode_ci NOT NULL,
+  `top` bit(1) NOT NULL,
+  `confirmed` bit(1) NOT NULL,
+  `create_by` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `msg_email_account`
+--
+
+DROP TABLE IF EXISTS `msg_email_account`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `msg_email_account` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `smtp` varchar(255) NOT NULL,
+  `username` varchar(255) NOT NULL,
+  `password` varchar(255) NOT NULL,
+  `personal` varchar(255) NOT NULL,
+  `default_sender` bit(1) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `username` (`username`)
+) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `msg_login_attempts`
+--
+
+DROP TABLE IF EXISTS `msg_login_attempts`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `msg_login_attempts` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `login_id` varchar(255) DEFAULT NULL,
+  `user_id` bigint(20) NOT NULL,
+  `login_type` int(11) DEFAULT NULL,
+  `user_agent` text,
+  `login_ip` varchar(255) DEFAULT NULL,
+  `login_at` datetime(6) DEFAULT NULL,
+  `plat` int(11) DEFAULT NULL,
+  `succeed` bit(1) DEFAULT NULL,
+  `remember_me` bit(1) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `login_id` (`login_id`),
+  KEY `user_id` (`user_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8mb4 COMMENT='用户登录记录';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `oauth_access_token`
+--
+
+DROP TABLE IF EXISTS `oauth_access_token`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `oauth_access_token` (
+  `token_id` varchar(255) DEFAULT NULL COMMENT '加密的access_token的值',
+  `token` longblob COMMENT 'OAuth2AccessToken.java对象序列化后的二进制数据',
+  `authentication_id` varchar(255) DEFAULT NULL COMMENT '加密过的username,client_id,scope',
+  `user_name` varchar(255) DEFAULT NULL COMMENT '登录的用户名',
+  `client_id` varchar(255) DEFAULT NULL COMMENT '客户端ID',
+  `authentication` longblob COMMENT 'OAuth2Authentication.java对象序列化后的二进制数据',
+  `refresh_token` varchar(255) DEFAULT NULL COMMENT '加密的refresh_token的值'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='访问令牌';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `oauth_approvals`
+--
+
+DROP TABLE IF EXISTS `oauth_approvals`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `oauth_approvals` (
+  `userId` varchar(255) DEFAULT NULL COMMENT '登录的用户名',
+  `clientId` varchar(255) DEFAULT NULL COMMENT '客户端ID',
+  `scope` varchar(255) DEFAULT NULL COMMENT '申请的权限范围',
+  `status` varchar(10) DEFAULT NULL COMMENT '状态(Approve或Deny)',
+  `expiresAt` datetime DEFAULT NULL COMMENT '过期时间',
+  `lastModifiedAt` datetime DEFAULT NULL COMMENT '最终修改时间'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='授权记录';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `oauth_client_details`
+--
+
+DROP TABLE IF EXISTS `oauth_client_details`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `oauth_client_details` (
+  `client_id` varchar(255) NOT NULL COMMENT '客户端 ID',
+  `resource_ids` varchar(255) DEFAULT NULL COMMENT '客户端可访问的资源服务器集合, 使用 '','' 分隔多个资源',
+  `client_secret` varchar(255) DEFAULT NULL COMMENT '客户端密匙',
+  `scope` varchar(255) DEFAULT NULL COMMENT '客户端可访问的资源服务器范围, 空值表示可访问资源服务器上的所有资源',
+  `authorized_grant_types` varchar(255) DEFAULT NULL COMMENT '客户端支持的 OAuth2.0 授权类型',
+  `web_server_redirect_uri` varchar(255) DEFAULT NULL COMMENT '授权服务器认证通过后重定向到客户端的 URI',
+  `authorities` varchar(255) DEFAULT NULL COMMENT '客户端拥有的 Spring Security 权限, 使用 '','' 分隔多个权限',
+  `access_token_validity` int(11) DEFAULT NULL COMMENT '访问令牌有效时间值(单位:秒)',
+  `refresh_token_validity` int(11) DEFAULT NULL COMMENT '更新令牌有效时间值(单位:秒)',
+  `additional_information` varchar(255) DEFAULT NULL COMMENT '预留字段',
+  `autoapprove` varchar(255) DEFAULT NULL COMMENT '用户是否自动 Approval 操作'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='客户端信息';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `oauth_client_token`
+--
+
+DROP TABLE IF EXISTS `oauth_client_token`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `oauth_client_token` (
+  `token_id` varchar(255) DEFAULT NULL COMMENT '加密的access_token值',
+  `token` longblob COMMENT 'OAuth2AccessToken.java对象序列化后的二进制数据',
+  `authentication_id` varchar(255) DEFAULT NULL COMMENT '加密过的username,client_id,scope',
+  `user_name` varchar(255) DEFAULT NULL COMMENT '登录的用户名',
+  `client_id` varchar(255) DEFAULT NULL COMMENT '客户端ID'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `oauth_code`
+--
+
+DROP TABLE IF EXISTS `oauth_code`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `oauth_code` (
+  `code` varchar(255) DEFAULT NULL COMMENT '授权码(未加密)',
+  `authentication` varbinary(255) DEFAULT NULL COMMENT 'AuthorizationRequestHolder.java对象序列化后的二进制数据'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='授权码';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `oauth_refresh_token`
+--
+
+DROP TABLE IF EXISTS `oauth_refresh_token`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `oauth_refresh_token` (
+  `token_id` varchar(255) DEFAULT NULL COMMENT '加密过的refresh_token的值',
+  `token` longblob COMMENT 'OAuth2RefreshToken.java对象序列化后的二进制数据 ',
+  `authentication` longblob COMMENT 'OAuth2Authentication.java对象序列化后的二进制数据'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='更新令牌';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `oauth_user_oauth_app`
+--
+
+DROP TABLE IF EXISTS `oauth_user_oauth_app`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `oauth_user_oauth_app` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `user_id` bigint(20) NOT NULL,
+  `app_name` varchar(255) NOT NULL,
+  `home_url` varchar(255) NOT NULL,
+  `client_id` varchar(255) NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user_account`
+--
+
+DROP TABLE IF EXISTS `user_account`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_account` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `user_id` bigint(20) NOT NULL COMMENT '用户 ID, 全局唯一',
+  `account_type` tinyint(11) NOT NULL COMMENT '帐号类型, AccountType 枚举类',
+  `username` varchar(255) NOT NULL COMMENT '用户名, 全局唯一',
+  `mobile` varchar(13) DEFAULT NULL COMMENT '手机号, 全局唯一',
+  `email` varchar(255) DEFAULT NULL COMMENT '邮箱, 全局唯一',
+  `encoded_password` varchar(255) DEFAULT NULL,
+  `salt` varchar(255) DEFAULT NULL,
+  `create_at` datetime(6) NOT NULL COMMENT '帐号创建时间',
+  `role` varchar(255) DEFAULT NULL,
+  `enabled` bit(1) NOT NULL COMMENT 'spring-security 字段',
+  `locked` bit(1) NOT NULL COMMENT 'spring-security 字段',
+  `screen_name` varchar(255) DEFAULT NULL,
+  `avatar_url` varchar(255) DEFAULT NULL,
+  `notify` bit(1) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `user_id` (`user_id`) USING BTREE,
+  UNIQUE KEY `username` (`username`) USING BTREE,
+  UNIQUE KEY `email` (`email`) USING BTREE,
+  UNIQUE KEY `mobile` (`mobile`) USING BTREE,
+  UNIQUE KEY `index_screen_name` (`screen_name`),
+  KEY `account_type` (`account_type`)
+) ENGINE=InnoDB AUTO_INCREMENT=2057872 DEFAULT CHARSET=utf8mb4 COMMENT='用户帐号';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user_contact`
+--
+
+DROP TABLE IF EXISTS `user_contact`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_contact` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `friend_id` bigint(20) NOT NULL,
+  `remark_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '备注名',
+  `status` int(10) NOT NULL COMMENT '关系状态',
+  `owner` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`),
+  KEY `user_id` (`owner`) USING BTREE,
+  KEY `friend_id` (`friend_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='联系人';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user_contact_record`
+--
+
+DROP TABLE IF EXISTS `user_contact_record`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_contact_record` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `apply_id` bigint(20) DEFAULT NULL,
+  `apply_user` bigint(20) NOT NULL,
+  `applied_user` bigint(20) NOT NULL,
+  `friend_status` int(10) DEFAULT NULL,
+  `apply_status` int(10) NOT NULL,
+  `remark` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  KEY `user_id` (`apply_user`) USING BTREE,
+  KEY `friend_id` (`applied_user`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='联系人申请记录';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user_message`
+--
+
+DROP TABLE IF EXISTS `user_message`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_message` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `msg_type` int(11) DEFAULT NULL,
+  `message_id` bigint(20) NOT NULL,
+  `title` varchar(255) NOT NULL,
+  `content` varchar(255) NOT NULL,
+  `unread` bit(1) NOT NULL,
+  `user_id` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COMMENT='用户消息';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user_profile`
+--
+
+DROP TABLE IF EXISTS `user_profile`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_profile` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `user_id` bigint(20) NOT NULL,
+  `gender` varchar(255) NOT NULL,
+  `signature` varchar(255) DEFAULT NULL COMMENT '用户自我介绍',
+  `following` int(11) NOT NULL,
+  `follower` int(11) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `user_id` (`user_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=263920 DEFAULT CHARSET=utf8mb4 COMMENT='用户信息';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user_registry`
+--
+
+DROP TABLE IF EXISTS `user_registry`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_registry` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `enabled` bit(1) NOT NULL COMMENT '是否开放注册',
+  `rule` varchar(255) NOT NULL COMMENT '开放注册规则',
+  `captcha_code` varchar(255) NOT NULL,
+  `verify_code` varchar(255) NOT NULL,
+  `enable_code` bit(1) NOT NULL,
+  `domain` varchar(255) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `user_id` (`enabled`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='帐号开放注册规则';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user_relation`
+--
+
+DROP TABLE IF EXISTS `user_relation`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_relation` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL ON UPDATE CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL ON UPDATE CURRENT_TIMESTAMP(6),
+  `user_id` bigint(20) NOT NULL,
+  `following_id` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户关系';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user_vip`
+--
+
+DROP TABLE IF EXISTS `user_vip`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_vip` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `user_id` bigint(20) NOT NULL COMMENT '用户 ID',
+  `expire_at` bigint(20) NOT NULL COMMENT 'VIP 用户过期时间',
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `user_id` (`user_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COMMENT='小会员用户';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user_vip_plan`
+--
+
+DROP TABLE IF EXISTS `user_vip_plan`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_vip_plan` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `plan_id` int(11) NOT NULL,
+  `name` varchar(255) NOT NULL,
+  `price` double NOT NULL,
+  `duration` int(11) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `owner` (`plan_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COMMENT='小会员计划';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user_wallet_bill`
+--
+
+DROP TABLE IF EXISTS `user_wallet_bill`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_wallet_bill` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `type` int(11) NOT NULL COMMENT '1 - 收入, 2 - 支出',
+  `quantity` double NOT NULL,
+  `create_at` datetime(6) NOT NULL,
+  `owner` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COMMENT='用户钱包账单';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user_wallet_charge`
+--
+
+DROP TABLE IF EXISTS `user_wallet_charge`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_wallet_charge` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `charge_id` bigint(20) NOT NULL,
+  `quantity` double NOT NULL,
+  `owner` bigint(20) NOT NULL,
+  `status` int(11) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `owner` (`charge_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COMMENT='用户钱包充值';
+/*!40101 SET character_set_client = @saved_cs_client */;
+/*!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 2024-12-15 22:47:20

+ 1039 - 0
zzz/schema/tnb_content_tdb.sql

@@ -0,0 +1,1039 @@
+-- MySQL dump 10.13  Distrib 5.7.42, for Linux (x86_64)
+--
+-- Host: 192.168.0.210    Database: tnb_content_tdb
+-- ------------------------------------------------------
+-- Server version	5.7.36
+
+/*!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 utf8 */;
+/*!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 */;
+
+--
+-- Table structure for table `audio_file`
+--
+
+DROP TABLE IF EXISTS `audio_file`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `audio_file` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `audio_file_id` varchar(255) NOT NULL,
+  `object_id` varchar(255) NOT NULL,
+  `duration` int(11) NOT NULL,
+  `codec` varchar(255) NOT NULL,
+  `bit_rate` bigint(20) NOT NULL,
+  `url` varchar(255) NOT NULL,
+  PRIMARY KEY (`id`),
+  KEY `object_id` (`object_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=537 DEFAULT CHARSET=utf8mb4 COMMENT='音频文件';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `audio_post`
+--
+
+DROP TABLE IF EXISTS `audio_post`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `audio_post` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `audio_id` varchar(255) NOT NULL,
+  `audio_file_id` varchar(255) NOT NULL,
+  `audio_url` varchar(255) NOT NULL,
+  `codec` varchar(255) DEFAULT NULL,
+  `title` varchar(255) NOT NULL,
+  `duration` int(11) NOT NULL,
+  `scope` int(11) NOT NULL,
+  `publish_at` datetime NOT NULL,
+  `publish_by` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `UK_rfuvf3osnlaakifjdao0a8e2x` (`audio_id`) USING BTREE,
+  KEY `file_id` (`audio_file_id`) USING BTREE,
+  KEY `user_id` (`publish_by`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=465 DEFAULT CHARSET=utf8mb4 COMMENT='音频稿件';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `chat_chat_dialog`
+--
+
+DROP TABLE IF EXISTS `chat_chat_dialog`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `chat_chat_dialog` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `chat_id` bigint(20) NOT NULL,
+  `chat_type` int(10) NOT NULL,
+  `user_id` bigint(20) NOT NULL COMMENT '消息发送者',
+  `receiver_id` bigint(20) NOT NULL COMMENT '消息接收者',
+  `disturb` bit(1) NOT NULL COMMENT '对话框是否免打扰',
+  `top` bit(1) NOT NULL COMMENT '对话框是否置顶',
+  `display` bit(1) NOT NULL COMMENT '对话框是否显示',
+  `robot` bit(1) NOT NULL,
+  `unread_num` int(11) NOT NULL,
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='聊天窗口';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `chat_chat_record`
+--
+
+DROP TABLE IF EXISTS `chat_chat_record`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `chat_chat_record` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `record_id` bigint(20) DEFAULT NULL,
+  `chat_id` bigint(20) NOT NULL,
+  `chat_type` int(11) NOT NULL,
+  `sender_id` bigint(20) NOT NULL,
+  `receiver_id` bigint(20) NOT NULL,
+  `msg_type` int(10) NOT NULL,
+  `read` bit(1) NOT NULL,
+  `revoke` bit(1) NOT NULL,
+  PRIMARY KEY (`id`),
+  KEY `sender_id` (`sender_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `chat_code_block_message`
+--
+
+DROP TABLE IF EXISTS `chat_code_block_message`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `chat_code_block_message` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `record_id` bigint(20) NOT NULL,
+  `lang` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
+  `code` text COLLATE utf8mb4_unicode_ci NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `chat_file_message`
+--
+
+DROP TABLE IF EXISTS `chat_file_message`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `chat_file_message` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `file_type` int(11) DEFAULT NULL,
+  `record_id` bigint(20) NOT NULL,
+  `upload_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
+  `url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
+  `filename` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
+  `width` int(11) DEFAULT NULL,
+  `height` int(11) DEFAULT NULL,
+  `channel_id` int(11) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  KEY `sender_id` (`upload_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `chat_hongbao`
+--
+
+DROP TABLE IF EXISTS `chat_hongbao`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `chat_hongbao` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `hongbao_id` bigint(20) NOT NULL,
+  `reciever_type` int(11) NOT NULL,
+  `reciever_id` bigint(20) NOT NULL,
+  `amount` double NOT NULL,
+  `num` int(11) NOT NULL,
+  `remain` int(11) NOT NULL,
+  `remark` varchar(255) NOT NULL,
+  `create_by` bigint(20) NOT NULL,
+  `create_at` datetime NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `UK_rfuvf3osnlaakifjdao0a8e2x` (`hongbao_id`) USING BTREE,
+  KEY `user_id` (`create_by`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='红包';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `chat_hongbao_receiver`
+--
+
+DROP TABLE IF EXISTS `chat_hongbao_receiver`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `chat_hongbao_receiver` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `hongbao_id` bigint(20) NOT NULL,
+  `reciever_id` bigint(20) NOT NULL,
+  `amount` double NOT NULL,
+  `remark` varchar(255) NOT NULL,
+  `create_at` datetime NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `UK_rfuvf3osnlaakifjdao0a8e2x` (`hongbao_id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='红包';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `chat_setting`
+--
+
+DROP TABLE IF EXISTS `chat_setting`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `chat_setting` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `user_id` bigint(20) NOT NULL,
+  `keyboard_event_notify` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
+  `notify_cue_tone` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
+  `theme_bag_img` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
+  `theme_color` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
+  `theme_mode` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `UK_p0dbxwvogoamsrntdo066xlhj` (`user_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `chat_text_message`
+--
+
+DROP TABLE IF EXISTS `chat_text_message`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `chat_text_message` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `record_id` bigint(20) NOT NULL,
+  `content` text COLLATE utf8mb4_unicode_ci NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `file_job_detail`
+--
+
+DROP TABLE IF EXISTS `file_job_detail`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `file_job_detail` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `job_id` bigint(20) NOT NULL,
+  `job_name` varchar(255) NOT NULL,
+  `status` int(11) NOT NULL,
+  `start_at` datetime(6) NOT NULL,
+  `end_at` datetime(6) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `oss_type` (`job_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='任务详情';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `file_store_config`
+--
+
+DROP TABLE IF EXISTS `file_store_config`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `file_store_config` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `oss_type` int(11) NOT NULL,
+  `endpoint` varchar(255) NOT NULL,
+  `access_key_id` varchar(255) NOT NULL,
+  `access_key_secret` varchar(255) NOT NULL,
+  `region` varchar(255) DEFAULT NULL,
+  `bucket_name` varchar(255) DEFAULT NULL,
+  `role_arn` varchar(255) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `oss_type` (`oss_type`)
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='OSS 存储节点配置';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `geo_area`
+--
+
+DROP TABLE IF EXISTS `geo_area`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `geo_area` (
+  `id` int(11) NOT NULL,
+  `pid` int(11) NOT NULL,
+  `deep` int(11) NOT NULL,
+  `name` varchar(250) NOT NULL,
+  `ext_path` varchar(255) NOT NULL,
+  `geo` geometry DEFAULT NULL,
+  `polygon` geometry NOT NULL,
+  `polygon_envelope` geometry DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  SPATIAL KEY `polygon` (`polygon`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `geo_bus_station`
+--
+
+DROP TABLE IF EXISTS `geo_bus_station`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `geo_bus_station` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `lng` bigint(20) NOT NULL,
+  `lat` bigint(20) NOT NULL,
+  `station_name` varchar(255) NOT NULL,
+  `pm` int(11) NOT NULL,
+  `tid` int(11) NOT NULL,
+  `line_name` varchar(255) DEFAULT NULL,
+  `type` int(11) DEFAULT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=19165 DEFAULT CHARSET=utf8mb4;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `geo_camera_photo`
+--
+
+DROP TABLE IF EXISTS `geo_camera_photo`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `geo_camera_photo` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `album_id` bigint(20) NOT NULL,
+  `object_id` varchar(255) NOT NULL,
+  `channel_id` int(11) NOT NULL,
+  `photo_url` varchar(255) NOT NULL,
+  `manufacturer` varchar(255) DEFAULT NULL,
+  `model` varchar(255) DEFAULT NULL,
+  `software` varchar(255) DEFAULT NULL,
+  `shot_at` datetime(6) DEFAULT NULL,
+  `geo` geometry NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `photo_url` (`photo_url`)
+) ENGINE=InnoDB AUTO_INCREMENT=44909 DEFAULT CHARSET=utf8mb4 COMMENT=' 相册中照片的位置';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `geo_earth`
+--
+
+DROP TABLE IF EXISTS `geo_earth`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `geo_earth` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `name` varchar(255) NOT NULL,
+  `template` text NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='GoogleEarth kml 模板';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `geo_item`
+--
+
+DROP TABLE IF EXISTS `geo_item`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `geo_item` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `name` varchar(255) NOT NULL,
+  `total` int(11) NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `geo_job_location`
+--
+
+DROP TABLE IF EXISTS `geo_job_location`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `geo_job_location` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `company_name` varchar(255) NOT NULL,
+  `issue_date` datetime(6) NOT NULL,
+  `job_href` varchar(255) NOT NULL,
+  `job_describe` text NOT NULL,
+  `salary_min` int(11) NOT NULL,
+  `salary_max` int(11) NOT NULL,
+  `salary_str` varchar(255) NOT NULL,
+  `geo` geometry NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=401 DEFAULT CHARSET=utf8mb4 COMMENT='工作位置';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `geo_mall_reply`
+--
+
+DROP TABLE IF EXISTS `geo_mall_reply`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `geo_mall_reply` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `item_type` int(11) NOT NULL COMMENT '商品类型',
+  `item_id` varchar(255) NOT NULL,
+  `reply_id` varchar(255) NOT NULL,
+  `reply_content` text NOT NULL,
+  `append_content` text,
+  `extra` text,
+  `username` varchar(255) NOT NULL,
+  `avatar_url` text NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `reply_id` (`reply_id`),
+  KEY `item_id` (`item_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=113 DEFAULT CHARSET=utf8mb4 COMMENT='天猫商品评论';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `geo_mall_reply_photo`
+--
+
+DROP TABLE IF EXISTS `geo_mall_reply_photo`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `geo_mall_reply_photo` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `reply_id` varchar(255) NOT NULL,
+  `upload_id` varchar(255) NOT NULL,
+  `channel_id` int(11) NOT NULL,
+  `photo_url` varchar(255) NOT NULL,
+  `manufacturer` varchar(255) DEFAULT NULL,
+  `model` varchar(255) DEFAULT NULL,
+  `software` varchar(255) DEFAULT NULL,
+  `shot_at` datetime(6) DEFAULT NULL,
+  `geo` geometry NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `photo_url` (`photo_url`),
+  KEY `reply_id` (`reply_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=281 DEFAULT CHARSET=utf8mb4 COMMENT='天猫商品评论中的照片';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `geo_point`
+--
+
+DROP TABLE IF EXISTS `geo_point`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `geo_point` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `geo` geometry NOT NULL,
+  `create_by` bigint(20) DEFAULT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=91 DEFAULT CHARSET=utf8mb4;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `geo_polygon`
+--
+
+DROP TABLE IF EXISTS `geo_polygon`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `geo_polygon` (
+  `id` int(11) NOT NULL,
+  `pid` int(11) NOT NULL,
+  `deep` int(11) NOT NULL,
+  `name` varchar(255) NOT NULL,
+  `ext_name` varchar(255) DEFAULT NULL,
+  `geo` geometry DEFAULT NULL,
+  `polygon` polygon DEFAULT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `geo_scope`
+--
+
+DROP TABLE IF EXISTS `geo_scope`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `geo_scope` (
+  `id` int(11) NOT NULL,
+  `pid` int(11) NOT NULL,
+  `name` varchar(255) NOT NULL,
+  `lng_east` decimal(10,6) NOT NULL,
+  `lng_west` decimal(10,6) NOT NULL,
+  `lat_north` decimal(10,6) NOT NULL,
+  `lat_south` decimal(10,6) NOT NULL,
+  UNIQUE KEY `id` (`id`),
+  KEY `name` (`name`) USING BTREE,
+  KEY `pid` (`pid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='省市县地理坐标';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `image_file`
+--
+
+DROP TABLE IF EXISTS `image_file`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `image_file` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `album_id` bigint(20) NOT NULL,
+  `channel_code` int(11) DEFAULT NULL,
+  `image_file_id` varchar(255) NOT NULL COMMENT '原始对象的 objectId',
+  `object_id` varchar(255) NOT NULL,
+  `format` varchar(255) NOT NULL,
+  `url` varchar(255) NOT NULL,
+  `width` int(11) NOT NULL,
+  `height` int(11) NOT NULL,
+  `horizontal` bit(1) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `object_id` (`object_id`) USING BTREE,
+  KEY `image_file_id` (`image_file_id`),
+  KEY `url` (`url`),
+  KEY `album_id` (`album_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=9505274 DEFAULT CHARSET=utf8mb4 COMMENT='图片文件';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `image_post`
+--
+
+DROP TABLE IF EXISTS `image_post`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `image_post` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `album_id` bigint(20) NOT NULL,
+  `album_name` varchar(255) NOT NULL,
+  `channel_id` int(11) DEFAULT NULL,
+  `cover_url` varchar(255) NOT NULL,
+  `total` int(11) NOT NULL,
+  `scope` int(11) NOT NULL,
+  `created_at` datetime(6) NOT NULL,
+  `user_id` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `UK_rfuvf3osnlaakifjdao0a8e2x` (`album_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=17923 DEFAULT CHARSET=utf8mb4 COMMENT='相册';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mall_delivery`
+--
+
+DROP TABLE IF EXISTS `mall_delivery`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mall_delivery` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `delivery_id` bigint(20) NOT NULL,
+  `address` varchar(2048) NOT NULL,
+  `owner` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='收货地址';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mall_logistics`
+--
+
+DROP TABLE IF EXISTS `mall_logistics`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mall_logistics` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `order_id` bigint(20) NOT NULL,
+  `tpl` varchar(2048) NOT NULL COMMENT 'third party logistics',
+  `logistics_id` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='订单物流';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mall_logistics_progress`
+--
+
+DROP TABLE IF EXISTS `mall_logistics_progress`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mall_logistics_progress` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `logistics_id` bigint(20) NOT NULL,
+  `status` varchar(255) DEFAULT NULL,
+  `current` varchar(255) NOT NULL,
+  `create_at` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `location` geometry DEFAULT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='订单物流进度';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mall_order`
+--
+
+DROP TABLE IF EXISTS `mall_order`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mall_order` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `order_id` bigint(20) NOT NULL,
+  `product_id` bigint(20) NOT NULL,
+  `delivery_id` bigint(20) NOT NULL,
+  `price` double NOT NULL,
+  `amount` int(11) NOT NULL,
+  `owner` bigint(20) NOT NULL,
+  `status` int(11) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `order_id` (`order_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户订单';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mall_product`
+--
+
+DROP TABLE IF EXISTS `mall_product`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mall_product` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `item_id` bigint(20) NOT NULL COMMENT '商品类型',
+  `item_url` varchar(255) NOT NULL,
+  `title` varchar(255) NOT NULL,
+  `pic_url` varchar(255) NOT NULL,
+  `price` double NOT NULL,
+  `month_sale` varchar(255) DEFAULT NULL,
+  `stock` int(11) DEFAULT NULL,
+  `shop_id` bigint(20) DEFAULT NULL,
+  `seller_id` bigint(20) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `item_id` (`item_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=61 DEFAULT CHARSET=utf8mb4 COMMENT='淘宝商品';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `mall_product_snapshot`
+--
+
+DROP TABLE IF EXISTS `mall_product_snapshot`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mall_product_snapshot` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `order_id` bigint(20) NOT NULL,
+  `item_id` bigint(20) NOT NULL COMMENT '商品类型',
+  `title` varchar(255) NOT NULL,
+  `pic_url` varchar(255) NOT NULL,
+  `price` double NOT NULL,
+  `amount` int(11) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `order_id` (`order_id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='订单商品快照';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_play_record`
+--
+
+DROP TABLE IF EXISTS `vod_play_record`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_play_record` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `video_id` varchar(255) NOT NULL,
+  `user_id` bigint(20) NOT NULL,
+  `current_time` double NOT NULL,
+  `create_at` bigint(20) DEFAULT NULL,
+  `ended` bit(1) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  KEY `user_id` (`user_id`),
+  KEY `video_id` (`video_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=21468 DEFAULT CHARSET=utf8mb4 COMMENT='视频播放记录';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_post_album`
+--
+
+DROP TABLE IF EXISTS `vod_post_album`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_post_album` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `album_id` bigint(20) NOT NULL,
+  `album_name` varchar(255) NOT NULL,
+  `cover_url` varchar(255) DEFAULT NULL,
+  `post_type` int(11) NOT NULL,
+  `total` int(11) DEFAULT NULL,
+  `scope` int(11) DEFAULT NULL,
+  `create_by` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `favlist_id` (`album_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COMMENT='用户收藏夹';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_post_item`
+--
+
+DROP TABLE IF EXISTS `vod_post_item`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_post_item` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `album_id` bigint(20) NOT NULL,
+  `post_id` varchar(255) NOT NULL,
+  `pos` int(11) DEFAULT NULL,
+  `added_at` datetime(6) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `favlist_id` (`album_id`,`post_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=4501 DEFAULT CHARSET=utf8mb4 COMMENT='用户收藏夹的内容';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_search_record`
+--
+
+DROP TABLE IF EXISTS `vod_search_record`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_search_record` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `user_id` int(11) NOT NULL,
+  `keyword` varchar(255) NOT NULL,
+  PRIMARY KEY (`id`),
+  KEY `user_id` (`user_id`),
+  KEY `keyword` (`keyword`)
+) ENGINE=InnoDB AUTO_INCREMENT=461 DEFAULT CHARSET=utf8mb4 COMMENT='搜索记录';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_site_notice`
+--
+
+DROP TABLE IF EXISTS `vod_site_notice`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_site_notice` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `content` text NOT NULL,
+  `create_by` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='站点公告';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_video_category`
+--
+
+DROP TABLE IF EXISTS `vod_video_category`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_video_category` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6),
+  `pid` int(11) NOT NULL COMMENT '分区级别【1 一级分区, 2 二级分区】',
+  `region_id` int(11) DEFAULT NULL COMMENT 'bilibili region id',
+  `name` varchar(255) NOT NULL COMMENT '分区名',
+  `icon` varchar(255) DEFAULT NULL COMMENT '前端图标',
+  `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
+  `desc` varchar(255) DEFAULT NULL,
+  PRIMARY KEY (`id`) USING BTREE,
+  KEY `name` (`name`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=137 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='视频分类';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_video_category_post`
+--
+
+DROP TABLE IF EXISTS `vod_video_category_post`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_video_category_post` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `video_id` varchar(255) CHARACTER SET utf8mb4 NOT NULL,
+  `video_file_id` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
+  `channel_id` int(11) DEFAULT NULL,
+  `title` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
+  `description` text CHARACTER SET utf8mb4,
+  `category_pid` int(11) NOT NULL,
+  `category_id` int(11) NOT NULL,
+  `duration` int(11) DEFAULT NULL,
+  `quality` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
+  `codec` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
+  `horizontal` bit(1) DEFAULT NULL,
+  `cover_url` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
+  `scope` int(11) NOT NULL COMMENT '视频可见范围',
+  `status` int(11) DEFAULT NULL COMMENT '视频贴状态',
+  `publish_at` datetime NOT NULL,
+  `publish_by` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `UK_rfuvf3osnlaakifjdao0a8e2x` (`category_id`,`publish_by`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=171212 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='视频分区稿件';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_video_error`
+--
+
+DROP TABLE IF EXISTS `vod_video_error`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_video_error` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL,
+  `create_time` datetime(6) NOT NULL,
+  `update_time` datetime(6) NOT NULL,
+  `video_id` varchar(255) NOT NULL,
+  `error_code` int(11) NOT NULL,
+  `error_info` varchar(255) NOT NULL,
+  `solved` bit(1) NOT NULL,
+  PRIMARY KEY (`id`) USING BTREE,
+  KEY `name` (`video_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=191 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='视频稿件错误';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_video_file`
+--
+
+DROP TABLE IF EXISTS `vod_video_file`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_video_file` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `video_file_id` varchar(255) NOT NULL,
+  `object_id` varchar(255) NOT NULL,
+  `video_codec` varchar(255) DEFAULT NULL,
+  `vbit_rate` bigint(20) NOT NULL,
+  `audio_codec` varchar(255) DEFAULT NULL,
+  `abit_rate` bigint(20) NOT NULL,
+  `url_type` varchar(255) NOT NULL,
+  `url` varchar(255) NOT NULL,
+  `format` varchar(255) DEFAULT NULL,
+  `format_name` varchar(255) DEFAULT NULL,
+  `quality` varchar(255) NOT NULL,
+  `width` int(11) NOT NULL,
+  `height` int(11) NOT NULL,
+  `horizontal` bit(1) NOT NULL,
+  `duration` int(11) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `object_id` (`object_id`) USING BTREE,
+  KEY `video_file_id` (`video_file_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=698558 DEFAULT CHARSET=utf8mb4 COMMENT='视频文件';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_video_post`
+--
+
+DROP TABLE IF EXISTS `vod_video_post`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_video_post` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `video_id` varchar(255) CHARACTER SET utf8mb4 NOT NULL,
+  `video_file_id` varchar(255) CHARACTER SET utf8mb4 NOT NULL,
+  `channel_id` int(11) DEFAULT NULL,
+  `title` varchar(255) CHARACTER SET utf8mb4 NOT NULL,
+  `description` text CHARACTER SET utf8mb4,
+  `category_pid` int(11) NOT NULL,
+  `category_id` int(11) NOT NULL,
+  `duration` int(11) NOT NULL,
+  `quality` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
+  `codec` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
+  `horizontal` bit(1) NOT NULL,
+  `cover_url` varchar(255) CHARACTER SET utf8mb4 NOT NULL,
+  `scope` int(11) NOT NULL COMMENT '视频可见范围',
+  `status` int(11) NOT NULL COMMENT '视频贴状态',
+  `publish_at` datetime NOT NULL,
+  `publish_by` bigint(20) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `UK_rfuvf3osnlaakifjdao0a8e2x` (`video_id`) USING BTREE,
+  UNIQUE KEY `video_file_id` (`video_file_id`) USING BTREE,
+  KEY `user_id` (`publish_by`) USING BTREE,
+  KEY `status` (`status`),
+  KEY `scope` (`scope`),
+  KEY `category_pid` (`category_pid`),
+  KEY `category_id` (`category_id`),
+  KEY `duration` (`duration`),
+  KEY `pub_date` (`publish_at`),
+  KEY `query_max` (`category_pid`,`category_id`,`scope`,`status`) USING BTREE,
+  FULLTEXT KEY `index_title` (`title`) /*!50100 WITH PARSER `ngram` */ 
+) ENGINE=InnoDB AUTO_INCREMENT=3043505 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='视频稿件';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_video_statistic`
+--
+
+DROP TABLE IF EXISTS `vod_video_statistic`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_video_statistic` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `video_id` varchar(255) NOT NULL,
+  `view` int(11) NOT NULL,
+  `danmaku` int(11) NOT NULL,
+  `comment` int(11) NOT NULL,
+  `favorite` int(11) NOT NULL,
+  `share` int(11) NOT NULL,
+  `thumb_up` int(11) NOT NULL,
+  `thumb_down` int(11) NOT NULL,
+  `coin` int(11) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `UK_rfuvf3osnlaakifjdao0a8e2x` (`video_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=3027544 DEFAULT CHARSET=utf8mb4 COMMENT='视频稿件数据';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_video_tag`
+--
+
+DROP TABLE IF EXISTS `vod_video_tag`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_video_tag` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `tag_id` varchar(255) NOT NULL,
+  `tag_name` varchar(255) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `name` (`tag_name`),
+  UNIQUE KEY `tag_id` (`tag_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=1102652 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='视频标签';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `vod_video_tags`
+--
+
+DROP TABLE IF EXISTS `vod_video_tags`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `vod_video_tags` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `video_id` varchar(255) NOT NULL,
+  `tag_id` varchar(255) NOT NULL,
+  PRIMARY KEY (`id`),
+  KEY `tag_id` (`tag_id`),
+  KEY `video_id` (`video_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=29207972 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='视频稿件包含的标签';
+/*!40101 SET character_set_client = @saved_cs_client */;
+/*!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 2024-12-15 22:47:21

+ 60 - 0
zzz/schema/user_registry.sql

@@ -0,0 +1,60 @@
+-- MySQL dump 10.13  Distrib 5.7.42, for Linux (x86_64)
+--
+-- Host: 192.168.0.210    Database: tnb_account_tdb
+-- ------------------------------------------------------
+-- Server version	5.7.36
+
+/*!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 utf8 */;
+/*!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 */;
+
+--
+-- Table structure for table `user_registry`
+--
+
+DROP TABLE IF EXISTS `user_registry`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_registry` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `enabled` bit(1) NOT NULL COMMENT '是否开放注册',
+  `rule` varchar(255) NOT NULL COMMENT '开放注册规则',
+  `captcha_code` varchar(255) NOT NULL,
+  `verify_code` varchar(255) NOT NULL,
+  `enable_code` bit(1) NOT NULL,
+  `domain` varchar(255) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `user_id` (`enabled`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='帐号开放注册规则';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `user_registry`
+--
+
+LOCK TABLES `user_registry` WRITE;
+/*!40000 ALTER TABLE `user_registry` DISABLE KEYS */;
+INSERT INTO `user_registry` VALUES (1,_binary '\0','2024-11-01 11:20:14.512622','2024-11-01 11:20:14.512622',_binary '','*','ab8il','220233',_binary '\0','api.reghao.cn');
+/*!40000 ALTER TABLE `user_registry` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!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 2024-12-15 22:47:21

+ 58 - 0
zzz/schema/user_vip_plan.sql

@@ -0,0 +1,58 @@
+-- MySQL dump 10.13  Distrib 5.7.42, for Linux (x86_64)
+--
+-- Host: 192.168.0.210    Database: tnb_account_tdb
+-- ------------------------------------------------------
+-- Server version	5.7.36
+
+/*!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 utf8 */;
+/*!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 */;
+
+--
+-- Table structure for table `user_vip_plan`
+--
+
+DROP TABLE IF EXISTS `user_vip_plan`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_vip_plan` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `plan_id` int(11) NOT NULL,
+  `name` varchar(255) NOT NULL,
+  `price` double NOT NULL,
+  `duration` int(11) NOT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `owner` (`plan_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COMMENT='小会员计划';
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `user_vip_plan`
+--
+
+LOCK TABLES `user_vip_plan` WRITE;
+/*!40000 ALTER TABLE `user_vip_plan` DISABLE KEYS */;
+INSERT INTO `user_vip_plan` VALUES (1,_binary '\0','2024-07-06 16:44:39.534750','2024-07-06 16:44:39.534750',1,'月度会员',9.9,30),(3,_binary '\0','2024-07-06 16:48:17.682984','2024-07-06 16:48:17.682984',2,'季度会员',28.9,90),(4,_binary '\0','2024-07-06 16:48:26.567033','2024-07-06 16:48:26.567033',3,'年度会员',99.9,365);
+/*!40000 ALTER TABLE `user_vip_plan` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!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 2024-12-15 22:47:21

+ 170 - 0
zzz/schema/vod_video_category.sql

@@ -0,0 +1,170 @@
+/*
+ Navicat Premium Data Transfer
+
+ Source Server         : localhost-mysql
+ Source Server Type    : MySQL
+ Source Server Version : 50732
+ Source Host           : 127.0.0.1:3306
+ Source Schema         : tnb_content_rdb
+
+ Target Server Type    : MySQL
+ Target Server Version : 50732
+ File Encoding         : 65001
+
+ Date: 18/12/2024 09:34:47
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for vod_video_category
+-- ----------------------------
+DROP TABLE IF EXISTS `vod_video_category`;
+CREATE TABLE `vod_video_category` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `deleted` bit(1) NOT NULL DEFAULT b'0',
+  `create_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
+  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6),
+  `pid` int(11) NOT NULL COMMENT '分区级别【1 一级分区, 2 二级分区】',
+  `region_id` int(11) DEFAULT NULL COMMENT 'bilibili region id',
+  `name` varchar(255) NOT NULL COMMENT '分区名',
+  `icon` varchar(255) DEFAULT NULL COMMENT '前端图标',
+  `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
+  `desc` varchar(255) DEFAULT NULL,
+  PRIMARY KEY (`id`) USING BTREE,
+  KEY `name` (`name`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=137 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='视频分类';
+
+-- ----------------------------
+-- Records of vod_video_category
+-- ----------------------------
+BEGIN;
+INSERT INTO `vod_video_category` VALUES (1, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:51.735836', 0, 0, '资讯', NULL, 5, NULL);
+INSERT INTO `vod_video_category` VALUES (2, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 1, 205, '社会', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (3, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:52:02.676209', 0, 0, '大杂烩', NULL, 1, NULL);
+INSERT INTO `vod_video_category` VALUES (4, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:52:22.616170', 3, 0, 'B站', 'el-icon-lollipop', 1, NULL);
+INSERT INTO `vod_video_category` VALUES (5, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 23:00:35.220360', 3, 0, '擦边', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (6, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 23:34:19.301846', 3, 0, '美女', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (7, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:50.403026', 0, 0, '舞蹈', NULL, 6, NULL);
+INSERT INTO `vod_video_category` VALUES (9, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 7, 20, '宅舞', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (10, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 7, 198, '街舞', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (11, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:52.780109', 0, 0, '18+', NULL, 2, NULL);
+INSERT INTO `vod_video_category` VALUES (12, b'0', '2021-12-05 04:13:55.948304', '2024-12-18 09:34:04.846004', 11, 0, '个人风采', 'el-icon-lollipop', 1, NULL);
+INSERT INTO `vod_video_category` VALUES (13, b'0', '2021-12-05 04:13:55.948304', '2024-12-18 09:34:04.851342', 11, 0, '黑暗之眼', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (14, b'0', '2021-12-05 04:13:55.948304', '2024-12-18 09:34:04.853990', 11, 0, '苍天可见', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (15, b'0', '2021-12-05 04:13:55.948304', '2024-12-18 09:34:04.855791', 11, 0, '寻花问柳', 'el-icon-lollipop', 7, NULL);
+INSERT INTO `vod_video_category` VALUES (16, b'0', '2021-12-05 04:13:55.948304', '2024-12-18 09:34:04.858568', 11, 0, '赛博青楼', 'el-icon-lollipop', 9, NULL);
+INSERT INTO `vod_video_category` VALUES (17, b'0', '2021-12-05 04:13:55.948304', '2024-12-18 09:34:04.860981', 11, 0, '情节精彩', 'el-icon-lollipop', 11, NULL);
+INSERT INTO `vod_video_category` VALUES (18, b'0', '2021-12-05 04:13:55.948304', '2024-12-18 09:34:04.863525', 11, 0, '异域风情', 'el-icon-lollipop', 12, NULL);
+INSERT INTO `vod_video_category` VALUES (20, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 1, 203, '热点', 'el-icon-lollipop', 1, NULL);
+INSERT INTO `vod_video_category` VALUES (21, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:47.784569', 0, 0, '科技', NULL, 8, NULL);
+INSERT INTO `vod_video_category` VALUES (22, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 1, 204, '环球', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (23, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:34.655391', 0, 0, '音乐', NULL, 17, NULL);
+INSERT INTO `vod_video_category` VALUES (24, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:45.419394', 0, 0, '生活', NULL, 10, NULL);
+INSERT INTO `vod_video_category` VALUES (25, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:33.347059', 0, 0, '汽车', NULL, 18, NULL);
+INSERT INTO `vod_video_category` VALUES (26, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:46.628065', 0, 0, '知识', NULL, 9, NULL);
+INSERT INTO `vod_video_category` VALUES (28, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 24, 138, '搞笑', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (29, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 24, 254, '亲子', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (31, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 26, 201, '科学科普', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (33, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 23, 31, '翻唱', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (34, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 23, 59, '演奏', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (36, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 25, 245, '赛车', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (37, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 25, 247, '新能源车', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (39, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:41.995766', 0, 0, '运动', NULL, 13, NULL);
+INSERT INTO `vod_video_category` VALUES (40, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:43.048666', 0, 0, '时尚', NULL, 12, NULL);
+INSERT INTO `vod_video_category` VALUES (41, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 1, 206, '综合', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (42, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 26, 228, '人文历史', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (43, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 26, 207, '财经商业', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (44, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 26, 209, '职业职场', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (45, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 26, 229, '设计创意', 'el-icon-lollipop', 6, NULL);
+INSERT INTO `vod_video_category` VALUES (46, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 26, 122, '野生技能协会', 'el-icon-lollipop', 7, NULL);
+INSERT INTO `vod_video_category` VALUES (47, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 23, 29, '音乐现场', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (48, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 23, 30, 'VOCAL', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (49, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 23, 193, 'MV', 'el-icon-lollipop', 6, NULL);
+INSERT INTO `vod_video_category` VALUES (50, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 7, 200, '国风舞蹈', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (51, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 7, 199, '明星舞蹈', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (52, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 7, 255, '手势网红舞', 'el-icon-lollipop', 6, NULL);
+INSERT INTO `vod_video_category` VALUES (53, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 7, 154, '舞蹈综合', 'el-icon-lollipop', 7, NULL);
+INSERT INTO `vod_video_category` VALUES (54, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 7, 156, '舞蹈教程', 'el-icon-lollipop', 8, NULL);
+INSERT INTO `vod_video_category` VALUES (55, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 25, 248, '房车', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (56, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 25, 240, '摩托车', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (57, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 25, 246, '改装玩车', 'el-icon-lollipop', 6, NULL);
+INSERT INTO `vod_video_category` VALUES (58, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 25, 227, '购车攻略', 'el-icon-lollipop', 7, NULL);
+INSERT INTO `vod_video_category` VALUES (59, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 25, 176, '汽车生活', 'el-icon-lollipop', 8, NULL);
+INSERT INTO `vod_video_category` VALUES (60, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 24, 250, '出行', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (61, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 24, 251, '三农', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (62, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 24, 239, '家居房产', 'el-icon-lollipop', 6, NULL);
+INSERT INTO `vod_video_category` VALUES (63, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 24, 161, '手工', 'el-icon-lollipop', 7, NULL);
+INSERT INTO `vod_video_category` VALUES (64, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 24, 162, '绘画', 'el-icon-lollipop', 8, NULL);
+INSERT INTO `vod_video_category` VALUES (65, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 24, 21, '日常', 'el-icon-lollipop', 9, NULL);
+INSERT INTO `vod_video_category` VALUES (66, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 21, 95, '数码', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (67, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 21, 230, '软件应用', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (68, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 21, 231, '计算机技术', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (69, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 21, 232, '科工机械', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (70, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 21, 233, '极客DIY', 'el-icon-lollipop', 6, NULL);
+INSERT INTO `vod_video_category` VALUES (72, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 39, 235, '篮球', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (73, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 39, 249, '足球', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (74, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 39, 164, '健身', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (75, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 39, 236, '竞技体育', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (76, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 39, 237, '运动文化', 'el-icon-lollipop', 6, NULL);
+INSERT INTO `vod_video_category` VALUES (77, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 39, 238, '运动综合', 'el-icon-lollipop', 7, NULL);
+INSERT INTO `vod_video_category` VALUES (79, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 40, 157, '美妆护肤', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (80, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 40, 252, '仿妆cos', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (81, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 40, 158, '穿搭', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (82, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 40, 159, '时尚潮流', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (83, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:48.996545', 0, 0, '动物圈', NULL, 7, NULL);
+INSERT INTO `vod_video_category` VALUES (84, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:30.627827', 0, 0, '影视', NULL, 20, NULL);
+INSERT INTO `vod_video_category` VALUES (85, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:40.475739', 0, 0, '动画', NULL, 14, NULL);
+INSERT INTO `vod_video_category` VALUES (86, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:38.779866', 0, 0, '娱乐', NULL, 15, NULL);
+INSERT INTO `vod_video_category` VALUES (87, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:36.031463', 0, 0, '鬼畜', NULL, 16, NULL);
+INSERT INTO `vod_video_category` VALUES (88, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:32.039168', 0, 0, '游戏', NULL, 19, NULL);
+INSERT INTO `vod_video_category` VALUES (89, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 83, 218, '喵星人', 'el-icon-lollipop', 1, NULL);
+INSERT INTO `vod_video_category` VALUES (90, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 83, 219, '汪星人', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (91, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 83, 222, '小宠异宠', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (92, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 83, 221, '野生动物', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (93, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 83, 75, '动物综合', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (94, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 84, 183, '影视剪辑', 'el-icon-lollipop', 1, NULL);
+INSERT INTO `vod_video_category` VALUES (95, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 84, 256, '短片', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (96, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 85, 253, '动漫杂谈', 'el-icon-lollipop', 1, NULL);
+INSERT INTO `vod_video_category` VALUES (97, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 85, 210, '手办模玩', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (98, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 85, 24, 'MAD.AMV', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (99, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 85, 25, 'MMD.3D', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (100, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 85, 27, '综合', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (101, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 85, 86, '特摄', 'el-icon-lollipop', 6, NULL);
+INSERT INTO `vod_video_category` VALUES (102, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 85, 257, '配音', 'el-icon-lollipop', 7, NULL);
+INSERT INTO `vod_video_category` VALUES (103, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 86, 137, '明星综合', 'el-icon-lollipop', 1, NULL);
+INSERT INTO `vod_video_category` VALUES (104, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 86, 241, '娱乐杂谈', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (105, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 86, 242, '粉丝创作', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (106, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 86, 71, '综艺', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (107, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 88, 173, '桌游棋牌', 'el-icon-lollipop', 1, NULL);
+INSERT INTO `vod_video_category` VALUES (108, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 88, 171, '电子竞技', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (109, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 88, 121, 'GMV', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (110, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 88, 172, '手机游戏', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (111, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 88, 19, 'Mugen', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (112, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 88, 136, '音游', 'el-icon-lollipop', 6, NULL);
+INSERT INTO `vod_video_category` VALUES (113, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 88, 65, '网络游戏', 'el-icon-lollipop', 7, NULL);
+INSERT INTO `vod_video_category` VALUES (114, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 88, 17, '单机游戏', 'el-icon-lollipop', 8, NULL);
+INSERT INTO `vod_video_category` VALUES (115, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 87, 127, '教程演示', 'el-icon-lollipop', 1, NULL);
+INSERT INTO `vod_video_category` VALUES (116, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 87, 22, '鬼畜调教', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (117, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 87, 26, '音MAD', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (118, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 87, 126, '人力VOCALOID', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (119, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 87, 216, '鬼畜剧场', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (120, b'0', '2021-12-05 04:13:55.948304', '2023-12-05 22:51:44.115458', 0, 0, '美食', NULL, 11, NULL);
+INSERT INTO `vod_video_category` VALUES (121, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 120, 212, '美食侦探', 'el-icon-lollipop', 1, NULL);
+INSERT INTO `vod_video_category` VALUES (122, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 120, 76, '美食制作', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (123, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 120, 213, '美食测评', 'el-icon-lollipop', 3, NULL);
+INSERT INTO `vod_video_category` VALUES (124, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 120, 215, '美食记录', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (125, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 120, 214, '田园美食', 'el-icon-lollipop', 5, NULL);
+INSERT INTO `vod_video_category` VALUES (126, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 26, 124, '社科法律心理', 'el-icon-lollipop', 8, NULL);
+INSERT INTO `vod_video_category` VALUES (127, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 26, 208, '校园学习', 'el-icon-lollipop', 9, NULL);
+INSERT INTO `vod_video_category` VALUES (128, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 23, 28, '原创音乐', 'el-icon-lollipop', 6, NULL);
+INSERT INTO `vod_video_category` VALUES (129, b'0', '2021-12-05 04:13:55.948304', '2021-12-05 04:13:55.948304', 23, 130, '音乐综合', 'el-icon-lollipop', 6, NULL);
+INSERT INTO `vod_video_category` VALUES (130, b'0', '2023-11-19 03:52:18.182625', '2024-12-18 09:34:27.143495', 11, 0, '91porn', 'el-icon-lollipop', 15, NULL);
+INSERT INTO `vod_video_category` VALUES (133, b'0', '2023-12-04 21:42:53.204444', '2024-12-18 09:34:27.147643', 11, 0, '海角社区', 'el-icon-lollipop', 21, NULL);
+INSERT INTO `vod_video_category` VALUES (134, b'0', '2023-12-05 21:16:05.441348', '2024-12-18 09:34:27.150225', 11, 0, '生活所迫', 'el-icon-lollipop', 2, NULL);
+INSERT INTO `vod_video_category` VALUES (135, b'0', '2023-12-09 00:59:49.709481', '2023-12-09 01:00:08.278946', 3, 0, '杂', 'el-icon-lollipop', 4, NULL);
+INSERT INTO `vod_video_category` VALUES (136, b'0', '2023-12-10 15:40:10.137171', '2024-12-18 09:34:27.151784', 11, 0, '未分类', 'el-icon-lollipop', 99, NULL);
+COMMIT;
+
+SET FOREIGN_KEY_CHECKS = 1;

+ 0 - 0
zzz/tnb_account_init.sql


+ 0 - 0
zzz/tnb_content_init.sql