/*
 Navicat Premium Dump SQL

 Source Server         : usa-aitalk
 Source Server Type    : MySQL
 Source Server Version : 80024 (8.0.24)
 Source Host           : 38.12.32.11:3306
 Source Schema         : aitalk

 Target Server Type    : MySQL
 Target Server Version : 80024 (8.0.24)
 File Encoding         : 65001

 Date: 09/02/2026 11:52:15
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for gen_table
-- ----------------------------
DROP TABLE IF EXISTS `gen_table`;
CREATE TABLE `gen_table`  (
  `table_id` bigint NOT NULL COMMENT '编号',
  `data_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '数据源名称',
  `table_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '表名称',
  `table_comment` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '表描述',
  `sub_table_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '关联子表的表名',
  `sub_table_fk_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '子表关联的外键名',
  `class_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '实体类名称',
  `tpl_category` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'crud' COMMENT '使用的模板（crud单表操作 tree树表操作）',
  `package_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生成包路径',
  `module_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生成模块名',
  `business_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生成业务名',
  `function_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生成功能名',
  `function_author` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生成功能作者',
  `gen_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '生成代码方式（0zip压缩包 1自定义路径）',
  `gen_path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '/' COMMENT '生成路径（不填默认项目路径）',
  `options` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '其它生成选项',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`table_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '代码生成业务表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of gen_table
-- ----------------------------
INSERT INTO `gen_table` VALUES (2016046209151561729, 'master', 'talk_agent', '客服配置表', NULL, NULL, 'TalkAgent', 'crud', 'org.dromara.system', 'system', 'agent', '客服配置', 'Lion Li', '0', '/', NULL, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47', NULL);
INSERT INTO `gen_table` VALUES (2016046209541632002, 'master', 'talk_session', '对话会话表', NULL, NULL, 'TalkSession', 'crud', 'org.dromara.system', 'system', 'session', '对话会话', 'Lion Li', '0', '/', NULL, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47', NULL);
INSERT INTO `gen_table` VALUES (2016434213435219970, 'master', 'talk_user', '对话用户表', NULL, NULL, 'TalkUser', 'crud', 'org.dromara.system', 'system', 'user', '对话用户', 'Lion Li', '0', '/', NULL, 103, 1, '2026-01-28 16:52:35', 1, '2026-01-28 16:52:35', NULL);
INSERT INTO `gen_table` VALUES (2019651531602673666, 'master', 'whatsapp_history', 'whatsapp对话历史表', NULL, NULL, 'WhatsappHistory', 'crud', 'org.dromara.system', 'system', 'history', 'whatsapp对话历史', 'Lion Li', '0', '/', NULL, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03', NULL);
INSERT INTO `gen_table` VALUES (2019651531925635074, 'master', 'whatsapp_user', 'whatsapp用户表', NULL, NULL, 'WhatsappUser', 'crud', 'org.dromara.system', 'system', 'user', 'whatsapp用户', 'Lion Li', '0', '/', NULL, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03', NULL);

-- ----------------------------
-- Table structure for gen_table_column
-- ----------------------------
DROP TABLE IF EXISTS `gen_table_column`;
CREATE TABLE `gen_table_column`  (
  `column_id` bigint NOT NULL COMMENT '编号',
  `table_id` bigint NULL DEFAULT NULL COMMENT '归属表编号',
  `column_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '列名称',
  `column_comment` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '列描述',
  `column_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '列类型',
  `java_type` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'JAVA类型',
  `java_field` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'JAVA字段名',
  `is_pk` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '是否主键（1是）',
  `is_increment` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '是否自增（1是）',
  `is_required` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '是否必填（1是）',
  `is_insert` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '是否为插入字段（1是）',
  `is_edit` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '是否编辑字段（1是）',
  `is_list` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '是否列表字段（1是）',
  `is_query` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '是否查询字段（1是）',
  `query_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'EQ' COMMENT '查询方式（等于、不等于、大于、小于、范围）',
  `html_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）',
  `dict_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '字典类型',
  `sort` int NULL DEFAULT NULL COMMENT '排序',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`column_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '代码生成业务表字段' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of gen_table_column
-- ----------------------------
INSERT INTO `gen_table_column` VALUES (2016046209411608578, 2016046209151561729, 'id', '客服ID', 'bigint', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, 'EQ', 'input', '', 1, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209411608579, 2016046209151561729, 'tenant_id', '租户编号', 'varchar(20)', 'String', 'tenantId', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 2, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209411608580, 2016046209151561729, 'name', '客服名称', 'varchar(100)', 'String', 'name', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209411608581, 2016046209151561729, 'gender', '性别（0=男 1=女）', 'char(1)', 'String', 'gender', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209411608582, 2016046209151561729, 'avatar_url', '头像URL', 'varchar(255)', 'String', 'avatarUrl', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'input', '', 5, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209411608583, 2016046209151561729, 'description', '客服描述', 'varchar(500)', 'String', 'description', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'textarea', '', 6, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209411608584, 2016046209151561729, 'greeting_message', '欢迎语', 'varchar(500)', 'String', 'greetingMessage', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'textarea', '', 7, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209411608585, 2016046209151561729, 'status', '状态（0=正常 1=停用）', 'char(1)', 'String', 'status', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'radio', '', 8, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209411608586, 2016046209151561729, 'tts_vcn', 'TTS发音人（字典）', 'varchar(50)', 'String', 'ttsVcn', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'input', '', 9, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209474523138, 2016046209151561729, 'tts_speed', 'TTS语速 0-100', 'int', 'Long', 'ttsSpeed', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'input', '', 10, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209474523139, 2016046209151561729, 'tts_pitch', 'TTS音调 0-100', 'int', 'Long', 'ttsPitch', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'input', '', 11, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209474523140, 2016046209151561729, 'tts_volume', 'TTS音量 0-100', 'int', 'Long', 'ttsVolume', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'input', '', 12, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209474523141, 2016046209151561729, 'tts_bgs', 'TTS背景音开关 0=无背景音 1=有背景音', 'int', 'Long', 'ttsBgs', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'input', '', 13, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209474523142, 2016046209151561729, 'language', 'AI回复语言（字典）', 'varchar(20)', 'String', 'language', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'input', '', 14, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209474523143, 2016046209151561729, 'del_flag', '删除标志（0=存在 1=删除）', 'char(1)', 'String', 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 15, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209474523144, 2016046209151561729, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 16, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209474523145, 2016046209151561729, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 17, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209474523146, 2016046209151561729, 'create_dept', '创建部门', 'bigint', 'Long', 'createDept', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 18, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209474523147, 2016046209151561729, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 19, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209474523148, 2016046209151561729, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 20, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655426, 2016046209541632002, 'id', '会话ID', 'bigint', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, 'EQ', 'input', '', 1, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655427, 2016046209541632002, 'tenant_id', '租户编号', 'varchar(20)', 'String', 'tenantId', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 2, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655428, 2016046209541632002, 'session_id', '会话唯一标识', 'varchar(100)', 'String', 'sessionId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655429, 2016046209541632002, 'agent_id', '客服ID', 'bigint', 'Long', 'agentId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655430, 2016046209541632002, 'customer_phone', '客户电话', 'varchar(20)', 'String', 'customerPhone', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'input', '', 5, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655431, 2016046209541632002, 'conversation_json', '对话详细数据', 'json', 'String', 'conversationJson', '0', '0', '0', '1', '1', '1', '1', 'EQ', NULL, '', 6, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655432, 2016046209541632002, 'message_count', '消息总数', 'int', 'Long', 'messageCount', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'input', '', 7, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655433, 2016046209541632002, 'user_message_count', '用户消息数', 'int', 'Long', 'userMessageCount', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'input', '', 8, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655434, 2016046209541632002, 'agent_message_count', '客服消息数', 'int', 'Long', 'agentMessageCount', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'input', '', 9, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655435, 2016046209541632002, 'duration', '对话时长（秒）', 'int', 'Long', 'duration', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'input', '', 10, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655436, 2016046209541632002, 'status', '会话状态（0=进行中 1=已结束）', 'char(1)', 'String', 'status', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'radio', '', 11, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655437, 2016046209541632002, 'start_time', '会话开始时间', 'datetime', 'Date', 'startTime', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'datetime', '', 12, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655438, 2016046209541632002, 'end_time', '会话结束时间', 'datetime', 'Date', 'endTime', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'datetime', '', 13, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655439, 2016046209541632002, 'del_flag', '删除标志', 'char(1)', 'String', 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 14, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655440, 2016046209541632002, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 15, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655441, 2016046209541632002, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 16, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655442, 2016046209541632002, 'create_dept', '创建部门', 'bigint', 'Long', 'createDept', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 17, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655443, 2016046209541632002, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 18, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016046209671655444, 2016046209541632002, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 19, 103, 1, '2026-01-27 15:10:47', 1, '2026-01-27 15:10:47');
INSERT INTO `gen_table_column` VALUES (2016434213691072514, 2016434213435219970, 'id', '用户ID', 'bigint', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, 'EQ', 'input', '', 1, 103, 1, '2026-01-28 16:52:35', 1, '2026-01-28 16:52:35');
INSERT INTO `gen_table_column` VALUES (2016434213691072515, 2016434213435219970, 'username', '用户名', 'varchar(50)', 'String', 'username', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 103, 1, '2026-01-28 16:52:35', 1, '2026-01-28 16:52:35');
INSERT INTO `gen_table_column` VALUES (2016434213691072516, 2016434213435219970, 'password', '密码', 'varchar(100)', 'String', 'password', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 103, 1, '2026-01-28 16:52:35', 1, '2026-01-28 16:52:35');
INSERT INTO `gen_table_column` VALUES (2016434213691072517, 2016434213435219970, 'nickname', '昵称', 'varchar(50)', 'String', 'nickname', '0', '0', '0', '1', '1', '1', '1', 'LIKE', 'input', '', 4, 103, 1, '2026-01-28 16:52:35', 1, '2026-01-28 16:52:35');
INSERT INTO `gen_table_column` VALUES (2016434213691072518, 2016434213435219970, 'status', '状态（0=正常 1=停用）', 'char(1)', 'String', 'status', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'radio', '', 5, 103, 1, '2026-01-28 16:52:35', 1, '2026-01-28 16:52:35');
INSERT INTO `gen_table_column` VALUES (2016434213758181378, 2016434213435219970, 'del_flag', '删除标志（0=存在 1=删除）', 'char(1)', 'String', 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 6, 103, 1, '2026-01-28 16:52:35', 1, '2026-01-28 16:52:35');
INSERT INTO `gen_table_column` VALUES (2016434213758181379, 2016434213435219970, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 7, 103, 1, '2026-01-28 16:52:35', 1, '2026-01-28 16:52:35');
INSERT INTO `gen_table_column` VALUES (2016434213758181380, 2016434213435219970, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 8, 103, 1, '2026-01-28 16:52:35', 1, '2026-01-28 16:52:35');
INSERT INTO `gen_table_column` VALUES (2019651531858526210, 2019651531602673666, 'id', '会话ID', 'bigint', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, 'EQ', 'input', '', 1, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651531858526211, 2019651531602673666, 'tenant_id', '租户编号', 'varchar(20)', 'String', 'tenantId', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 2, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651531858526212, 2019651531602673666, 'session_id', '会话唯一标识', 'varchar(100)', 'String', 'sessionId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651531858526213, 2019651531602673666, 'user_account', '用户账号', 'varchar(50)', 'String', 'userAccount', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651531858526214, 2019651531602673666, 'conversation_json', '对话详细数据', 'json', 'String', 'conversationJson', '0', '0', '0', '1', '1', '1', '1', 'EQ', NULL, '', 5, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651531858526215, 2019651531602673666, 'start_time', '会话开始时间', 'datetime', 'Date', 'startTime', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'datetime', '', 6, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651531858526216, 2019651531602673666, 'end_time', '会话结束时间', 'datetime', 'Date', 'endTime', '0', '0', '0', '1', '1', '1', '1', 'EQ', 'datetime', '', 7, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651531858526217, 2019651531602673666, 'del_flag', '删除标志', 'char(1)', 'String', 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651531858526218, 2019651531602673666, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 9, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651531858526219, 2019651531602673666, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 10, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651531858526220, 2019651531602673666, 'create_dept', '创建部门', 'bigint', 'Long', 'createDept', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651531858526221, 2019651531602673666, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 12, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651531858526222, 2019651531602673666, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 13, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651532055658498, 2019651531925635074, 'id', '用户ID', 'bigint', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, 'EQ', 'input', '', 1, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651532055658499, 2019651531925635074, 'tenant_id', '租户编号', 'varchar(20)', 'String', 'tenantId', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 2, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651532055658500, 2019651531925635074, 'user_account', '用户账号', 'varchar(50)', 'String', 'userAccount', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651532055658501, 2019651531925635074, 'del_flag', '删除标志', 'char(1)', 'String', 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 4, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651532055658502, 2019651531925635074, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 5, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651532055658503, 2019651531925635074, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 6, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651532055658504, 2019651531925635074, 'create_dept', '创建部门', 'bigint', 'Long', 'createDept', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651532055658505, 2019651531925635074, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');
INSERT INTO `gen_table_column` VALUES (2019651532055658506, 2019651531925635074, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 9, 103, 1, '2026-02-06 13:57:03', 1, '2026-02-06 13:57:03');

-- ----------------------------
-- Table structure for phone_user
-- ----------------------------
DROP TABLE IF EXISTS `phone_user`;
CREATE TABLE `phone_user`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `customer_phone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '用户电话',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '0' COMMENT '删除标志',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `user_account`(`customer_phone` ASC) USING BTREE,
  INDEX `idx_tenant_id`(`tenant_id` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 27 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'ZoomPhone用户表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of phone_user
-- ----------------------------
INSERT INTO `phone_user` VALUES (1, '000000', '13476978960', '0', 5, '2026-02-06 17:21:56', NULL, 5, '2026-02-06 17:21:56');
INSERT INTO `phone_user` VALUES (7, '000000', '2324234234', '0', 4, '2026-02-06 19:57:53', NULL, 4, '2026-02-06 19:57:53');
INSERT INTO `phone_user` VALUES (8, '000000', '6666666666', '0', 4, '2026-02-07 09:59:52', NULL, 4, '2026-02-07 09:59:52');
INSERT INTO `phone_user` VALUES (10, '000000', '6666666666666', '0', 4, '2026-02-07 10:23:27', NULL, 4, '2026-02-07 10:23:27');
INSERT INTO `phone_user` VALUES (11, '000000', '3534534543', '0', 4, '2026-02-07 10:23:54', NULL, 4, '2026-02-07 10:23:54');
INSERT INTO `phone_user` VALUES (12, '000000', '4235235452352', '0', -1, '2026-02-07 10:54:13', -1, -1, '2026-02-07 10:54:13');
INSERT INTO `phone_user` VALUES (13, '000000', '324234235', '0', 4, '2026-02-07 10:57:56', NULL, 4, '2026-02-07 10:57:56');
INSERT INTO `phone_user` VALUES (14, '000000', '434235235235', '0', 4, '2026-02-07 11:45:05', NULL, 4, '2026-02-07 11:45:05');
INSERT INTO `phone_user` VALUES (15, '000000', '354353523', '0', 4, '2026-02-07 11:45:28', NULL, 4, '2026-02-07 11:45:28');
INSERT INTO `phone_user` VALUES (16, '000000', '4234234234', '0', 4, '2026-02-07 11:49:31', NULL, 4, '2026-02-07 11:49:31');
INSERT INTO `phone_user` VALUES (17, '000000', '323423523523', '0', 4, '2026-02-07 11:55:24', NULL, 4, '2026-02-07 11:55:24');
INSERT INTO `phone_user` VALUES (18, '000000', '55615156156', '0', 4, '2026-02-07 12:43:36', NULL, 4, '2026-02-07 12:43:36');
INSERT INTO `phone_user` VALUES (20, '000000', '1215113215', '0', 4, '2026-02-09 09:50:55', NULL, 4, '2026-02-09 09:50:55');
INSERT INTO `phone_user` VALUES (21, '000000', '23123141231', '0', -1, '2026-02-09 09:57:46', -1, -1, '2026-02-09 09:57:46');
INSERT INTO `phone_user` VALUES (22, '000000', '呼出至你 - 分机号码 104', '0', 4, '2026-02-09 10:26:55', NULL, 4, '2026-02-09 10:26:55');
INSERT INTO `phone_user` VALUES (23, '000000', '104', '0', 4, '2026-02-09 10:34:50', NULL, 4, '2026-02-09 10:34:50');
INSERT INTO `phone_user` VALUES (26, '000000', '445171415', '0', 4, '2026-02-09 10:50:05', NULL, 4, '2026-02-09 10:50:05');

-- ----------------------------
-- Table structure for sys_client
-- ----------------------------
DROP TABLE IF EXISTS `sys_client`;
CREATE TABLE `sys_client`  (
  `id` bigint NOT NULL COMMENT 'id',
  `client_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户端id',
  `client_key` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户端key',
  `client_secret` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户端秘钥',
  `grant_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '授权类型',
  `device_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '设备类型',
  `active_timeout` int NULL DEFAULT 1800 COMMENT 'token活跃超时时间',
  `timeout` int NULL DEFAULT 604800 COMMENT 'token固定超时',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 1代表删除）',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统授权表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_client
-- ----------------------------
INSERT INTO `sys_client` VALUES (1, 'e5cd7e4891bf95d1d19206ce24a7b32e', 'pc', 'pc123', 'password,social', 'pc', 1800, 604800, '0', '0', 103, 1, '2026-01-26 15:21:39', 1, '2026-01-26 15:21:39');
INSERT INTO `sys_client` VALUES (2, '428a8310cd442757ae699df5d894f051', 'app', 'app123', 'password,sms,social', 'android', 1800, 604800, '0', '0', 103, 1, '2026-01-26 15:21:39', 1, '2026-01-26 15:21:39');
INSERT INTO `sys_client` VALUES (2017051743765962753, '812b745b34558590c92e6f13fe8b716b', 'talk-web', 'talk-web123', 'password', 'pc', 604800, 2592000, '0', '0', 103, 1, '2026-01-30 09:46:25', 1, '2026-01-30 09:46:25');

-- ----------------------------
-- Table structure for sys_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_config`;
CREATE TABLE `sys_config`  (
  `config_id` bigint NOT NULL COMMENT '参数主键',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `config_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '参数名称',
  `config_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '参数键名',
  `config_value` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '参数键值',
  `config_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'N' COMMENT '系统内置（Y是 N否）',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`config_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '参数配置表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_config
-- ----------------------------
INSERT INTO `sys_config` VALUES (1, '000000', '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
INSERT INTO `sys_config` VALUES (2, '000000', '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '初始化密码 123456');
INSERT INTO `sys_config` VALUES (3, '000000', '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '深色主题theme-dark，浅色主题theme-light');
INSERT INTO `sys_config` VALUES (5, '000000', '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '是否开启注册用户功能（true开启，false关闭）');
INSERT INTO `sys_config` VALUES (11, '000000', 'OSS预览列表资源开关', 'sys.oss.previewListResource', 'true', 'Y', 103, 1, '2026-01-26 15:21:39', NULL, NULL, 'true:开启, false:关闭');
INSERT INTO `sys_config` VALUES (3001, '000000', '讯飞TTS-AppID', 'xunfei.tts.appId', '0b53c170', 'N', 103, 1, '2026-01-29 00:00:00', 1, '2026-02-06 19:57:48', '讯飞语音合成AppID');
INSERT INTO `sys_config` VALUES (3002, '000000', '讯飞TTS-APIKey', 'xunfei.tts.apiKey', '3915b5e04c7e118fea615889a1c94794', 'N', 103, 1, '2026-01-29 00:00:00', 1, '2026-02-06 19:57:47', '讯飞语音合成APIKey');
INSERT INTO `sys_config` VALUES (3003, '000000', '讯飞TTS-APISecret', 'xunfei.tts.apiSecret', 'ZTZjZmU3YzczMjdmNmQwMTc0ZDU3OTEw', 'N', 103, 1, '2026-01-29 00:00:00', 1, '2026-02-06 19:57:48', '讯飞语音合成APISecret');
INSERT INTO `sys_config` VALUES (3004, '000000', 'Dify-APIKey', 'dify.apiKey', 'app-MJ27YGXKy7yN8o7T0WjPPbvh', 'N', 103, 1, '2026-01-29 00:00:00', 1, '2026-02-06 19:57:47', 'Dify工作流APIKey');
INSERT INTO `sys_config` VALUES (3005, '000000', 'Dify-APIURL', 'dify.apiUrl', 'http://38.12.32.11:81/v1', 'N', 103, 1, '2026-01-29 00:00:00', 1, '2026-02-06 19:57:47', 'Dify工作流API地址');

-- ----------------------------
-- Table structure for sys_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_dept`;
CREATE TABLE `sys_dept`  (
  `dept_id` bigint NOT NULL COMMENT '部门id',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `parent_id` bigint NULL DEFAULT 0 COMMENT '父部门id',
  `ancestors` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '祖级列表',
  `dept_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '部门名称',
  `dept_category` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '部门类别编码',
  `order_num` int NULL DEFAULT 0 COMMENT '显示顺序',
  `leader` bigint NULL DEFAULT NULL COMMENT '负责人',
  `phone` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '联系电话',
  `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '邮箱',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '部门状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 1代表删除）',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`dept_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '部门表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_dept
-- ----------------------------
INSERT INTO `sys_dept` VALUES (100, '000000', 0, '0', 'XXX科技', NULL, 0, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL);
INSERT INTO `sys_dept` VALUES (101, '000000', 100, '0,100', '深圳总公司', NULL, 1, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL);
INSERT INTO `sys_dept` VALUES (102, '000000', 100, '0,100', '长沙分公司', NULL, 2, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL);
INSERT INTO `sys_dept` VALUES (103, '000000', 101, '0,100,101', '研发部门', NULL, 1, 1, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL);
INSERT INTO `sys_dept` VALUES (104, '000000', 101, '0,100,101', '市场部门', NULL, 2, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL);
INSERT INTO `sys_dept` VALUES (105, '000000', 101, '0,100,101', '测试部门', NULL, 3, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL);
INSERT INTO `sys_dept` VALUES (106, '000000', 101, '0,100,101', '财务部门', NULL, 4, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL);
INSERT INTO `sys_dept` VALUES (107, '000000', 101, '0,100,101', '运维部门', NULL, 5, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL);
INSERT INTO `sys_dept` VALUES (108, '000000', 102, '0,100,102', '市场部门', NULL, 1, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL);
INSERT INTO `sys_dept` VALUES (109, '000000', 102, '0,100,102', '财务部门', NULL, 2, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL);

-- ----------------------------
-- Table structure for sys_dict_data
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_data`;
CREATE TABLE `sys_dict_data`  (
  `dict_code` bigint NOT NULL COMMENT '字典编码',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `dict_sort` int NULL DEFAULT 0 COMMENT '字典排序',
  `dict_label` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '字典标签',
  `dict_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '字典键值',
  `dict_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '字典类型',
  `css_class` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '样式属性（其他样式扩展）',
  `list_class` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '表格回显样式',
  `is_default` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'N' COMMENT '是否默认（Y是 N否）',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_code`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '字典数据表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_dict_data
-- ----------------------------
INSERT INTO `sys_dict_data` VALUES (1, '000000', 1, '男', '0', 'sys_user_sex', '', '', 'Y', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '性别男');
INSERT INTO `sys_dict_data` VALUES (2, '000000', 2, '女', '1', 'sys_user_sex', '', '', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '性别女');
INSERT INTO `sys_dict_data` VALUES (3, '000000', 3, '未知', '2', 'sys_user_sex', '', '', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '性别未知');
INSERT INTO `sys_dict_data` VALUES (4, '000000', 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '显示菜单');
INSERT INTO `sys_dict_data` VALUES (5, '000000', 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '隐藏菜单');
INSERT INTO `sys_dict_data` VALUES (6, '000000', 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (7, '000000', 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '停用状态');
INSERT INTO `sys_dict_data` VALUES (12, '000000', 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '系统默认是');
INSERT INTO `sys_dict_data` VALUES (13, '000000', 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '系统默认否');
INSERT INTO `sys_dict_data` VALUES (14, '000000', 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '通知');
INSERT INTO `sys_dict_data` VALUES (15, '000000', 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '公告');
INSERT INTO `sys_dict_data` VALUES (16, '000000', 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (17, '000000', 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '关闭状态');
INSERT INTO `sys_dict_data` VALUES (18, '000000', 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '新增操作');
INSERT INTO `sys_dict_data` VALUES (19, '000000', 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '修改操作');
INSERT INTO `sys_dict_data` VALUES (20, '000000', 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '删除操作');
INSERT INTO `sys_dict_data` VALUES (21, '000000', 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '授权操作');
INSERT INTO `sys_dict_data` VALUES (22, '000000', 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '导出操作');
INSERT INTO `sys_dict_data` VALUES (23, '000000', 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '导入操作');
INSERT INTO `sys_dict_data` VALUES (24, '000000', 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '强退操作');
INSERT INTO `sys_dict_data` VALUES (25, '000000', 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '生成操作');
INSERT INTO `sys_dict_data` VALUES (26, '000000', 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '清空操作');
INSERT INTO `sys_dict_data` VALUES (27, '000000', 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (28, '000000', 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '停用状态');
INSERT INTO `sys_dict_data` VALUES (29, '000000', 99, '其他', '0', 'sys_oper_type', '', 'info', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '其他操作');
INSERT INTO `sys_dict_data` VALUES (30, '000000', 0, '密码认证', 'password', 'sys_grant_type', 'el-check-tag', 'default', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '密码认证');
INSERT INTO `sys_dict_data` VALUES (31, '000000', 0, '短信认证', 'sms', 'sys_grant_type', 'el-check-tag', 'default', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '短信认证');
INSERT INTO `sys_dict_data` VALUES (32, '000000', 0, '邮件认证', 'email', 'sys_grant_type', 'el-check-tag', 'default', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '邮件认证');
INSERT INTO `sys_dict_data` VALUES (33, '000000', 0, '小程序认证', 'xcx', 'sys_grant_type', 'el-check-tag', 'default', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '小程序认证');
INSERT INTO `sys_dict_data` VALUES (34, '000000', 0, '三方登录认证', 'social', 'sys_grant_type', 'el-check-tag', 'default', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '三方登录认证');
INSERT INTO `sys_dict_data` VALUES (35, '000000', 0, 'PC', 'pc', 'sys_device_type', '', 'default', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, 'PC');
INSERT INTO `sys_dict_data` VALUES (36, '000000', 0, '安卓', 'android', 'sys_device_type', '', 'default', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '安卓');
INSERT INTO `sys_dict_data` VALUES (37, '000000', 0, 'iOS', 'ios', 'sys_device_type', '', 'default', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, 'iOS');
INSERT INTO `sys_dict_data` VALUES (38, '000000', 0, '小程序', 'xcx', 'sys_device_type', '', 'default', 'N', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '小程序');
INSERT INTO `sys_dict_data` VALUES (2016063918958567426, '000000', 0, '讯飞小露-中文女声', 'x4_yezi', 'tts_vcn', '', 'primary', 'N', 103, 1, '2026-01-27 16:21:10', 1, '2026-01-28 10:13:13', '中文女声，温柔甜美');
INSERT INTO `sys_dict_data` VALUES (2016064009555533826, '000000', 0, '聆小珊-中文女声（咨询）', 'x4_lingxiaoshan_casualnews', 'tts_vcn', '', 'primary', 'N', 103, 1, '2026-01-27 16:21:31', 1, '2026-01-28 10:14:05', '中文女声，咨询');
INSERT INTO `sys_dict_data` VALUES (2016064089062760450, '000000', 0, '耶飞博-中文男声（新闻）', 'x4_lingfeibo_profnews', 'tts_vcn', '', 'primary', 'N', 103, 1, '2026-01-27 16:21:50', 1, '2026-01-28 10:13:57', '中文男声，新闻');
INSERT INTO `sys_dict_data` VALUES (2016064204880076801, '000000', 0, '凯瑟琳-英文女声', 'x4_enus_catherine_profnews', 'tts_vcn', '', 'primary', 'N', 103, 1, '2026-01-27 16:22:18', 1, '2026-01-28 10:13:52', '英文女声');
INSERT INTO `sys_dict_data` VALUES (2016064430340694017, '000000', 0, 'Ryan-英文男声', 'x4_enus_ryan_assist', 'tts_vcn', '', 'primary', 'N', 103, 1, '2026-01-27 16:23:12', 1, '2026-01-28 10:14:15', '英文男声');

-- ----------------------------
-- Table structure for sys_dict_type
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_type`;
CREATE TABLE `sys_dict_type`  (
  `dict_id` bigint NOT NULL COMMENT '字典主键',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `dict_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '字典名称',
  `dict_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '字典类型',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_id`) USING BTREE,
  UNIQUE INDEX `tenant_id`(`tenant_id` ASC, `dict_type` ASC) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '字典类型表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_dict_type
-- ----------------------------
INSERT INTO `sys_dict_type` VALUES (1, '000000', '用户性别', 'sys_user_sex', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '用户性别列表');
INSERT INTO `sys_dict_type` VALUES (2, '000000', '菜单状态', 'sys_show_hide', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '菜单状态列表');
INSERT INTO `sys_dict_type` VALUES (3, '000000', '系统开关', 'sys_normal_disable', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '系统开关列表');
INSERT INTO `sys_dict_type` VALUES (6, '000000', '系统是否', 'sys_yes_no', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '系统是否列表');
INSERT INTO `sys_dict_type` VALUES (7, '000000', '通知类型', 'sys_notice_type', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '通知类型列表');
INSERT INTO `sys_dict_type` VALUES (8, '000000', '通知状态', 'sys_notice_status', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '通知状态列表');
INSERT INTO `sys_dict_type` VALUES (9, '000000', '操作类型', 'sys_oper_type', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '操作类型列表');
INSERT INTO `sys_dict_type` VALUES (10, '000000', '系统状态', 'sys_common_status', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '登录状态列表');
INSERT INTO `sys_dict_type` VALUES (11, '000000', '授权类型', 'sys_grant_type', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '认证授权类型');
INSERT INTO `sys_dict_type` VALUES (12, '000000', '设备类型', 'sys_device_type', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '客户端设备类型');
INSERT INTO `sys_dict_type` VALUES (2016063438995972098, '000000', 'TTS发音人', 'tts_vcn', 103, 1, '2026-01-27 16:19:15', 1, '2026-01-27 16:19:15', 'TTS语音合成发音人配置');

-- ----------------------------
-- Table structure for sys_logininfor
-- ----------------------------
DROP TABLE IF EXISTS `sys_logininfor`;
CREATE TABLE `sys_logininfor`  (
  `info_id` bigint NOT NULL COMMENT '访问ID',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '用户账号',
  `client_key` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '客户端',
  `device_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '设备类型',
  `ipaddr` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '登录IP地址',
  `login_location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '登录地点',
  `browser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '浏览器类型',
  `os` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '操作系统',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '登录状态（0成功 1失败）',
  `msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '提示消息',
  `login_time` datetime NULL DEFAULT NULL COMMENT '访问时间',
  PRIMARY KEY (`info_id`) USING BTREE,
  INDEX `idx_sys_logininfor_s`(`status` ASC) USING BTREE,
  INDEX `idx_sys_logininfor_lt`(`login_time` ASC) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统访问记录' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_logininfor
-- ----------------------------
INSERT INTO `sys_logininfor` VALUES (2015706535409778690, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-26 16:41:03');
INSERT INTO `sys_logininfor` VALUES (2016046154529140738, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-27 15:10:34');
INSERT INTO `sys_logininfor` VALUES (2016097401344978945, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-27 18:34:12');
INSERT INTO `sys_logininfor` VALUES (2016319531063971842, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 09:16:52');
INSERT INTO `sys_logininfor` VALUES (2016333211239542785, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'user.login.success', '2026-01-28 10:11:14');
INSERT INTO `sys_logininfor` VALUES (2016344412216475650, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 10:55:44');
INSERT INTO `sys_logininfor` VALUES (2016383977128030209, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 13:32:57');
INSERT INTO `sys_logininfor` VALUES (2016410344682954753, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 15:17:44');
INSERT INTO `sys_logininfor` VALUES (2016434153439895553, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 16:52:20');
INSERT INTO `sys_logininfor` VALUES (2016442714056384513, '000000', '', '', '', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 17:26:21');
INSERT INTO `sys_logininfor` VALUES (2016448851929485313, '000000', '6', '', '', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 17:50:45');
INSERT INTO `sys_logininfor` VALUES (2016448875161735169, '000000', '6', '', '', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 17:50:50');
INSERT INTO `sys_logininfor` VALUES (2016449436095369218, '000000', '6', '', '', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 17:53:04');
INSERT INTO `sys_logininfor` VALUES (2016449470543187969, '000000', '6', '', '', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 17:53:12');
INSERT INTO `sys_logininfor` VALUES (2016449518307921922, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 17:53:24');
INSERT INTO `sys_logininfor` VALUES (2016455454602842113, '000000', '6', '', '', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 18:16:59');
INSERT INTO `sys_logininfor` VALUES (2016455484747304962, '000000', '6', '', '', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 18:17:06');
INSERT INTO `sys_logininfor` VALUES (2016467565110403074, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 19:05:06');
INSERT INTO `sys_logininfor` VALUES (2016468092548325378, '000000', '6', '', '', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-28 19:07:12');
INSERT INTO `sys_logininfor` VALUES (2016684765834502146, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-29 09:28:11');
INSERT INTO `sys_logininfor` VALUES (2016697983898251265, '000000', '6', '', '', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-29 10:20:42');
INSERT INTO `sys_logininfor` VALUES (2016709462684897281, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-29 11:06:19');
INSERT INTO `sys_logininfor` VALUES (2016711205376266241, '000000', '2', '', '', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-29 11:13:15');
INSERT INTO `sys_logininfor` VALUES (2016747385732009986, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-29 13:37:01');
INSERT INTO `sys_logininfor` VALUES (2016836372995776514, '000000', '6', '', '', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-29 19:30:37');
INSERT INTO `sys_logininfor` VALUES (2017049452677734401, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-30 09:37:19');
INSERT INTO `sys_logininfor` VALUES (2017052930435227650, '000000', '6', '', '', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-30 09:51:08');
INSERT INTO `sys_logininfor` VALUES (2017058685813116929, '000000', '6', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-30 10:14:00');
INSERT INTO `sys_logininfor` VALUES (2017071415014047746, '000000', '6', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-30 11:04:35');
INSERT INTO `sys_logininfor` VALUES (2017120772559994882, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-30 14:20:43');
INSERT INTO `sys_logininfor` VALUES (2017121422949744642, '000000', '6', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-30 14:23:18');
INSERT INTO `sys_logininfor` VALUES (2017148302599987201, '000000', '6', 'talk-web', 'pc', '127.0.0.1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-30 16:10:07');
INSERT INTO `sys_logininfor` VALUES (2017155235767701505, '000000', '6', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-30 16:37:40');
INSERT INTO `sys_logininfor` VALUES (2017156231671635969, '000000', '6', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-30 16:41:37');
INSERT INTO `sys_logininfor` VALUES (2017191051126726658, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-01-30 18:59:59');
INSERT INTO `sys_logininfor` VALUES (2018945356183670785, '000000', '6', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-04 15:10:58');
INSERT INTO `sys_logininfor` VALUES (2018945518847168513, '000000', '6', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-04 15:11:37');
INSERT INTO `sys_logininfor` VALUES (2018953575094325249, '000000', '6', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-04 15:43:37');
INSERT INTO `sys_logininfor` VALUES (2018955289130209282, '000000', '6', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-04 15:50:26');
INSERT INTO `sys_logininfor` VALUES (2018955631347666945, '000000', '6', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-04 15:51:48');
INSERT INTO `sys_logininfor` VALUES (2019651419388264450, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-06 13:56:36');
INSERT INTO `sys_logininfor` VALUES (2019674783154716673, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-06 15:29:27');
INSERT INTO `sys_logininfor` VALUES (2019674891007049730, '000000', '555555', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-06 15:29:52');
INSERT INTO `sys_logininfor` VALUES (2019678166938882049, '000000', '6', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-06 15:42:53');
INSERT INTO `sys_logininfor` VALUES (2019678261918896129, '000000', '555555', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-06 15:43:16');
INSERT INTO `sys_logininfor` VALUES (2019678338712408066, '000000', '6', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-06 15:43:34');
INSERT INTO `sys_logininfor` VALUES (2019678786332725250, '000000', '555555', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'MSEdge', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-06 15:45:21');
INSERT INTO `sys_logininfor` VALUES (2019688493856395266, '000000', '555555', 'talk-web', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-06 16:23:56');
INSERT INTO `sys_logininfor` VALUES (2019697552202469377, '000000', 'admin', 'pc', 'pc', '0:0:0:0:0:0:0:1', '内网IP', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-06 16:59:55');
INSERT INTO `sys_logininfor` VALUES (2019727993392861186, '000000', '555555', 'talk-web', 'pc', '51.79.129.12', '新加坡|0|0|0', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-06 19:00:53');
INSERT INTO `sys_logininfor` VALUES (2019727993392861187, '000000', '555555', 'talk-web', 'pc', '51.79.129.12', '新加坡|0|0|0', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-06 19:00:53');
INSERT INTO `sys_logininfor` VALUES (2019728268086218754, '000000', 'admin', 'pc', 'pc', '51.79.129.12', '新加坡|0|0|0', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-06 19:01:58');
INSERT INTO `sys_logininfor` VALUES (2019736351374094337, '000000', '6', 'talk-web', 'pc', '117.152.217.47', '中国|湖北省|武汉市|移动', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-06 19:34:06');
INSERT INTO `sys_logininfor` VALUES (2019741810655014914, '000000', '6', 'talk-web', 'pc', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-06 19:55:47');
INSERT INTO `sys_logininfor` VALUES (2019741810671792130, '000000', '6', 'talk-web', 'pc', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-06 19:55:47');
INSERT INTO `sys_logininfor` VALUES (2019741981421907970, '000000', 'admin', 'pc', 'pc', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-06 19:56:28');
INSERT INTO `sys_logininfor` VALUES (2019953192260345858, '000000', '6', 'talk-web', 'pc', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-07 09:55:45');
INSERT INTO `sys_logininfor` VALUES (2019953335298695170, '000000', 'admin', 'pc', 'pc', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', 'Chrome', 'Windows 10 or Windows Server 2016', '1', '验证码已失效', '2026-02-07 09:56:19');
INSERT INTO `sys_logininfor` VALUES (2019953380651704321, '000000', 'admin', 'pc', 'pc', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-07 09:56:30');
INSERT INTO `sys_logininfor` VALUES (2019968738871795713, '000000', '6', 'talk-web', 'pc', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-07 10:57:31');
INSERT INTO `sys_logininfor` VALUES (2019980436395540482, '000000', '6', 'talk-web', 'pc', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-07 11:44:00');
INSERT INTO `sys_logininfor` VALUES (2019980519837024257, '000000', 'admin', 'pc', 'pc', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-07 11:44:20');
INSERT INTO `sys_logininfor` VALUES (2019980741321441282, '000000', '6', 'talk-web', 'pc', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-07 11:45:13');
INSERT INTO `sys_logininfor` VALUES (2019981716899774465, '000000', '6', 'talk-web', 'pc', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-07 11:49:05');
INSERT INTO `sys_logininfor` VALUES (2019983179092869122, '000000', '6', 'talk-web', 'pc', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-07 11:54:54');
INSERT INTO `sys_logininfor` VALUES (2019983246184955905, '000000', '6', 'talk-web', 'pc', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-07 11:55:10');
INSERT INTO `sys_logininfor` VALUES (2019995683089084417, '000000', 'admin', 'pc', 'pc', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-07 12:44:35');
INSERT INTO `sys_logininfor` VALUES (2020010715092938753, '000000', 'admin', 'pc', 'pc', '117.152.217.47', '中国|湖北省|武汉市|移动', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-07 13:44:19');
INSERT INTO `sys_logininfor` VALUES (2020175514753888258, '000000', 'admin', 'pc', 'pc', '101.44.80.122', '中国|上海|上海市|鹏博士', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-08 00:39:10');
INSERT INTO `sys_logininfor` VALUES (2020676417772654593, '000000', '6', 'talk-web', 'pc', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-09 09:49:35');
INSERT INTO `sys_logininfor` VALUES (2020676626242146306, '000000', 'admin', 'pc', 'pc', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-09 09:50:25');
INSERT INTO `sys_logininfor` VALUES (2020676642990002177, '000000', 'admin', 'pc', 'pc', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', 'Chrome', 'Windows 10 or Windows Server 2016', '0', '登录成功', '2026-02-09 09:50:29');
INSERT INTO `sys_logininfor` VALUES (2020677092225126401, '000000', '6', 'talk-web', 'pc', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-09 09:52:16');
INSERT INTO `sys_logininfor` VALUES (2020677309511045122, '000000', '6', 'talk-web', 'pc', '223.73.108.160', '中国|广东省|深圳市|移动', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-09 09:53:08');
INSERT INTO `sys_logininfor` VALUES (2020691282444750849, '000000', '6', 'talk-web', 'pc', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-09 10:48:39');
INSERT INTO `sys_logininfor` VALUES (2020691608279257090, '000000', '6', 'talk-web', 'pc', '117.152.217.47', '中国|湖北省|武汉市|移动', 'Chrome', 'Windows 10 or Windows Server 2016', '0', 'Login successful', '2026-02-09 10:49:57');

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu`  (
  `menu_id` bigint NOT NULL COMMENT '菜单ID',
  `menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '菜单名称',
  `parent_id` bigint NULL DEFAULT 0 COMMENT '父菜单ID',
  `order_num` int NULL DEFAULT 0 COMMENT '显示顺序',
  `path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '路由地址',
  `component` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '组件路径',
  `query_param` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '路由参数',
  `is_frame` int NULL DEFAULT 1 COMMENT '是否为外链（0是 1否）',
  `is_cache` int NULL DEFAULT 0 COMMENT '是否缓存（0缓存 1不缓存）',
  `menu_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '菜单类型（M目录 C菜单 F按钮）',
  `visible` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '显示状态（0显示 1隐藏）',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '菜单状态（0正常 1停用）',
  `perms` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '权限标识',
  `icon` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '#' COMMENT '菜单图标',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '备注',
  PRIMARY KEY (`menu_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '菜单权限表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
INSERT INTO `sys_menu` VALUES (1, '系统管理', 0, 1, 'system', NULL, '', 1, 0, 'M', '0', '0', '', 'system', 103, 1, '2026-01-26 15:21:39', 1, '2026-01-27 15:21:58', '系统管理目录');
INSERT INTO `sys_menu` VALUES (2, '系统监控', 0, 3, 'monitor', NULL, '', 1, 0, 'M', '1', '0', '', 'monitor', 103, 1, '2026-01-26 15:21:39', 1, '2026-01-27 15:22:09', '系统监控目录');
INSERT INTO `sys_menu` VALUES (3, '系统工具', 0, 4, 'tool', NULL, '', 1, 0, 'M', '0', '0', '', 'tool', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '系统工具目录');
INSERT INTO `sys_menu` VALUES (4, 'PLUS官网', 0, 5, 'https://gitee.com/dromara/RuoYi-Vue-Plus', NULL, '', 0, 0, 'M', '1', '0', '', 'guide', 103, 1, '2026-01-26 15:21:39', 1, '2026-01-27 15:21:29', 'RuoYi-Vue-Plus官网地址');
INSERT INTO `sys_menu` VALUES (5, '测试菜单', 0, 5, 'demo', NULL, '', 1, 0, 'M', '1', '0', '', 'star', 103, 1, '2026-01-26 15:21:39', 1, '2026-01-27 15:21:16', '测试菜单');
INSERT INTO `sys_menu` VALUES (6, '租户管理', 0, 2, 'tenant', NULL, '', 1, 0, 'M', '0', '0', '', 'chart', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '租户管理目录');
INSERT INTO `sys_menu` VALUES (100, '用户管理', 1, 1, 'user', 'system/user/index', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '用户管理菜单');
INSERT INTO `sys_menu` VALUES (101, '角色管理', 1, 2, 'role', 'system/role/index', '', 1, 0, 'C', '0', '0', 'system:role:list', 'peoples', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '角色管理菜单');
INSERT INTO `sys_menu` VALUES (102, '菜单管理', 1, 3, 'menu', 'system/menu/index', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'tree-table', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '菜单管理菜单');
INSERT INTO `sys_menu` VALUES (103, '部门管理', 1, 4, 'dept', 'system/dept/index', '', 1, 0, 'C', '0', '0', 'system:dept:list', 'tree', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '部门管理菜单');
INSERT INTO `sys_menu` VALUES (104, '岗位管理', 1, 5, 'post', 'system/post/index', '', 1, 0, 'C', '0', '0', 'system:post:list', 'post', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '岗位管理菜单');
INSERT INTO `sys_menu` VALUES (105, '字典管理', 1, 6, 'dict', 'system/dict/index', '', 1, 0, 'C', '0', '0', 'system:dict:list', 'dict', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '字典管理菜单');
INSERT INTO `sys_menu` VALUES (106, '参数设置', 1, 7, 'config', 'system/config/index', '', 1, 0, 'C', '0', '0', 'system:config:list', 'edit', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '参数设置菜单');
INSERT INTO `sys_menu` VALUES (107, '通知公告', 1, 8, 'notice', 'system/notice/index', '', 1, 0, 'C', '0', '0', 'system:notice:list', 'message', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '通知公告菜单');
INSERT INTO `sys_menu` VALUES (108, '日志管理', 1, 9, 'log', '', '', 1, 0, 'M', '0', '0', '', 'log', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '日志管理菜单');
INSERT INTO `sys_menu` VALUES (109, '在线用户', 2, 1, 'online', 'monitor/online/index', '', 1, 0, 'C', '0', '0', 'monitor:online:list', 'online', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '在线用户菜单');
INSERT INTO `sys_menu` VALUES (113, '缓存监控', 2, 5, 'cache', 'monitor/cache/index', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '缓存监控菜单');
INSERT INTO `sys_menu` VALUES (115, '代码生成', 3, 2, 'gen', 'tool/gen/index', '', 1, 0, 'C', '0', '0', 'tool:gen:list', 'code', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '代码生成菜单');
INSERT INTO `sys_menu` VALUES (116, '修改生成配置', 3, 2, 'gen-edit/index/:tableId', 'tool/gen/editTable', '', 1, 1, 'C', '1', '0', 'tool:gen:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '/tool/gen');
INSERT INTO `sys_menu` VALUES (117, 'Admin监控', 2, 5, 'Admin', 'monitor/admin/index', '', 1, 0, 'C', '0', '0', 'monitor:admin:list', 'dashboard', 103, 1, '2026-01-26 15:21:39', NULL, NULL, 'Admin监控菜单');
INSERT INTO `sys_menu` VALUES (118, '文件管理', 1, 10, 'oss', 'system/oss/index', '', 1, 0, 'C', '0', '0', 'system:oss:list', 'upload', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '文件管理菜单');
INSERT INTO `sys_menu` VALUES (120, '任务调度中心', 2, 6, 'snailjob', 'monitor/snailjob/index', '', 1, 0, 'C', '0', '0', 'monitor:snailjob:list', 'job', 103, 1, '2026-01-26 15:21:39', NULL, NULL, 'SnailJob控制台菜单');
INSERT INTO `sys_menu` VALUES (121, '租户管理', 6, 1, 'tenant', 'system/tenant/index', '', 1, 0, 'C', '0', '0', 'system:tenant:list', 'list', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '租户管理菜单');
INSERT INTO `sys_menu` VALUES (122, '租户套餐管理', 6, 2, 'tenantPackage', 'system/tenantPackage/index', '', 1, 0, 'C', '0', '0', 'system:tenantPackage:list', 'form', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '租户套餐管理菜单');
INSERT INTO `sys_menu` VALUES (123, '客户端管理', 1, 11, 'client', 'system/client/index', '', 1, 0, 'C', '0', '0', 'system:client:list', 'international', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '客户端管理菜单');
INSERT INTO `sys_menu` VALUES (130, '分配用户', 1, 2, 'role-auth/user/:roleId', 'system/role/authUser', '', 1, 1, 'C', '1', '0', 'system:role:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '/system/role');
INSERT INTO `sys_menu` VALUES (131, '分配角色', 1, 1, 'user-auth/role/:userId', 'system/user/authRole', '', 1, 1, 'C', '1', '0', 'system:user:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '/system/user');
INSERT INTO `sys_menu` VALUES (132, '字典数据', 1, 6, 'dict-data/index/:dictId', 'system/dict/data', '', 1, 1, 'C', '1', '0', 'system:dict:list', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '/system/dict');
INSERT INTO `sys_menu` VALUES (133, '文件配置管理', 1, 10, 'oss-config/index', 'system/oss/config', '', 1, 1, 'C', '1', '0', 'system:ossConfig:list', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '/system/oss');
INSERT INTO `sys_menu` VALUES (500, '操作日志', 108, 1, 'operlog', 'monitor/operlog/index', '', 1, 0, 'C', '0', '0', 'monitor:operlog:list', 'form', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '操作日志菜单');
INSERT INTO `sys_menu` VALUES (501, '登录日志', 108, 2, 'logininfor', 'monitor/logininfor/index', '', 1, 0, 'C', '0', '0', 'monitor:logininfor:list', 'logininfor', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '登录日志菜单');
INSERT INTO `sys_menu` VALUES (1001, '用户查询', 100, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1002, '用户新增', 100, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:user:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1003, '用户修改', 100, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:user:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1004, '用户删除', 100, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:user:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1005, '用户导出', 100, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:user:export', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1006, '用户导入', 100, 6, '', '', '', 1, 0, 'F', '0', '0', 'system:user:import', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1007, '重置密码', 100, 7, '', '', '', 1, 0, 'F', '0', '0', 'system:user:resetPwd', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1008, '角色查询', 101, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:role:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1009, '角色新增', 101, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:role:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1010, '角色修改', 101, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:role:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1011, '角色删除', 101, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:role:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1012, '角色导出', 101, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:role:export', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1013, '菜单查询', 102, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1014, '菜单新增', 102, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1015, '菜单修改', 102, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1016, '菜单删除', 102, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1017, '部门查询', 103, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1018, '部门新增', 103, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1019, '部门修改', 103, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1020, '部门删除', 103, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1021, '岗位查询', 104, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:post:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1022, '岗位新增', 104, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:post:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1023, '岗位修改', 104, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:post:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1024, '岗位删除', 104, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:post:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1025, '岗位导出', 104, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:post:export', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1026, '字典查询', 105, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1027, '字典新增', 105, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1028, '字典修改', 105, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1029, '字典删除', 105, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1030, '字典导出', 105, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:export', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1031, '参数查询', 106, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1032, '参数新增', 106, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1033, '参数修改', 106, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1034, '参数删除', 106, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1035, '参数导出', 106, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:export', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1036, '公告查询', 107, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1037, '公告新增', 107, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1038, '公告修改', 107, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1039, '公告删除', 107, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1040, '操作查询', 500, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1041, '操作删除', 500, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1042, '日志导出', 500, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:export', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1043, '登录查询', 501, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1044, '登录删除', 501, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1045, '日志导出', 501, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:export', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1046, '在线查询', 109, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1047, '批量强退', 109, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:batchLogout', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1048, '单条强退', 109, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:forceLogout', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1050, '账户解锁', 501, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:unlock', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1055, '生成查询', 115, 1, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1056, '生成修改', 115, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1057, '生成删除', 115, 3, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1058, '导入代码', 115, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:import', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1059, '预览代码', 115, 4, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:preview', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1060, '生成代码', 115, 5, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:code', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1061, '客户端管理查询', 123, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1062, '客户端管理新增', 123, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1063, '客户端管理修改', 123, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1064, '客户端管理删除', 123, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1065, '客户端管理导出', 123, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:export', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1500, '测试单表', 5, 1, 'demo', 'demo/demo/index', '', 1, 0, 'C', '0', '0', 'demo:demo:list', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '测试单表菜单');
INSERT INTO `sys_menu` VALUES (1501, '测试单表查询', 1500, 1, '#', '', '', 1, 0, 'F', '0', '0', 'demo:demo:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1502, '测试单表新增', 1500, 2, '#', '', '', 1, 0, 'F', '0', '0', 'demo:demo:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1503, '测试单表修改', 1500, 3, '#', '', '', 1, 0, 'F', '0', '0', 'demo:demo:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1504, '测试单表删除', 1500, 4, '#', '', '', 1, 0, 'F', '0', '0', 'demo:demo:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1505, '测试单表导出', 1500, 5, '#', '', '', 1, 0, 'F', '0', '0', 'demo:demo:export', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1506, '测试树表', 5, 1, 'tree', 'demo/tree/index', '', 1, 0, 'C', '0', '0', 'demo:tree:list', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '测试树表菜单');
INSERT INTO `sys_menu` VALUES (1507, '测试树表查询', 1506, 1, '#', '', '', 1, 0, 'F', '0', '0', 'demo:tree:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1508, '测试树表新增', 1506, 2, '#', '', '', 1, 0, 'F', '0', '0', 'demo:tree:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1509, '测试树表修改', 1506, 3, '#', '', '', 1, 0, 'F', '0', '0', 'demo:tree:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1510, '测试树表删除', 1506, 4, '#', '', '', 1, 0, 'F', '0', '0', 'demo:tree:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1511, '测试树表导出', 1506, 5, '#', '', '', 1, 0, 'F', '0', '0', 'demo:tree:export', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1600, '文件查询', 118, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:oss:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1601, '文件上传', 118, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:oss:upload', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1602, '文件下载', 118, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:oss:download', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1603, '文件删除', 118, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:oss:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1606, '租户查询', 121, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1607, '租户新增', 121, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1608, '租户修改', 121, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1609, '租户删除', 121, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1610, '租户导出', 121, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:export', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1611, '租户套餐查询', 122, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:query', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1612, '租户套餐新增', 122, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1613, '租户套餐修改', 122, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1614, '租户套餐删除', 122, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1615, '租户套餐导出', 122, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:export', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1620, '配置列表', 118, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:ossConfig:list', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1621, '配置添加', 118, 6, '#', '', '', 1, 0, 'F', '0', '0', 'system:ossConfig:add', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1622, '配置编辑', 118, 6, '#', '', '', 1, 0, 'F', '0', '0', 'system:ossConfig:edit', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1623, '配置删除', 118, 6, '#', '', '', 1, 0, 'F', '0', '0', 'system:ossConfig:remove', '#', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (2000, '客服管理', 0, 5, 'agent', 'talk/agent/index', NULL, 1, 0, 'C', '0', '0', 'talk:agent:list', 'user', NULL, 1, '2026-01-27 15:46:58', 1, '2026-01-27 15:46:58', '客服管理菜单');
INSERT INTO `sys_menu` VALUES (2001, '客服查询', 2000, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'talk:agent:query', '#', NULL, 1, '2026-01-27 15:46:58', 1, '2026-01-27 15:46:58', '');
INSERT INTO `sys_menu` VALUES (2002, '客服新增', 2000, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'talk:agent:add', '#', NULL, 1, '2026-01-27 15:46:58', 1, '2026-01-27 15:46:58', '');
INSERT INTO `sys_menu` VALUES (2003, '客服修改', 2000, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'talk:agent:edit', '#', NULL, 1, '2026-01-27 15:46:58', 1, '2026-01-27 15:46:58', '');
INSERT INTO `sys_menu` VALUES (2004, '客服删除', 2000, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'talk:agent:remove', '#', NULL, 1, '2026-01-27 15:46:58', 1, '2026-01-27 15:46:58', '');
INSERT INTO `sys_menu` VALUES (2005, '会话管理', 4000, 1, 'session', 'talk/session/index', NULL, 1, 0, 'C', '0', '0', 'talk:session:list', 'message', NULL, 1, '2026-01-27 15:46:58', 1, '2026-02-06 00:00:00', '会话管理菜单');
INSERT INTO `sys_menu` VALUES (2006, '会话查询', 2005, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'talk:session:query', '#', NULL, 1, '2026-01-27 15:46:58', 1, '2026-01-27 15:46:58', '');
INSERT INTO `sys_menu` VALUES (2007, '会话删除', 2005, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'talk:session:remove', '#', NULL, 1, '2026-01-27 15:46:58', 1, '2026-01-27 15:46:58', '');
INSERT INTO `sys_menu` VALUES (2008, '会话导出', 2005, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'talk:session:export', '#', NULL, 1, '2026-01-27 15:46:58', 1, '2026-01-27 15:46:58', '');
INSERT INTO `sys_menu` VALUES (2100, '用户管理', 0, 7, 'talkUser', 'talk/user/index', NULL, 1, 0, 'C', '0', '0', 'system:user:list', 'peoples', NULL, 1, '2026-01-28 17:07:03', 1, '2026-01-28 17:07:03', '对话用户管理菜单');
INSERT INTO `sys_menu` VALUES (2101, '对话用户查询', 2100, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:user:query', '#', NULL, 1, '2026-01-28 17:07:03', 1, '2026-01-28 17:07:03', '');
INSERT INTO `sys_menu` VALUES (2102, '对话用户新增', 2100, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:user:add', '#', NULL, 1, '2026-01-28 17:07:03', 1, '2026-01-28 17:07:03', '');
INSERT INTO `sys_menu` VALUES (2103, '对话用户修改', 2100, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:user:edit', '#', NULL, 1, '2026-01-28 17:07:03', 1, '2026-01-28 17:07:03', '');
INSERT INTO `sys_menu` VALUES (2104, '对话用户删除', 2100, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:user:remove', '#', NULL, 1, '2026-01-28 17:07:03', 1, '2026-01-28 17:07:03', '');
INSERT INTO `sys_menu` VALUES (2105, '对话用户导出', 2100, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:user:export', '#', NULL, 1, '2026-01-28 17:07:03', 1, '2026-01-28 17:07:03', '');
INSERT INTO `sys_menu` VALUES (2200, '配置管理', 0, 8, 'aiConfig', 'talk/config/index', NULL, 1, 0, 'C', '0', '0', 'talk:config:list', 'tool', NULL, 1, '2026-01-29 00:00:00', 1, '2026-01-29 11:06:29', 'AI配置管理菜单');
INSERT INTO `sys_menu` VALUES (2201, '配置查询', 2200, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'talk:config:query', '#', NULL, 1, '2026-01-29 00:00:00', 1, '2026-01-29 11:06:35', '');
INSERT INTO `sys_menu` VALUES (2202, '配置修改', 2200, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'talk:config:edit', '#', NULL, 1, '2026-01-29 00:00:00', 1, '2026-01-29 11:06:39', '');
INSERT INTO `sys_menu` VALUES (3000, 'WhatsApp管理', 0, 9, 'whatsapp', NULL, '', 1, 0, 'M', '0', '0', '', 'phone', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', 'WhatsApp管理目录');
INSERT INTO `sys_menu` VALUES (3001, '客户管理', 3000, 1, 'whatsappUser', 'talk/whatsapp/user/index', NULL, 1, 0, 'C', '0', '0', 'whatsapp:user:list', 'peoples', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 17:13:24', 'WhatsApp客户管理菜单');
INSERT INTO `sys_menu` VALUES (3002, 'WhatsApp客户查询', 3001, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'whatsapp:user:query', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');
INSERT INTO `sys_menu` VALUES (3003, 'WhatsApp客户新增', 3001, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'whatsapp:user:add', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');
INSERT INTO `sys_menu` VALUES (3004, 'WhatsApp客户修改', 3001, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'whatsapp:user:edit', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');
INSERT INTO `sys_menu` VALUES (3005, 'WhatsApp客户删除', 3001, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'whatsapp:user:remove', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');
INSERT INTO `sys_menu` VALUES (3006, 'WhatsApp客户导出', 3001, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'whatsapp:user:export', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');
INSERT INTO `sys_menu` VALUES (3007, '会话管理', 3000, 2, 'whatsappHistory', 'talk/whatsapp/history/index', NULL, 1, 0, 'C', '0', '0', 'whatsapp:history:list', 'message', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 17:13:33', 'WhatsApp会话管理菜单');
INSERT INTO `sys_menu` VALUES (3008, 'WhatsApp会话查询', 3007, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'whatsapp:history:query', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');
INSERT INTO `sys_menu` VALUES (3009, 'WhatsApp会话删除', 3007, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'whatsapp:history:remove', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');
INSERT INTO `sys_menu` VALUES (3010, 'WhatsApp会话导出', 3007, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'whatsapp:history:export', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');
INSERT INTO `sys_menu` VALUES (4000, 'ZoomPhone管理', 0, 10, 'zoomphone', NULL, '', 1, 0, 'M', '0', '0', '', 'phone', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', 'ZoomPhone管理目录');
INSERT INTO `sys_menu` VALUES (4001, '客户管理', 4000, 0, 'zoomphoneUser', 'talk/zoomphone/user/index', NULL, 1, 0, 'C', '0', '0', 'zoomphone:user:list', 'peoples', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 17:13:46', 'ZoomPhone客户管理菜单');
INSERT INTO `sys_menu` VALUES (4002, 'ZoomPhone客户查询', 4001, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'zoomphone:user:query', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');
INSERT INTO `sys_menu` VALUES (4003, 'ZoomPhone客户新增', 4001, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'zoomphone:user:add', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');
INSERT INTO `sys_menu` VALUES (4004, 'ZoomPhone客户修改', 4001, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'zoomphone:user:edit', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');
INSERT INTO `sys_menu` VALUES (4005, 'ZoomPhone客户删除', 4001, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'zoomphone:user:remove', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');
INSERT INTO `sys_menu` VALUES (4006, 'ZoomPhone客户导出', 4001, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'zoomphone:user:export', '#', 103, 1, '2026-02-06 00:00:00', 1, '2026-02-06 00:00:00', '');

-- ----------------------------
-- Table structure for sys_notice
-- ----------------------------
DROP TABLE IF EXISTS `sys_notice`;
CREATE TABLE `sys_notice`  (
  `notice_id` bigint NOT NULL COMMENT '公告ID',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `notice_title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '公告标题',
  `notice_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '公告类型（1通知 2公告）',
  `notice_content` longblob NULL COMMENT '公告内容',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '公告状态（0正常 1关闭）',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`notice_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '通知公告表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_notice
-- ----------------------------
INSERT INTO `sys_notice` VALUES (1, '000000', '温馨提醒：2018-07-01 新版本发布啦', '2', 0xE696B0E78988E69CACE58685E5AEB9, '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '管理员');
INSERT INTO `sys_notice` VALUES (2, '000000', '维护通知：2018-07-01 系统凌晨维护', '1', 0xE7BBB4E68AA4E58685E5AEB9, '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '管理员');

-- ----------------------------
-- Table structure for sys_oper_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_oper_log`;
CREATE TABLE `sys_oper_log`  (
  `oper_id` bigint NOT NULL COMMENT '日志主键',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '模块标题',
  `business_type` int NULL DEFAULT 0 COMMENT '业务类型（0其它 1新增 2修改 3删除）',
  `method` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '方法名称',
  `request_method` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '请求方式',
  `operator_type` int NULL DEFAULT 0 COMMENT '操作类别（0其它 1后台用户 2手机端用户）',
  `oper_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '操作人员',
  `dept_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '部门名称',
  `oper_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '请求URL',
  `oper_ip` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '主机地址',
  `oper_location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '操作地点',
  `oper_param` varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '请求参数',
  `json_result` varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '返回参数',
  `status` int NULL DEFAULT 0 COMMENT '操作状态（0正常 1异常）',
  `error_msg` varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '错误消息',
  `oper_time` datetime NULL DEFAULT NULL COMMENT '操作时间',
  `cost_time` bigint NULL DEFAULT 0 COMMENT '消耗时间',
  PRIMARY KEY (`oper_id`) USING BTREE,
  INDEX `idx_sys_oper_log_bt`(`business_type` ASC) USING BTREE,
  INDEX `idx_sys_oper_log_s`(`status` ASC) USING BTREE,
  INDEX `idx_sys_oper_log_ot`(`oper_time` ASC) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '操作日志记录' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_oper_log
-- ----------------------------
INSERT INTO `sys_oper_log` VALUES (2016046209797484546, '000000', '代码生成', 6, 'org.dromara.generator.controller.GenController.importTableSave()', 'POST', 1, 'admin', '研发部门', '/tool/gen/importTable', '0:0:0:0:0:0:0:1', '内网IP', '{\"tables\":\"talk_session,talk_agent\",\"dataName\":\"master\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 15:10:47', 156);
INSERT INTO `sys_oper_log` VALUES (2016046232199262209, '000000', '代码生成', 8, 'org.dromara.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', '研发部门', '/tool/gen/batchGenCode', '0:0:0:0:0:0:0:1', '内网IP', '{\"tableIdStr\":\"2016046209151561729,2016046209541632002\"}', '', 0, '', '2026-01-27 15:10:53', 207);
INSERT INTO `sys_oper_log` VALUES (2016048846580224001, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":103,\"createBy\":null,\"createTime\":\"2026-01-26 15:21:39\",\"updateBy\":null,\"updateTime\":null,\"menuId\":5,\"parentId\":0,\"menuName\":\"测试菜单\",\"orderNum\":5,\"path\":\"demo\",\"component\":null,\"queryParam\":\"\",\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"M\",\"visible\":\"1\",\"status\":\"0\",\"perms\":\"\",\"icon\":\"star\",\"remark\":\"测试菜单\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 15:21:16', 26);
INSERT INTO `sys_oper_log` VALUES (2016048872354222081, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":103,\"createBy\":null,\"createTime\":\"2026-01-26 15:21:39\",\"updateBy\":null,\"updateTime\":null,\"menuId\":4,\"parentId\":0,\"menuName\":\"PLUS官网\",\"orderNum\":5,\"path\":\"https://gitee.com/dromara/RuoYi-Vue-Plus\",\"component\":null,\"queryParam\":\"\",\"isFrame\":\"0\",\"isCache\":\"0\",\"menuType\":\"M\",\"visible\":\"1\",\"status\":\"0\",\"perms\":\"\",\"icon\":\"guide\",\"remark\":\"RuoYi-Vue-Plus官网地址\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 15:21:22', 9);
INSERT INTO `sys_oper_log` VALUES (2016048901445914626, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":103,\"createBy\":null,\"createTime\":\"2026-01-26 15:21:39\",\"updateBy\":null,\"updateTime\":null,\"menuId\":4,\"parentId\":0,\"menuName\":\"PLUS官网\",\"orderNum\":5,\"path\":\"https://gitee.com/dromara/RuoYi-Vue-Plus\",\"component\":null,\"queryParam\":\"\",\"isFrame\":\"0\",\"isCache\":\"0\",\"menuType\":\"M\",\"visible\":\"1\",\"status\":\"0\",\"perms\":\"\",\"icon\":\"guide\",\"remark\":\"RuoYi-Vue-Plus官网地址\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 15:21:29', 8);
INSERT INTO `sys_oper_log` VALUES (2016048969645297666, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":103,\"createBy\":null,\"createTime\":\"2026-01-26 15:21:39\",\"updateBy\":null,\"updateTime\":null,\"menuId\":1,\"parentId\":0,\"menuName\":\"系统管理\",\"orderNum\":1,\"path\":\"system\",\"component\":null,\"queryParam\":\"\",\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"M\",\"visible\":\"1\",\"status\":\"0\",\"perms\":\"\",\"icon\":\"system\",\"remark\":\"系统管理目录\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 15:21:45', 11);
INSERT INTO `sys_oper_log` VALUES (2016049021138767873, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":103,\"createBy\":null,\"createTime\":\"2026-01-26 15:21:39\",\"updateBy\":null,\"updateTime\":null,\"menuId\":1,\"parentId\":0,\"menuName\":\"系统管理\",\"orderNum\":1,\"path\":\"system\",\"component\":null,\"queryParam\":\"\",\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"M\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"\",\"icon\":\"system\",\"remark\":\"系统管理目录\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 15:21:58', 9);
INSERT INTO `sys_oper_log` VALUES (2016049067943006209, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":103,\"createBy\":null,\"createTime\":\"2026-01-26 15:21:39\",\"updateBy\":null,\"updateTime\":null,\"menuId\":2,\"parentId\":0,\"menuName\":\"系统监控\",\"orderNum\":3,\"path\":\"monitor\",\"component\":null,\"queryParam\":\"\",\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"M\",\"visible\":\"1\",\"status\":\"0\",\"perms\":\"\",\"icon\":\"monitor\",\"remark\":\"系统监控目录\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 15:22:09', 9);
INSERT INTO `sys_oper_log` VALUES (2016056352316710914, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-27 15:46:58\",\"updateBy\":null,\"updateTime\":null,\"menuId\":2005,\"parentId\":0,\"menuName\":\"会话管理\",\"orderNum\":6,\"path\":\"session\",\"component\":\"talk/session/index\",\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"C\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"talk:session:list\",\"icon\":\"message\",\"remark\":\"会话管理菜单\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 15:51:06', 26);
INSERT INTO `sys_oper_log` VALUES (2016063439071469569, '000000', '字典类型', 1, 'org.dromara.system.controller.system.SysDictTypeController.add()', 'POST', 1, 'admin', '研发部门', '/system/dict/type', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"dictId\":null,\"dictName\":\"TTS发音人\",\"dictType\":\"tts_vcn\",\"remark\":\"TTS语音合成发音人配置\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 16:19:15', 32);
INSERT INTO `sys_oper_log` VALUES (2016063919025676289, '000000', '字典数据', 1, 'org.dromara.system.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"dictCode\":null,\"dictSort\":0,\"dictLabel\":\"讯飞小露-女声\",\"dictValue\":\"x4_yezi\",\"dictType\":\"tts_vcn\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":null,\"remark\":\"中文女声，温柔甜美\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 16:21:10', 15);
INSERT INTO `sys_oper_log` VALUES (2016064009618448385, '000000', '字典数据', 1, 'org.dromara.system.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"dictCode\":null,\"dictSort\":0,\"dictLabel\":\"聆小珊\",\"dictValue\":\"x4_lingxiaoshan_casualnews\",\"dictType\":\"tts_vcn\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":null,\"remark\":\"中文女声，咨询\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 16:21:31', 11);
INSERT INTO `sys_oper_log` VALUES (2016064089125675010, '000000', '字典数据', 1, 'org.dromara.system.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"dictCode\":null,\"dictSort\":0,\"dictLabel\":\"耶飞博\",\"dictValue\":\"x4_lingfeibo_profnews\",\"dictType\":\"tts_vcn\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":null,\"remark\":\"中文男声，新闻\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 16:21:50', 11);
INSERT INTO `sys_oper_log` VALUES (2016064204947185666, '000000', '字典数据', 1, 'org.dromara.system.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"dictCode\":null,\"dictSort\":0,\"dictLabel\":\"凯瑟琳\",\"dictValue\":\"x4_enus_catherine_profnews\",\"dictType\":\"tts_vcn\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":null,\"remark\":\"英文女声\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 16:22:18', 10);
INSERT INTO `sys_oper_log` VALUES (2016064430403608577, '000000', '字典数据', 1, 'org.dromara.system.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"dictCode\":null,\"dictSort\":0,\"dictLabel\":\"Ryan\",\"dictValue\":\"x4_enus_ryan_assist\",\"dictType\":\"tts_vcn\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":null,\"remark\":\"英文男声\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 16:23:12', 10);
INSERT INTO `sys_oper_log` VALUES (2016064644854177794, '000000', '字典类型', 1, 'org.dromara.system.controller.system.SysDictTypeController.add()', 'POST', 1, 'admin', '研发部门', '/system/dict/type', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"dictId\":null,\"dictName\":\"客服回复语言\",\"dictType\":\"agent_language\",\"remark\":\"客服AI回复使用的语言\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 16:24:03', 7);
INSERT INTO `sys_oper_log` VALUES (2016065013747408897, '000000', '字典数据', 1, 'org.dromara.system.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"dictCode\":null,\"dictSort\":0,\"dictLabel\":\"中文\",\"dictValue\":\"zh\",\"dictType\":\"agent_language\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":null,\"remark\":\"AI用中文回复\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 16:25:31', 11);
INSERT INTO `sys_oper_log` VALUES (2016065120085598209, '000000', '字典数据', 1, 'org.dromara.system.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"dictCode\":null,\"dictSort\":0,\"dictLabel\":\"英文\",\"dictValue\":\"en\",\"dictType\":\"agent_language\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":null,\"remark\":\"AI用英文回复\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 16:25:56', 9);
INSERT INTO `sys_oper_log` VALUES (2016065200163250178, '000000', '字典数据', 1, 'org.dromara.system.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"dictCode\":null,\"dictSort\":0,\"dictLabel\":\"日文\",\"dictValue\":\"ja\",\"dictType\":\"agent_language\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":null,\"remark\":\"AI用日文回复\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 16:26:15', 11);
INSERT INTO `sys_oper_log` VALUES (2016065272150089730, '000000', '字典数据', 1, 'org.dromara.system.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"dictCode\":null,\"dictSort\":0,\"dictLabel\":\"韩文\",\"dictValue\":\"ko\",\"dictType\":\"agent_language\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":null,\"remark\":\"AI用韩文回复\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 16:26:32', 9);
INSERT INTO `sys_oper_log` VALUES (2016107114073747457, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016107113985667073\",\"name\":\"测试1\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769512350303_616fa978-4dbe-48de-b497-709ff0687402.png\",\"description\":\"测试\",\"greetingMessage\":\"你好\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 19:12:48', 26);
INSERT INTO `sys_oper_log` VALUES (2016107979408994305, '000000', '客服配置', 3, 'org.dromara.talk.controller.admin.TalkAgentController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/agent/2016107113985667073', '0:0:0:0:0:0:0:1', '内网IP', '[\"2016107113985667073\"]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 19:16:14', 17);
INSERT INTO `sys_oper_log` VALUES (2016108027387637761, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016108027320528898\",\"name\":\"是的啊\",\"gender\":\"0\",\"avatarUrl\":\"/uploads/avatars/1769512581266_dcbdfa73-64c0-43b8-884d-77478510be5e.png\",\"description\":\"阿萨斯\",\"greetingMessage\":\"多少啊\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 19:16:26', 10);
INSERT INTO `sys_oper_log` VALUES (2016108299459559425, '000000', '客服配置', 3, 'org.dromara.talk.controller.admin.TalkAgentController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/agent/2016108027320528898', '0:0:0:0:0:0:0:1', '内网IP', '[\"2016108027320528898\"]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 19:17:31', 30);
INSERT INTO `sys_oper_log` VALUES (2016108385602174977, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016108027320528899\",\"name\":\"你好\",\"gender\":\"0\",\"avatarUrl\":\"/uploads/avatars/1769512661391_8da760a4-ac06-45b5-9459-c9541e3aa493.png\",\"description\":\"你好\",\"greetingMessage\":\"你好\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 19:17:51', 15);
INSERT INTO `sys_oper_log` VALUES (2016108630608248833, '000000', '客服配置', 3, 'org.dromara.talk.controller.admin.TalkAgentController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/agent/2016108027320528899', '0:0:0:0:0:0:0:1', '内网IP', '[\"2016108027320528899\"]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 19:18:50', 7);
INSERT INTO `sys_oper_log` VALUES (2016108827778228226, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016108027320528900\",\"name\":\"11\",\"gender\":\"0\",\"avatarUrl\":\"/uploads/avatars/1769512770902_391892fc-87a9-4a2e-89ad-4711acb11fb1.png\",\"description\":\"2222\",\"greetingMessage\":\"23232\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 19:19:37', 18);
INSERT INTO `sys_oper_log` VALUES (2016108851337633794, '000000', '客服配置', 3, 'org.dromara.talk.controller.admin.TalkAgentController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/agent/2016108027320528900', '0:0:0:0:0:0:0:1', '内网IP', '[\"2016108027320528900\"]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 19:19:42', 13);
INSERT INTO `sys_oper_log` VALUES (2016109741696098306, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016108027320528901\",\"name\":\"111\",\"gender\":\"0\",\"avatarUrl\":\"/uploads/avatars/1769512974169_8ffa6477-3f99-467b-aad9-ca2294838ca7.png\",\"description\":\"111\",\"greetingMessage\":\"111\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 19:23:15', 7);
INSERT INTO `sys_oper_log` VALUES (2016113659327143937, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016108027320528902\",\"name\":\"11\",\"gender\":\"0\",\"avatarUrl\":\"/uploads/avatars/1769513925005_d62d446e-3209-42e1-8285-1eb34a33612a.png\",\"description\":\"111\",\"greetingMessage\":\"111\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 19:38:49', 33);
INSERT INTO `sys_oper_log` VALUES (2016114267169873921, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016108027320528903\",\"name\":\"22\",\"gender\":\"0\",\"avatarUrl\":\"/uploads/avatars/1769514070596_d525bd72-16d4-4315-b9bb-cab32fe4977a.png\",\"description\":\"2\",\"greetingMessage\":\"2\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 19:41:14', 11);
INSERT INTO `sys_oper_log` VALUES (2016114916418772994, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":3,\"name\":\"33\",\"gender\":\"0\",\"avatarUrl\":\"/uploads/avatars/1769514222983_cc75fa25-5bb7-460e-9c5f-1d0c5e21b58e.png\",\"description\":\"33\",\"greetingMessage\":\"33\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-27 19:43:48', 9);
INSERT INTO `sys_oper_log` VALUES (2016333709308948481, '000000', '字典数据', 2, 'org.dromara.system.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-27 16:21:10\",\"updateBy\":null,\"updateTime\":null,\"dictCode\":\"2016063918958567426\",\"dictSort\":0,\"dictLabel\":\"讯飞小露-中文女声\",\"dictValue\":\"x4_yezi\",\"dictType\":\"tts_vcn\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":\"N\",\"remark\":\"中文女声，温柔甜美\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 10:13:13', 34);
INSERT INTO `sys_oper_log` VALUES (2016333768234725378, '000000', '字典数据', 2, 'org.dromara.system.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-27 16:21:31\",\"updateBy\":null,\"updateTime\":null,\"dictCode\":\"2016064009555533826\",\"dictSort\":0,\"dictLabel\":\"聆小珊-中文女生（咨询）\",\"dictValue\":\"x4_lingxiaoshan_casualnews\",\"dictType\":\"tts_vcn\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":\"N\",\"remark\":\"中文女声，咨询\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 10:13:27', 12);
INSERT INTO `sys_oper_log` VALUES (2016333824601976833, '000000', '字典数据', 2, 'org.dromara.system.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-27 16:21:50\",\"updateBy\":null,\"updateTime\":null,\"dictCode\":\"2016064089062760450\",\"dictSort\":0,\"dictLabel\":\"耶飞博-中文男生（新闻）\",\"dictValue\":\"x4_lingfeibo_profnews\",\"dictType\":\"tts_vcn\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":\"N\",\"remark\":\"中文男声，新闻\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 10:13:40', 14);
INSERT INTO `sys_oper_log` VALUES (2016333872987467778, '000000', '字典数据', 2, 'org.dromara.system.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-27 16:22:18\",\"updateBy\":null,\"updateTime\":null,\"dictCode\":\"2016064204880076801\",\"dictSort\":0,\"dictLabel\":\"凯瑟琳-英文女声\",\"dictValue\":\"x4_enus_catherine_profnews\",\"dictType\":\"tts_vcn\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":\"N\",\"remark\":\"英文女声\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 10:13:52', 14);
INSERT INTO `sys_oper_log` VALUES (2016333896756588546, '000000', '字典数据', 2, 'org.dromara.system.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-27 16:21:50\",\"updateBy\":null,\"updateTime\":null,\"dictCode\":\"2016064089062760450\",\"dictSort\":0,\"dictLabel\":\"耶飞博-中文男声（新闻）\",\"dictValue\":\"x4_lingfeibo_profnews\",\"dictType\":\"tts_vcn\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":\"N\",\"remark\":\"中文男声，新闻\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 10:13:57', 11);
INSERT INTO `sys_oper_log` VALUES (2016333926989131777, '000000', '字典数据', 2, 'org.dromara.system.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-27 16:21:31\",\"updateBy\":null,\"updateTime\":null,\"dictCode\":\"2016064009555533826\",\"dictSort\":0,\"dictLabel\":\"聆小珊-中文女声（咨询）\",\"dictValue\":\"x4_lingxiaoshan_casualnews\",\"dictType\":\"tts_vcn\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":\"N\",\"remark\":\"中文女声，咨询\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 10:14:05', 12);
INSERT INTO `sys_oper_log` VALUES (2016333973034201089, '000000', '字典数据', 2, 'org.dromara.system.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/dict/data', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-27 16:23:12\",\"updateBy\":null,\"updateTime\":null,\"dictCode\":\"2016064430340694017\",\"dictSort\":0,\"dictLabel\":\"Ryan-英文男声\",\"dictValue\":\"x4_enus_ryan_assist\",\"dictType\":\"tts_vcn\",\"cssClass\":\"\",\"listClass\":\"primary\",\"isDefault\":\"N\",\"remark\":\"英文男声\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 10:14:16', 12);
INSERT INTO `sys_oper_log` VALUES (2016335385843560449, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":4,\"name\":\"小明\",\"gender\":\"0\",\"avatarUrl\":\"/uploads/avatars/1769566776820_f8799bf9-77f9-436e-ba28-4cb62a2741d1.png\",\"description\":\"中文男性\",\"greetingMessage\":\"你好我是小明\",\"status\":\"0\",\"ttsVcn\":\"x4_lingfeibo_profnews\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 10:19:52', 17);
INSERT INTO `sys_oper_log` VALUES (2016335494283096066, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":5,\"name\":\"小美\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769566804602_2b1a1c42-1065-470c-ab4c-4f2589c5b4b2.png\",\"description\":\"中文女声\",\"greetingMessage\":\"你好我是小美\",\"status\":\"0\",\"ttsVcn\":\"x4_lingxiaoshan_casualnews\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 10:20:18', 11);
INSERT INTO `sys_oper_log` VALUES (2016335595781058561, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":6,\"name\":\"外国人\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769566827548_6119c190-a334-40bf-9284-9e4bef48f35c.png\",\"description\":\"英文女声\",\"greetingMessage\":\"你好我是外国人\",\"status\":\"0\",\"ttsVcn\":\"x4_enus_catherine_profnews\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 10:20:42', 6);
INSERT INTO `sys_oper_log` VALUES (2016353808539475969, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":4,\"name\":\"小明\",\"gender\":\"0\",\"avatarUrl\":\"/uploads/avatars/1769566776820_f8799bf9-77f9-436e-ba28-4cb62a2741d1.png\",\"description\":\"中文男性\",\"greetingMessage\":\"你好我是小明\",\"status\":\"0\",\"ttsVcn\":\"x4_lingfeibo_profnews\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 11:33:05', 28);
INSERT INTO `sys_oper_log` VALUES (2016358804257599489, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":6,\"name\":\"外国人\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769566827548_6119c190-a334-40bf-9284-9e4bef48f35c.png\",\"description\":\"英文女声\",\"greetingMessage\":\"你好我是外国人\",\"status\":\"0\",\"ttsVcn\":\"x4_enus_catherine_profnews\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 11:52:56', 15);
INSERT INTO `sys_oper_log` VALUES (2016358823484289025, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":5,\"name\":\"小美\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769566804602_2b1a1c42-1065-470c-ab4c-4f2589c5b4b2.png\",\"description\":\"中文女声\",\"greetingMessage\":\"你好我是小美\",\"status\":\"0\",\"ttsVcn\":\"x4_lingxiaoshan_casualnews\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 11:53:00', 6);
INSERT INTO `sys_oper_log` VALUES (2016358847769309185, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":4,\"name\":\"小明\",\"gender\":\"0\",\"avatarUrl\":\"/uploads/avatars/1769566776820_f8799bf9-77f9-436e-ba28-4cb62a2741d1.png\",\"description\":\"中文男性\",\"greetingMessage\":\"你好我是小明\",\"status\":\"0\",\"ttsVcn\":\"x4_lingfeibo_profnews\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"zh\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 11:53:06', 7);
INSERT INTO `sys_oper_log` VALUES (2016384181386440705, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":6,\"name\":\"外国人\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769566827548_6119c190-a334-40bf-9284-9e4bef48f35c.png\",\"description\":\"英文女声\",\"greetingMessage\":\"你好我是外国人\",\"status\":\"0\",\"ttsVcn\":\"x4_enus_catherine_profnews\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"en\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 13:33:46', 7);
INSERT INTO `sys_oper_log` VALUES (2016384338089832449, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":6,\"name\":\"外国人\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769566827548_6119c190-a334-40bf-9284-9e4bef48f35c.png\",\"description\":\"英文女声\",\"greetingMessage\":\"Hello！I\'m xiaomei\",\"status\":\"0\",\"ttsVcn\":\"x4_enus_catherine_profnews\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":1,\"language\":\"en\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 13:34:23', 6);
INSERT INTO `sys_oper_log` VALUES (2016412974079647745, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.uploadAvatar()', 'POST', 1, 'admin', '研发部门', '/talk/admin/agent/avatar', '0:0:0:0:0:0:0:1', '内网IP', '', '{\"code\":200,\"msg\":\"/uploads/avatars/1769585290800_1abaddab-3a95-4ca8-bf0c-308bfc4c7845.png\",\"data\":null}', 0, '', '2026-01-28 15:28:11', 9);
INSERT INTO `sys_oper_log` VALUES (2016413039552733185, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.uploadAvatar()', 'POST', 1, 'admin', '研发部门', '/talk/admin/agent/avatar', '0:0:0:0:0:0:0:1', '内网IP', '', '{\"code\":200,\"msg\":\"/uploads/avatars/1769585306430_f5731b75-af73-4b68-b009-0ad891eab5ff.png\",\"data\":null}', 0, '', '2026-01-28 15:28:26', 6);
INSERT INTO `sys_oper_log` VALUES (2016413492155883521, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.uploadAvatar()', 'POST', 1, 'admin', '研发部门', '/talk/admin/agent/avatar', '0:0:0:0:0:0:0:1', '内网IP', '', '{\"code\":200,\"msg\":\"/uploads/avatars/1769585414340_6ff860b3-3912-4e69-967f-1b30269c3eae.png\",\"data\":null}', 0, '', '2026-01-28 15:30:14', 8);
INSERT INTO `sys_oper_log` VALUES (2016413802303692802, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.uploadAvatar()', 'POST', 1, 'admin', '研发部门', '/talk/admin/agent/avatar', '0:0:0:0:0:0:0:1', '内网IP', '', '{\"code\":200,\"msg\":\"/uploads/avatars/1769585488286_aa6f8a1a-69a4-41ab-912d-2e8a2a7daff6.png\",\"data\":null}', 0, '', '2026-01-28 15:31:28', 4);
INSERT INTO `sys_oper_log` VALUES (2016413885715816450, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":null,\"name\":\"小美\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769585488286_aa6f8a1a-69a4-41ab-912d-2e8a2a7daff6.png\",\"greetingMessage\":\"你好，我是小美\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0}', '', 1, '\r\n### Error updating database.  Cause: java.sql.SQLSyntaxErrorException: Unknown column \'create_dept\' in \'field list\'\r\n### The error may exist in org/dromara/talk/mapper/TalkAgentMapper.java (best guess)\r\n### The error may involve org.dromara.talk.mapper.TalkAgentMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO talk_agent  ( name, gender, avatar_url, greeting_message, status, tts_vcn, tts_speed, tts_pitch, tts_volume, tts_bgs,   create_dept, create_by, create_time, update_by, update_time )  VALUES (  ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,   ?, ?, ?, ?, ?  )\r\n### Cause: java.sql.SQLSyntaxErrorException: Unknown column \'create_dept\' in \'field list\'\n; bad SQL grammar []', '2026-01-28 15:31:48', 126);
INSERT INTO `sys_oper_log` VALUES (2016414566916923393, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":1,\"name\":\"小美\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769585488286_aa6f8a1a-69a4-41ab-912d-2e8a2a7daff6.png\",\"greetingMessage\":\"你好，我是小美\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 15:34:31', 9);
INSERT INTO `sys_oper_log` VALUES (2016414679710146561, '000000', '字典类型', 3, 'org.dromara.system.controller.system.SysDictTypeController.remove()', 'DELETE', 1, 'admin', '研发部门', '/system/dict/type/2016064644791263234', '0:0:0:0:0:0:0:1', '内网IP', '[\"2016064644791263234\"]', '', 1, '客服回复语言已分配,不能删除', '2026-01-28 15:34:57', 6);
INSERT INTO `sys_oper_log` VALUES (2016414718058668033, '000000', '字典类型', 3, 'org.dromara.system.controller.system.SysDictDataController.remove()', 'DELETE', 1, 'admin', '研发部门', '/system/dict/data/2016065013680300033', '0:0:0:0:0:0:0:1', '内网IP', '[\"2016065013680300033\"]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 15:35:07', 13);
INSERT INTO `sys_oper_log` VALUES (2016414733971857410, '000000', '字典类型', 3, 'org.dromara.system.controller.system.SysDictDataController.remove()', 'DELETE', 1, 'admin', '研发部门', '/system/dict/data/2016065120018489345,2016065200100335617,2016065272087175170', '0:0:0:0:0:0:0:1', '内网IP', '[\"2016065120018489345\",\"2016065200100335617\",\"2016065272087175170\"]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 15:35:10', 9);
INSERT INTO `sys_oper_log` VALUES (2016414753248878593, '000000', '字典类型', 3, 'org.dromara.system.controller.system.SysDictTypeController.remove()', 'DELETE', 1, 'admin', '研发部门', '/system/dict/type/2016064644791263234', '0:0:0:0:0:0:0:1', '内网IP', '[\"2016064644791263234\"]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 15:35:15', 9);
INSERT INTO `sys_oper_log` VALUES (2016434213821095938, '000000', '代码生成', 6, 'org.dromara.generator.controller.GenController.importTableSave()', 'POST', 1, 'admin', '研发部门', '/tool/gen/importTable', '0:0:0:0:0:0:0:1', '内网IP', '{\"tables\":\"talk_user\",\"dataName\":\"master\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 16:52:35', 117);
INSERT INTO `sys_oper_log` VALUES (2016434232989065217, '000000', '代码生成', 8, 'org.dromara.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', '研发部门', '/tool/gen/batchGenCode', '0:0:0:0:0:0:0:1', '内网IP', '{\"tableIdStr\":\"2016434213435219970\"}', '', 0, '', '2026-01-28 16:52:39', 194);
INSERT INTO `sys_oper_log` VALUES (2016438781065879553, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":null,\"username\":\"user\",\"nickname\":\"测试\",\"status\":\"0\"}', '', 1, '\r\n### Error updating database.  Cause: java.sql.SQLSyntaxErrorException: Unknown column \'create_dept\' in \'field list\'\r\n### The error may exist in org/dromara/talk/mapper/TalkUserMapper.java (best guess)\r\n### The error may involve org.dromara.talk.mapper.TalkUserMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO talk_user  ( id, username, password, nickname, status,  create_dept, create_by, create_time, update_by, update_time )  VALUES (  ?, ?, ?, ?, ?,  ?, ?, ?, ?, ?  )\r\n### Cause: java.sql.SQLSyntaxErrorException: Unknown column \'create_dept\' in \'field list\'\n; bad SQL grammar []', '2026-01-28 17:10:44', 13);
INSERT INTO `sys_oper_log` VALUES (2016438949546876931, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":null,\"username\":\"user\",\"nickname\":\"测试\",\"status\":\"0\"}', '', 1, '\r\n### Error updating database.  Cause: java.sql.SQLSyntaxErrorException: Unknown column \'create_by\' in \'field list\'\r\n### The error may exist in org/dromara/talk/mapper/TalkUserMapper.java (best guess)\r\n### The error may involve org.dromara.talk.mapper.TalkUserMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO talk_user  ( id, username, password, nickname, status,  create_dept, create_by, create_time, update_by, update_time )  VALUES (  ?, ?, ?, ?, ?,  ?, ?, ?, ?, ?  )\r\n### Cause: java.sql.SQLSyntaxErrorException: Unknown column \'create_by\' in \'field list\'\n; bad SQL grammar []', '2026-01-28 17:11:24', 3);
INSERT INTO `sys_oper_log` VALUES (2016439005121404930, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":null,\"username\":\"user\",\"nickname\":\"测试\",\"status\":\"0\"}', '', 1, '\r\n### Error updating database.  Cause: java.sql.SQLSyntaxErrorException: Unknown column \'create_by\' in \'field list\'\r\n### The error may exist in org/dromara/talk/mapper/TalkUserMapper.java (best guess)\r\n### The error may involve org.dromara.talk.mapper.TalkUserMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO talk_user  ( id, username, password, nickname, status,  create_dept, create_by, create_time, update_by, update_time )  VALUES (  ?, ?, ?, ?, ?,  ?, ?, ?, ?, ?  )\r\n### Cause: java.sql.SQLSyntaxErrorException: Unknown column \'create_by\' in \'field list\'\n; bad SQL grammar []', '2026-01-28 17:11:37', 3);
INSERT INTO `sys_oper_log` VALUES (2016439847648026625, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016439847585112065\",\"username\":\"user\",\"nickname\":\"测试\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 17:14:58', 7);
INSERT INTO `sys_oper_log` VALUES (2016439955978510337, '000000', '对话用户', 3, 'org.dromara.talk.controller.admin.TalkUserController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/user/2016439847585112065', '0:0:0:0:0:0:0:1', '内网IP', '[\"2016439847585112065\"]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 17:15:24', 14);
INSERT INTO `sys_oper_log` VALUES (2016440151605043201, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":null,\"username\":\"user\",\"nickname\":\"测试\",\"status\":\"0\"}', '', 1, '\r\n### Error updating database.  Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \'user\' for key \'talk_user.idx_username\'\r\n### The error may exist in org/dromara/talk/mapper/TalkUserMapper.java (best guess)\r\n### The error may involve org.dromara.talk.mapper.TalkUserMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO talk_user  ( id, username, password, nickname, status,  create_dept, create_by, create_time, update_by, update_time )  VALUES (  ?, ?, ?, ?, ?,  ?, ?, ?, ?, ?  )\r\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry \'user\' for key \'talk_user.idx_username\'\n; Duplicate entry \'user\' for key \'talk_user.idx_username\'', '2026-01-28 17:16:10', 5);
INSERT INTO `sys_oper_log` VALUES (2016440209306083330, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016440209238974465\",\"username\":\"user\",\"nickname\":\"测试\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 17:16:24', 8);
INSERT INTO `sys_oper_log` VALUES (2016440359646715905, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016440359583801345\",\"username\":\"user1\",\"nickname\":\"测试2\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 17:17:00', 6);
INSERT INTO `sys_oper_log` VALUES (2016440710517010434, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016440359583801346\",\"username\":\"user2\",\"nickname\":\"测试2\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 17:18:24', 36);
INSERT INTO `sys_oper_log` VALUES (2016440777730732033, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016440359583801347\",\"username\":\"1\",\"nickname\":\"1\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 17:18:40', 8);
INSERT INTO `sys_oper_log` VALUES (2016441016541818882, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016440359583801348\",\"username\":\"2\",\"nickname\":\"2\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 17:19:37', 5);
INSERT INTO `sys_oper_log` VALUES (2016441109542121474, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2016440359583801349\",\"username\":\"6\",\"nickname\":\"6\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 17:19:59', 7);
INSERT INTO `sys_oper_log` VALUES (2016441325511028738, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":6,\"username\":\"6\",\"nickname\":\"6\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-28 17:20:50', 6);
INSERT INTO `sys_oper_log` VALUES (2016687075109232642, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3001,\"configName\":\"讯飞TTS-AppID\",\"configKey\":\"xunfei.tts.appId\",\"configValue\":\"0b53c170\",\"configType\":\"N\",\"remark\":\"讯飞语音合成AppID\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 09:37:22', 24);
INSERT INTO `sys_oper_log` VALUES (2016687075109232643, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3002,\"configName\":\"讯飞TTS-APIKey\",\"configKey\":\"xunfei.tts.apiKey\",\"configValue\":\"3915b5e04c7e118fea615889a1c94794\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 09:37:22', 24);
INSERT INTO `sys_oper_log` VALUES (2016687075952287745, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3003,\"configName\":\"讯飞TTS-APISecret\",\"configKey\":\"xunfei.tts.apiSecret\",\"configValue\":\"ZTZjZmU3YzczMjdmNmQwMTc0ZDU3OTEw\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APISecret\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 09:37:22', 12);
INSERT INTO `sys_oper_log` VALUES (2016687075952287746, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3004,\"configName\":\"Dify-APIKey\",\"configKey\":\"dify.apiKey\",\"configValue\":\"app-UTiRGLcqL5nA695eJMwVHK9h\",\"configType\":\"N\",\"remark\":\"Dify工作流APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 09:37:22', 15);
INSERT INTO `sys_oper_log` VALUES (2016687075952287747, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3005,\"configName\":\"Dify-APIURL\",\"configKey\":\"dify.apiUrl\",\"configValue\":\"http://192.168.1.127/v1\",\"configType\":\"N\",\"remark\":\"Dify工作流API地址\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 09:37:22', 15);
INSERT INTO `sys_oper_log` VALUES (2016689789767520258, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3001,\"configName\":\"讯飞TTS-AppID\",\"configKey\":\"xunfei.tts.appId\",\"configValue\":\"0b53c170\",\"configType\":\"N\",\"remark\":\"讯飞语音合成AppID\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 09:48:09', 24);
INSERT INTO `sys_oper_log` VALUES (2016689790316974082, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3002,\"configName\":\"讯飞TTS-APIKey\",\"configKey\":\"xunfei.tts.apiKey\",\"configValue\":\"3915b5e04c7e118fea615889a1c94794\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 09:48:09', 11);
INSERT INTO `sys_oper_log` VALUES (2016689790316974083, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3004,\"configName\":\"Dify-APIKey\",\"configKey\":\"dify.apiKey\",\"configValue\":\"app-UTiRGLcqL5nA695eJMwVHK9h\",\"configType\":\"N\",\"remark\":\"Dify工作流APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 09:48:09', 15);
INSERT INTO `sys_oper_log` VALUES (2016689790316974084, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3003,\"configName\":\"讯飞TTS-APISecret\",\"configKey\":\"xunfei.tts.apiSecret\",\"configValue\":\"ZTZjZmU3YzczMjdmNmQwMTc0ZDU3OTEw\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APISecret\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 09:48:09', 15);
INSERT INTO `sys_oper_log` VALUES (2016689790316974085, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3005,\"configName\":\"Dify-APIURL\",\"configKey\":\"dify.apiUrl\",\"configValue\":\"http://192.168.1.127/v1\",\"configType\":\"N\",\"remark\":\"Dify工作流API地址\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 09:48:09', 15);
INSERT INTO `sys_oper_log` VALUES (2016693314857852929, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":1,\"name\":\"小美\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769585488286_aa6f8a1a-69a4-41ab-912d-2e8a2a7daff6.png\",\"greetingMessage\":\"\",\"status\":\"2\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 10:02:09', 13);
INSERT INTO `sys_oper_log` VALUES (2016698676600139777, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":1,\"name\":\"小美\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769585488286_aa6f8a1a-69a4-41ab-912d-2e8a2a7daff6.png\",\"greetingMessage\":\"你好\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 10:23:28', 17);
INSERT INTO `sys_oper_log` VALUES (2016709505206751234, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"menuId\":2200,\"parentId\":0,\"menuName\":\"配置管理\",\"orderNum\":8,\"path\":\"aiConfig\",\"component\":\"talk/config/index\",\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"C\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"talk:config:list\",\"icon\":\"tool\",\"remark\":\"AI配置管理菜单\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 11:06:29', 21);
INSERT INTO `sys_oper_log` VALUES (2016709527650471938, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"menuId\":2201,\"parentId\":2200,\"menuName\":\"配置查询\",\"orderNum\":1,\"path\":\"#\",\"component\":\"\",\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"F\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"talk:config:query\",\"icon\":\"#\",\"remark\":\"\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 11:06:35', 8);
INSERT INTO `sys_oper_log` VALUES (2016709545757282306, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"menuId\":2202,\"parentId\":2200,\"menuName\":\"配置修改\",\"orderNum\":2,\"path\":\"#\",\"component\":\"\",\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"F\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"talk:config:edit\",\"icon\":\"#\",\"remark\":\"\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 11:06:39', 7);
INSERT INTO `sys_oper_log` VALUES (2016710692966535169, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.uploadAvatar()', 'POST', 1, 'admin', '研发部门', '/talk/admin/agent/avatar', '0:0:0:0:0:0:0:1', '内网IP', '', '{\"code\":200,\"msg\":\"/uploads/avatars/1769656272533_5e8e44ce-d4c5-4cfe-a408-8b286ee16d86.png\",\"data\":null}', 0, '', '2026-01-29 11:11:13', 5);
INSERT INTO `sys_oper_log` VALUES (2016710772855443458, '000000', '客服配置', 1, 'org.dromara.talk.controller.admin.TalkAgentController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":2,\"name\":\"小明\",\"gender\":\"0\",\"avatarUrl\":\"/uploads/avatars/1769656272533_5e8e44ce-d4c5-4cfe-a408-8b286ee16d86.png\",\"greetingMessage\":\"你好，我是小明\",\"status\":\"0\",\"ttsVcn\":\"x4_lingfeibo_profnews\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-29 11:11:32', 9);
INSERT INTO `sys_oper_log` VALUES (2017051743833071617, '000000', '客户端管理', 1, 'org.dromara.system.controller.system.SysClientController.add()', 'POST', 1, 'admin', '研发部门', '/system/client', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2017051743765962753\",\"clientId\":null,\"clientKey\":\"talk-web\",\"clientSecret\":\"talk-web123\",\"grantTypeList\":[\"password\"],\"grantType\":null,\"deviceType\":\"pc\",\"activeTimeout\":1800,\"timeout\":604800,\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 09:46:25', 18);
INSERT INTO `sys_oper_log` VALUES (2017067019953790977, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":null,\"username\":\"6\",\"nickname\":\"测试1\",\"status\":\"0\"}', '', 1, '\r\n### Error updating database.  Cause: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column \'user_type\' at row 1\r\n### The error may exist in org/dromara/talk/mapper/TalkUserMapper.java (best guess)\r\n### The error may involve org.dromara.talk.mapper.TalkUserMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO sys_user  ( user_id,  user_name, nick_name, user_type, password, status,     create_dept, create_by, create_time, update_by, update_time )  VALUES (  ?,  ?, ?, ?, ?, ?,     ?, ?, ?, ?, ?  )\r\n### Cause: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column \'user_type\' at row 1\n; Data truncation: Data too long for column \'user_type\' at row 1', '2026-01-30 10:47:08', 128);
INSERT INTO `sys_oper_log` VALUES (2017067343317852162, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2017067343250743298\",\"username\":\"6\",\"nickname\":\"测试1\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 10:48:25', 6);
INSERT INTO `sys_oper_log` VALUES (2017067776539123713, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2017067776476209154\",\"username\":\"6\",\"nickname\":\"测试\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 10:50:08', 6);
INSERT INTO `sys_oper_log` VALUES (2017068038263693315, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2017068038263693314\",\"username\":\"6\",\"nickname\":\"测试\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 10:51:10', 5);
INSERT INTO `sys_oper_log` VALUES (2017069107425337346, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2017069107425337345\",\"username\":\"6\",\"nickname\":\"测试\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 10:55:25', 5);
INSERT INTO `sys_oper_log` VALUES (2017069154976161793, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2017069154913247234\",\"username\":\"7\",\"nickname\":\"测试2\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 10:55:37', 8);
INSERT INTO `sys_oper_log` VALUES (2017069181521911810, '000000', '对话用户', 3, 'org.dromara.talk.controller.admin.TalkUserController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/user/2017069154913247234,2017069107425337345', '0:0:0:0:0:0:0:1', '内网IP', '[\"2017069154913247234\",\"2017069107425337345\"]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 10:55:43', 16);
INSERT INTO `sys_oper_log` VALUES (2017069786235691009, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2017069786172776449\",\"username\":\"6\",\"nickname\":\"测试\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 10:58:07', 6);
INSERT INTO `sys_oper_log` VALUES (2017070519072878593, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2017070519001575426\",\"username\":\"6\",\"nickname\":\"测试\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 11:01:02', 18);
INSERT INTO `sys_oper_log` VALUES (2017070548596584449, '000000', '对话用户', 3, 'org.dromara.talk.controller.admin.TalkUserController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/user/2017070519001575426', '0:0:0:0:0:0:0:1', '内网IP', '[\"2017070519001575426\"]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 11:01:09', 14);
INSERT INTO `sys_oper_log` VALUES (2017070603667795970, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2017070603604881409\",\"username\":\"6\",\"nickname\":\"测试\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 11:01:22', 9);
INSERT INTO `sys_oper_log` VALUES (2017070719640301570, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":\"2017070719577387010\",\"username\":\"6\",\"nickname\":\"测试\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 11:01:50', 6);
INSERT INTO `sys_oper_log` VALUES (2017071217630101506, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":4,\"username\":\"6\",\"nickname\":\"测试\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 11:03:48', 16);
INSERT INTO `sys_oper_log` VALUES (2017127788032663554, '000000', '对话会话', 3, 'org.dromara.talk.controller.admin.TalkSessionController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/session/1', '0:0:0:0:0:0:0:1', '内网IP', '[1]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 14:48:36', 18);
INSERT INTO `sys_oper_log` VALUES (2017127795708239873, '000000', '对话会话', 3, 'org.dromara.talk.controller.admin.TalkSessionController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/session/2', '0:0:0:0:0:0:0:1', '内网IP', '[2]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 14:48:38', 7);
INSERT INTO `sys_oper_log` VALUES (2017134845636956162, '000000', '对话会话', 3, 'org.dromara.talk.controller.admin.TalkSessionController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/session/4', '0:0:0:0:0:0:0:1', '内网IP', '[4]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 15:16:38', 17);
INSERT INTO `sys_oper_log` VALUES (2017142952224104450, '000000', '对话会话', 3, 'org.dromara.talk.controller.admin.TalkSessionController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/session/6,7,8,9,10', '0:0:0:0:0:0:0:1', '内网IP', '[6,7,8,9,10]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 15:48:51', 36);
INSERT INTO `sys_oper_log` VALUES (2017148650723024897, '000000', '对话会话', 3, 'org.dromara.talk.controller.admin.TalkSessionController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/session/17', '0:0:0:0:0:0:0:1', '内网IP', '[17]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 16:11:30', 17);
INSERT INTO `sys_oper_log` VALUES (2017156956094992386, '000000', '对话会话', 3, 'org.dromara.talk.controller.admin.TalkSessionController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/session/37', '0:0:0:0:0:0:0:1', '内网IP', '[37]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 16:44:30', 21);
INSERT INTO `sys_oper_log` VALUES (2017156966991794177, '000000', '对话会话', 3, 'org.dromara.talk.controller.admin.TalkSessionController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/session/36', '0:0:0:0:0:0:0:1', '内网IP', '[36]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 16:44:33', 6);
INSERT INTO `sys_oper_log` VALUES (2017156976554807298, '000000', '对话会话', 3, 'org.dromara.talk.controller.admin.TalkSessionController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/session/35', '0:0:0:0:0:0:0:1', '内网IP', '[35]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 16:44:35', 7);
INSERT INTO `sys_oper_log` VALUES (2017156984784031745, '000000', '对话会话', 3, 'org.dromara.talk.controller.admin.TalkSessionController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/session/34', '0:0:0:0:0:0:0:1', '内网IP', '[34]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 16:44:37', 6);
INSERT INTO `sys_oper_log` VALUES (2017156992031789057, '000000', '对话会话', 3, 'org.dromara.talk.controller.admin.TalkSessionController.remove()', 'DELETE', 1, 'admin', '研发部门', '/talk/admin/session/33', '0:0:0:0:0:0:0:1', '内网IP', '[33]', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-01-30 16:44:39', 5);
INSERT INTO `sys_oper_log` VALUES (2019651532118573058, '000000', '代码生成', 6, 'org.dromara.generator.controller.GenController.importTableSave()', 'POST', 1, 'admin', '研发部门', '/tool/gen/importTable', '0:0:0:0:0:0:0:1', '内网IP', '{\"tables\":\"whatsapp_history,whatsapp_user\",\"dataName\":\"master\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 13:57:03', 154);
INSERT INTO `sys_oper_log` VALUES (2019657089890140161, '000000', '代码生成', 8, 'org.dromara.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', '研发部门', '/tool/gen/batchGenCode', '0:0:0:0:0:0:0:1', '内网IP', '{\"tableIdStr\":\"2019651531602673666,2019651531925635074\"}', '', 0, '', '2026-02-06 14:19:08', 343);
INSERT INTO `sys_oper_log` VALUES (2019671672147165185, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":1,\"name\":\"小美\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769585488286_aa6f8a1a-69a4-41ab-912d-2e8a2a7daff6.png\",\"greetingMessage\":\"你好\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0,\"userId\":4}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 15:17:05', 20);
INSERT INTO `sys_oper_log` VALUES (2019671744612155394, '000000', '对话用户', 1, 'org.dromara.talk.controller.admin.TalkUserController.add()', 'POST', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":5,\"username\":\"555555\",\"nickname\":\"测试2\",\"status\":\"0\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 15:17:22', 12);
INSERT INTO `sys_oper_log` VALUES (2019674070500524034, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":2,\"name\":\"小明\",\"gender\":\"0\",\"avatarUrl\":\"/uploads/avatars/1769656272533_5e8e44ce-d4c5-4cfe-a408-8b286ee16d86.png\",\"greetingMessage\":\"你好，我是小明\",\"status\":\"0\",\"ttsVcn\":\"x4_lingfeibo_profnews\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0,\"userId\":5}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 15:26:37', 7);
INSERT INTO `sys_oper_log` VALUES (2019674817795473410, '000000', '对话用户', 2, 'org.dromara.talk.controller.admin.TalkUserController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/user', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":5,\"username\":null,\"nickname\":null,\"status\":null}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 15:29:35', 5);
INSERT INTO `sys_oper_log` VALUES (2019700944756805634, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":103,\"createBy\":null,\"createTime\":\"2026-02-06 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"menuId\":3001,\"parentId\":3000,\"menuName\":\"客户管理\",\"orderNum\":1,\"path\":\"whatsappUser\",\"component\":\"talk/whatsapp/user/index\",\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"C\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"whatsapp:user:list\",\"icon\":\"peoples\",\"remark\":\"WhatsApp客户管理菜单\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:13:24', 26);
INSERT INTO `sys_oper_log` VALUES (2019700980509052929, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":103,\"createBy\":null,\"createTime\":\"2026-02-06 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"menuId\":3007,\"parentId\":3000,\"menuName\":\"会话管理\",\"orderNum\":2,\"path\":\"whatsappHistory\",\"component\":\"talk/whatsapp/history/index\",\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"C\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"whatsapp:history:list\",\"icon\":\"message\",\"remark\":\"WhatsApp会话管理菜单\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:13:33', 11);
INSERT INTO `sys_oper_log` VALUES (2019701037182488577, '000000', '菜单管理', 2, 'org.dromara.system.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/menu', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":103,\"createBy\":null,\"createTime\":\"2026-02-06 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"menuId\":4001,\"parentId\":4000,\"menuName\":\"客户管理\",\"orderNum\":0,\"path\":\"zoomphoneUser\",\"component\":\"talk/zoomphone/user/index\",\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"C\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"zoomphone:user:list\",\"icon\":\"peoples\",\"remark\":\"ZoomPhone客户管理菜单\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:13:46', 11);
INSERT INTO `sys_oper_log` VALUES (2019703056404340738, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3005,\"configName\":\"Dify-APIURL\",\"configKey\":\"dify.apiUrl\",\"configValue\":\"http://38.12.32.11/v1\",\"configType\":\"N\",\"remark\":\"Dify工作流API地址\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:21:48', 34);
INSERT INTO `sys_oper_log` VALUES (2019703056404340739, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3003,\"configName\":\"讯飞TTS-APISecret\",\"configKey\":\"xunfei.tts.apiSecret\",\"configValue\":\"ZTZjZmU3YzczMjdmNmQwMTc0ZDU3OTEw\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APISecret\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:21:48', 34);
INSERT INTO `sys_oper_log` VALUES (2019703056404340740, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3002,\"configName\":\"讯飞TTS-APIKey\",\"configKey\":\"xunfei.tts.apiKey\",\"configValue\":\"3915b5e04c7e118fea615889a1c94794\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:21:48', 34);
INSERT INTO `sys_oper_log` VALUES (2019703056404340741, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3001,\"configName\":\"讯飞TTS-AppID\",\"configKey\":\"xunfei.tts.appId\",\"configValue\":\"0b53c170\",\"configType\":\"N\",\"remark\":\"讯飞语音合成AppID\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:21:48', 34);
INSERT INTO `sys_oper_log` VALUES (2019703056404340742, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3004,\"configName\":\"Dify-APIKey\",\"configKey\":\"dify.apiKey\",\"configValue\":\"app-MJ27YGXKy7yN8o7T0WjPPbvh\",\"configType\":\"N\",\"remark\":\"Dify工作流APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:21:48', 34);
INSERT INTO `sys_oper_log` VALUES (2019703888361316354, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3002,\"configName\":\"讯飞TTS-APIKey\",\"configKey\":\"xunfei.tts.apiKey\",\"configValue\":\"3915b5e04c7e118fea615889a1c94794\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:25:06', 14);
INSERT INTO `sys_oper_log` VALUES (2019703888361316355, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3001,\"configName\":\"讯飞TTS-AppID\",\"configKey\":\"xunfei.tts.appId\",\"configValue\":\"0b53c170\",\"configType\":\"N\",\"remark\":\"讯飞语音合成AppID\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:25:06', 14);
INSERT INTO `sys_oper_log` VALUES (2019703888361316356, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3003,\"configName\":\"讯飞TTS-APISecret\",\"configKey\":\"xunfei.tts.apiSecret\",\"configValue\":\"ZTZjZmU3YzczMjdmNmQwMTc0ZDU3OTEw\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APISecret\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:25:06', 13);
INSERT INTO `sys_oper_log` VALUES (2019703888361316357, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3004,\"configName\":\"Dify-APIKey\",\"configKey\":\"dify.apiKey\",\"configValue\":\"app-23MmuZZSAFFLmigJz0z22rN6\",\"configType\":\"N\",\"remark\":\"Dify工作流APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:25:06', 14);
INSERT INTO `sys_oper_log` VALUES (2019703888361316358, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3005,\"configName\":\"Dify-APIURL\",\"configKey\":\"dify.apiUrl\",\"configValue\":\"http://dify.turing68.com/v1\",\"configType\":\"N\",\"remark\":\"Dify工作流API地址\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:25:06', 14);
INSERT INTO `sys_oper_log` VALUES (2019704972576317442, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3003,\"configName\":\"讯飞TTS-APISecret\",\"configKey\":\"xunfei.tts.apiSecret\",\"configValue\":\"ZTZjZmU3YzczMjdmNmQwMTc0ZDU3OTEw\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APISecret\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:29:24', 9);
INSERT INTO `sys_oper_log` VALUES (2019704972576317443, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3005,\"configName\":\"Dify-APIURL\",\"configKey\":\"dify.apiUrl\",\"configValue\":\"http://38.12.32.11/v1\",\"configType\":\"N\",\"remark\":\"Dify工作流API地址\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:29:24', 12);
INSERT INTO `sys_oper_log` VALUES (2019704972576317444, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3001,\"configName\":\"讯飞TTS-AppID\",\"configKey\":\"xunfei.tts.appId\",\"configValue\":\"0b53c170\",\"configType\":\"N\",\"remark\":\"讯飞语音合成AppID\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:29:24', 12);
INSERT INTO `sys_oper_log` VALUES (2019704972576317445, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3002,\"configName\":\"讯飞TTS-APIKey\",\"configKey\":\"xunfei.tts.apiKey\",\"configValue\":\"3915b5e04c7e118fea615889a1c94794\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:29:24', 12);
INSERT INTO `sys_oper_log` VALUES (2019704972576317446, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '0:0:0:0:0:0:0:1', '内网IP', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3004,\"configName\":\"Dify-APIKey\",\"configKey\":\"dify.apiKey\",\"configValue\":\"app-MJ27YGXKy7yN8o7T0WjPPbvh\",\"configType\":\"N\",\"remark\":\"Dify工作流APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 17:29:24', 12);
INSERT INTO `sys_oper_log` VALUES (2019742288805670914, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3004,\"configName\":\"Dify-APIKey\",\"configKey\":\"dify.apiKey\",\"configValue\":\"app-MJ27YGXKy7yN8o7T0WjPPbvh\",\"configType\":\"N\",\"remark\":\"Dify工作流APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 19:57:41', 594);
INSERT INTO `sys_oper_log` VALUES (2019742288805670915, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3002,\"configName\":\"讯飞TTS-APIKey\",\"configKey\":\"xunfei.tts.apiKey\",\"configValue\":\"3915b5e04c7e118fea615889a1c94794\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 19:57:41', 595);
INSERT INTO `sys_oper_log` VALUES (2019742288805670916, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3001,\"configName\":\"讯飞TTS-AppID\",\"configKey\":\"xunfei.tts.appId\",\"configValue\":\"0b53c170\",\"configType\":\"N\",\"remark\":\"讯飞语音合成AppID\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 19:57:41', 506);
INSERT INTO `sys_oper_log` VALUES (2019742288830836738, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3003,\"configName\":\"讯飞TTS-APISecret\",\"configKey\":\"xunfei.tts.apiSecret\",\"configValue\":\"ZTZjZmU3YzczMjdmNmQwMTc0ZDU3OTEw\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APISecret\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 19:57:41', 601);
INSERT INTO `sys_oper_log` VALUES (2019742289237684225, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3005,\"configName\":\"Dify-APIURL\",\"configKey\":\"dify.apiUrl\",\"configValue\":\"http://38.12.32.11/v1\",\"configType\":\"N\",\"remark\":\"Dify工作流API地址\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 19:57:41', 594);
INSERT INTO `sys_oper_log` VALUES (2019742315263340546, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3003,\"configName\":\"讯飞TTS-APISecret\",\"configKey\":\"xunfei.tts.apiSecret\",\"configValue\":\"ZTZjZmU3YzczMjdmNmQwMTc0ZDU3OTEw\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APISecret\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 19:57:48', 194);
INSERT INTO `sys_oper_log` VALUES (2019742315649216513, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3004,\"configName\":\"Dify-APIKey\",\"configKey\":\"dify.apiKey\",\"configValue\":\"app-MJ27YGXKy7yN8o7T0WjPPbvh\",\"configType\":\"N\",\"remark\":\"Dify工作流APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 19:57:48', 296);
INSERT INTO `sys_oper_log` VALUES (2019742315661799426, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3001,\"configName\":\"讯飞TTS-AppID\",\"configKey\":\"xunfei.tts.appId\",\"configValue\":\"0b53c170\",\"configType\":\"N\",\"remark\":\"讯飞语音合成AppID\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 19:57:48', 392);
INSERT INTO `sys_oper_log` VALUES (2019742315670188033, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3005,\"configName\":\"Dify-APIURL\",\"configKey\":\"dify.apiUrl\",\"configValue\":\"http://38.12.32.11:81/v1\",\"configType\":\"N\",\"remark\":\"Dify工作流API地址\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 19:57:48', 398);
INSERT INTO `sys_oper_log` VALUES (2019742315674382338, '000000', '参数管理', 2, 'org.dromara.system.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/config', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', '{\"createDept\":null,\"createBy\":null,\"createTime\":\"2026-01-29 00:00:00\",\"updateBy\":null,\"updateTime\":null,\"configId\":3002,\"configName\":\"讯飞TTS-APIKey\",\"configKey\":\"xunfei.tts.apiKey\",\"configValue\":\"3915b5e04c7e118fea615889a1c94794\",\"configType\":\"N\",\"remark\":\"讯飞语音合成APIKey\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-06 19:57:48', 297);
INSERT INTO `sys_oper_log` VALUES (2019959639757037570, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '107.220.66.45', '美国|加利福尼亚|0|美国电话电报', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":1,\"name\":\"小美\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769585488286_aa6f8a1a-69a4-41ab-912d-2e8a2a7daff6.png\",\"greetingMessage\":\"你好\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0,\"userId\":4}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-07 10:21:22', 203);
INSERT INTO `sys_oper_log` VALUES (2019980649868836866, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":1,\"name\":\"小美\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769585488286_aa6f8a1a-69a4-41ab-912d-2e8a2a7daff6.png\",\"greetingMessage\":\"你好\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0,\"userId\":4}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-07 11:44:51', 300);
INSERT INTO `sys_oper_log` VALUES (2019980788683522049, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":1,\"name\":\"小美\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769585488286_aa6f8a1a-69a4-41ab-912d-2e8a2a7daff6.png\",\"greetingMessage\":\"你好\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0,\"userId\":4}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-07 11:45:24', 190);
INSERT INTO `sys_oper_log` VALUES (2019981802501324802, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":1,\"name\":\"小美\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769585488286_aa6f8a1a-69a4-41ab-912d-2e8a2a7daff6.png\",\"greetingMessage\":\"你好\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0,\"userId\":4}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-07 11:49:26', 9);
INSERT INTO `sys_oper_log` VALUES (2019983278426570753, '000000', '客服配置', 2, 'org.dromara.talk.controller.admin.TalkAgentController.edit()', 'PUT', 1, 'admin', '研发部门', '/talk/admin/agent', '44.192.63.141', '美国|弗吉尼亚|阿什本|亚马逊', '{\"createDept\":null,\"createBy\":null,\"createTime\":null,\"updateBy\":null,\"updateTime\":null,\"id\":1,\"name\":\"小美\",\"gender\":\"1\",\"avatarUrl\":\"/uploads/avatars/1769585488286_aa6f8a1a-69a4-41ab-912d-2e8a2a7daff6.png\",\"greetingMessage\":\"你好\",\"status\":\"0\",\"ttsVcn\":\"x4_yezi\",\"ttsSpeed\":50,\"ttsPitch\":50,\"ttsVolume\":50,\"ttsBgs\":0,\"userId\":4}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2026-02-07 11:55:18', 102);

-- ----------------------------
-- Table structure for sys_oss
-- ----------------------------
DROP TABLE IF EXISTS `sys_oss`;
CREATE TABLE `sys_oss`  (
  `oss_id` bigint NOT NULL COMMENT '对象存储主键',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '文件名',
  `original_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '原名',
  `file_suffix` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '文件后缀名',
  `url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'URL地址',
  `ext1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '扩展字段',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `create_by` bigint NULL DEFAULT NULL COMMENT '上传人',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新人',
  `service` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'minio' COMMENT '服务商',
  PRIMARY KEY (`oss_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'OSS对象存储表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_oss
-- ----------------------------

-- ----------------------------
-- Table structure for sys_oss_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_oss_config`;
CREATE TABLE `sys_oss_config`  (
  `oss_config_id` bigint NOT NULL COMMENT '主键',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `config_key` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '配置key',
  `access_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT 'accessKey',
  `secret_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '秘钥',
  `bucket_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '桶名称',
  `prefix` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '前缀',
  `endpoint` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '访问站点',
  `domain` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '自定义域名',
  `is_https` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'N' COMMENT '是否https（Y=是,N=否）',
  `region` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '域',
  `access_policy` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1' COMMENT '桶权限类型(0=private 1=public 2=custom)',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '1' COMMENT '是否默认（0=是,1=否）',
  `ext1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '扩展字段',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`oss_config_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '对象存储配置表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_oss_config
-- ----------------------------
INSERT INTO `sys_oss_config` VALUES (1, '000000', 'minio', 'ruoyi', 'ruoyi123', 'ruoyi', '', '127.0.0.1:9000', '', 'N', '', '1', '0', '', 103, 1, '2026-01-26 15:21:39', 1, '2026-01-26 15:21:39', NULL);
INSERT INTO `sys_oss_config` VALUES (2, '000000', 'qiniu', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXX', 'ruoyi', '', 's3-cn-north-1.qiniucs.com', '', 'N', '', '1', '1', '', 103, 1, '2026-01-26 15:21:39', 1, '2026-01-26 15:21:39', NULL);
INSERT INTO `sys_oss_config` VALUES (3, '000000', 'aliyun', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXX', 'ruoyi', '', 'oss-cn-beijing.aliyuncs.com', '', 'N', '', '1', '1', '', 103, 1, '2026-01-26 15:21:39', 1, '2026-01-26 15:21:39', NULL);
INSERT INTO `sys_oss_config` VALUES (4, '000000', 'qcloud', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXX', 'ruoyi-1240000000', '', 'cos.ap-beijing.myqcloud.com', '', 'N', 'ap-beijing', '1', '1', '', 103, 1, '2026-01-26 15:21:39', 1, '2026-01-26 15:21:39', NULL);
INSERT INTO `sys_oss_config` VALUES (5, '000000', 'image', 'ruoyi', 'ruoyi123', 'ruoyi', 'image', '127.0.0.1:9000', '', 'N', '', '1', '1', '', 103, 1, '2026-01-26 15:21:39', 1, '2026-01-26 15:21:39', NULL);

-- ----------------------------
-- Table structure for sys_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_post`;
CREATE TABLE `sys_post`  (
  `post_id` bigint NOT NULL COMMENT '岗位ID',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `dept_id` bigint NOT NULL COMMENT '部门id',
  `post_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '岗位编码',
  `post_category` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '岗位类别编码',
  `post_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '岗位名称',
  `post_sort` int NOT NULL COMMENT '显示顺序',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '状态（0正常 1停用）',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`post_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '岗位信息表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_post
-- ----------------------------
INSERT INTO `sys_post` VALUES (1, '000000', 103, 'ceo', NULL, '董事长', 1, '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_post` VALUES (2, '000000', 100, 'se', NULL, '项目经理', 2, '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_post` VALUES (3, '000000', 100, 'hr', NULL, '人力资源', 3, '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_post` VALUES (4, '000000', 100, 'user', NULL, '普通员工', 4, '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role`  (
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `role_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '角色名称',
  `role_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '角色权限字符串',
  `role_sort` int NOT NULL COMMENT '显示顺序',
  `data_scope` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '1' COMMENT '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限 5：仅本人数据权限 6：部门及以下或本人数据权限）',
  `menu_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '菜单树选择项是否关联显示',
  `dept_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '部门树选择项是否关联显示',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '角色状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 1代表删除）',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`role_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色信息表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_role
-- ----------------------------
INSERT INTO `sys_role` VALUES (1, '000000', '超级管理员', 'superadmin', 1, '1', 1, 1, '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '超级管理员');
INSERT INTO `sys_role` VALUES (3, '000000', '本部门及以下', 'test1', 3, '4', 1, 1, '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');
INSERT INTO `sys_role` VALUES (4, '000000', '仅本人', 'test2', 4, '5', 1, 1, '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL, '');

-- ----------------------------
-- Table structure for sys_role_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_dept`;
CREATE TABLE `sys_role_dept`  (
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `dept_id` bigint NOT NULL COMMENT '部门ID',
  PRIMARY KEY (`role_id`, `dept_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色和部门关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_role_dept
-- ----------------------------

-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu`  (
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `menu_id` bigint NOT NULL COMMENT '菜单ID',
  PRIMARY KEY (`role_id`, `menu_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色和菜单关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------
INSERT INTO `sys_role_menu` VALUES (3, 1);
INSERT INTO `sys_role_menu` VALUES (3, 5);
INSERT INTO `sys_role_menu` VALUES (3, 100);
INSERT INTO `sys_role_menu` VALUES (3, 101);
INSERT INTO `sys_role_menu` VALUES (3, 102);
INSERT INTO `sys_role_menu` VALUES (3, 103);
INSERT INTO `sys_role_menu` VALUES (3, 104);
INSERT INTO `sys_role_menu` VALUES (3, 105);
INSERT INTO `sys_role_menu` VALUES (3, 106);
INSERT INTO `sys_role_menu` VALUES (3, 107);
INSERT INTO `sys_role_menu` VALUES (3, 108);
INSERT INTO `sys_role_menu` VALUES (3, 118);
INSERT INTO `sys_role_menu` VALUES (3, 123);
INSERT INTO `sys_role_menu` VALUES (3, 130);
INSERT INTO `sys_role_menu` VALUES (3, 131);
INSERT INTO `sys_role_menu` VALUES (3, 132);
INSERT INTO `sys_role_menu` VALUES (3, 133);
INSERT INTO `sys_role_menu` VALUES (3, 500);
INSERT INTO `sys_role_menu` VALUES (3, 501);
INSERT INTO `sys_role_menu` VALUES (3, 1001);
INSERT INTO `sys_role_menu` VALUES (3, 1002);
INSERT INTO `sys_role_menu` VALUES (3, 1003);
INSERT INTO `sys_role_menu` VALUES (3, 1004);
INSERT INTO `sys_role_menu` VALUES (3, 1005);
INSERT INTO `sys_role_menu` VALUES (3, 1006);
INSERT INTO `sys_role_menu` VALUES (3, 1007);
INSERT INTO `sys_role_menu` VALUES (3, 1008);
INSERT INTO `sys_role_menu` VALUES (3, 1009);
INSERT INTO `sys_role_menu` VALUES (3, 1010);
INSERT INTO `sys_role_menu` VALUES (3, 1011);
INSERT INTO `sys_role_menu` VALUES (3, 1012);
INSERT INTO `sys_role_menu` VALUES (3, 1013);
INSERT INTO `sys_role_menu` VALUES (3, 1014);
INSERT INTO `sys_role_menu` VALUES (3, 1015);
INSERT INTO `sys_role_menu` VALUES (3, 1016);
INSERT INTO `sys_role_menu` VALUES (3, 1017);
INSERT INTO `sys_role_menu` VALUES (3, 1018);
INSERT INTO `sys_role_menu` VALUES (3, 1019);
INSERT INTO `sys_role_menu` VALUES (3, 1020);
INSERT INTO `sys_role_menu` VALUES (3, 1021);
INSERT INTO `sys_role_menu` VALUES (3, 1022);
INSERT INTO `sys_role_menu` VALUES (3, 1023);
INSERT INTO `sys_role_menu` VALUES (3, 1024);
INSERT INTO `sys_role_menu` VALUES (3, 1025);
INSERT INTO `sys_role_menu` VALUES (3, 1026);
INSERT INTO `sys_role_menu` VALUES (3, 1027);
INSERT INTO `sys_role_menu` VALUES (3, 1028);
INSERT INTO `sys_role_menu` VALUES (3, 1029);
INSERT INTO `sys_role_menu` VALUES (3, 1030);
INSERT INTO `sys_role_menu` VALUES (3, 1031);
INSERT INTO `sys_role_menu` VALUES (3, 1032);
INSERT INTO `sys_role_menu` VALUES (3, 1033);
INSERT INTO `sys_role_menu` VALUES (3, 1034);
INSERT INTO `sys_role_menu` VALUES (3, 1035);
INSERT INTO `sys_role_menu` VALUES (3, 1036);
INSERT INTO `sys_role_menu` VALUES (3, 1037);
INSERT INTO `sys_role_menu` VALUES (3, 1038);
INSERT INTO `sys_role_menu` VALUES (3, 1039);
INSERT INTO `sys_role_menu` VALUES (3, 1040);
INSERT INTO `sys_role_menu` VALUES (3, 1041);
INSERT INTO `sys_role_menu` VALUES (3, 1042);
INSERT INTO `sys_role_menu` VALUES (3, 1043);
INSERT INTO `sys_role_menu` VALUES (3, 1044);
INSERT INTO `sys_role_menu` VALUES (3, 1045);
INSERT INTO `sys_role_menu` VALUES (3, 1050);
INSERT INTO `sys_role_menu` VALUES (3, 1061);
INSERT INTO `sys_role_menu` VALUES (3, 1062);
INSERT INTO `sys_role_menu` VALUES (3, 1063);
INSERT INTO `sys_role_menu` VALUES (3, 1064);
INSERT INTO `sys_role_menu` VALUES (3, 1065);
INSERT INTO `sys_role_menu` VALUES (3, 1500);
INSERT INTO `sys_role_menu` VALUES (3, 1501);
INSERT INTO `sys_role_menu` VALUES (3, 1502);
INSERT INTO `sys_role_menu` VALUES (3, 1503);
INSERT INTO `sys_role_menu` VALUES (3, 1504);
INSERT INTO `sys_role_menu` VALUES (3, 1505);
INSERT INTO `sys_role_menu` VALUES (3, 1506);
INSERT INTO `sys_role_menu` VALUES (3, 1507);
INSERT INTO `sys_role_menu` VALUES (3, 1508);
INSERT INTO `sys_role_menu` VALUES (3, 1509);
INSERT INTO `sys_role_menu` VALUES (3, 1510);
INSERT INTO `sys_role_menu` VALUES (3, 1511);
INSERT INTO `sys_role_menu` VALUES (3, 1600);
INSERT INTO `sys_role_menu` VALUES (3, 1601);
INSERT INTO `sys_role_menu` VALUES (3, 1602);
INSERT INTO `sys_role_menu` VALUES (3, 1603);
INSERT INTO `sys_role_menu` VALUES (3, 1620);
INSERT INTO `sys_role_menu` VALUES (3, 1621);
INSERT INTO `sys_role_menu` VALUES (3, 1622);
INSERT INTO `sys_role_menu` VALUES (3, 1623);
INSERT INTO `sys_role_menu` VALUES (3, 11616);
INSERT INTO `sys_role_menu` VALUES (3, 11618);
INSERT INTO `sys_role_menu` VALUES (3, 11619);
INSERT INTO `sys_role_menu` VALUES (3, 11622);
INSERT INTO `sys_role_menu` VALUES (3, 11623);
INSERT INTO `sys_role_menu` VALUES (3, 11629);
INSERT INTO `sys_role_menu` VALUES (3, 11632);
INSERT INTO `sys_role_menu` VALUES (3, 11633);
INSERT INTO `sys_role_menu` VALUES (3, 11638);
INSERT INTO `sys_role_menu` VALUES (3, 11639);
INSERT INTO `sys_role_menu` VALUES (3, 11640);
INSERT INTO `sys_role_menu` VALUES (3, 11641);
INSERT INTO `sys_role_menu` VALUES (3, 11642);
INSERT INTO `sys_role_menu` VALUES (3, 11643);
INSERT INTO `sys_role_menu` VALUES (3, 11701);
INSERT INTO `sys_role_menu` VALUES (4, 5);
INSERT INTO `sys_role_menu` VALUES (4, 1500);
INSERT INTO `sys_role_menu` VALUES (4, 1501);
INSERT INTO `sys_role_menu` VALUES (4, 1502);
INSERT INTO `sys_role_menu` VALUES (4, 1503);
INSERT INTO `sys_role_menu` VALUES (4, 1504);
INSERT INTO `sys_role_menu` VALUES (4, 1505);
INSERT INTO `sys_role_menu` VALUES (4, 1506);
INSERT INTO `sys_role_menu` VALUES (4, 1507);
INSERT INTO `sys_role_menu` VALUES (4, 1508);
INSERT INTO `sys_role_menu` VALUES (4, 1509);
INSERT INTO `sys_role_menu` VALUES (4, 1510);
INSERT INTO `sys_role_menu` VALUES (4, 1511);

-- ----------------------------
-- Table structure for sys_social
-- ----------------------------
DROP TABLE IF EXISTS `sys_social`;
CREATE TABLE `sys_social`  (
  `id` bigint NOT NULL COMMENT '主键',
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户id',
  `auth_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '平台+平台唯一id',
  `source` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '用户来源',
  `open_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '平台编号唯一id',
  `user_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '登录账号',
  `nick_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '用户昵称',
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '用户邮箱',
  `avatar` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '头像地址',
  `access_token` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '用户的授权令牌',
  `expire_in` int NULL DEFAULT NULL COMMENT '用户的授权令牌的有效期，部分平台可能没有',
  `refresh_token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '刷新令牌，部分平台可能没有',
  `access_code` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '平台的授权信息，部分平台可能没有',
  `union_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户的 unionid',
  `scope` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '授予的权限，部分平台可能没有',
  `token_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '个别平台的授权信息，部分平台可能没有',
  `id_token` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'id token，部分平台可能没有',
  `mac_algorithm` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '小米平台用户的附带属性，部分平台可能没有',
  `mac_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '小米平台用户的附带属性，部分平台可能没有',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户的授权code，部分平台可能没有',
  `oauth_token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Twitter平台用户的附带属性，部分平台可能没有',
  `oauth_token_secret` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Twitter平台用户的附带属性，部分平台可能没有',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 1代表删除）',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '社会化关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_social
-- ----------------------------

-- ----------------------------
-- Table structure for sys_tenant
-- ----------------------------
DROP TABLE IF EXISTS `sys_tenant`;
CREATE TABLE `sys_tenant`  (
  `id` bigint NOT NULL COMMENT 'id',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '租户编号',
  `contact_user_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '联系人',
  `contact_phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '联系电话',
  `company_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '企业名称',
  `license_number` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '统一社会信用代码',
  `address` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '地址',
  `intro` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '企业简介',
  `domain` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '域名',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `package_id` bigint NULL DEFAULT NULL COMMENT '租户套餐编号',
  `expire_time` datetime NULL DEFAULT NULL COMMENT '过期时间',
  `account_count` int NULL DEFAULT -1 COMMENT '用户数量（-1不限制）',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '租户状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 1代表删除）',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '租户表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_tenant
-- ----------------------------
INSERT INTO `sys_tenant` VALUES (1, '000000', '管理组', '15888888888', 'XXX有限公司', NULL, NULL, '多租户通用后台管理管理系统', NULL, NULL, NULL, NULL, -1, '0', '0', 103, 1, '2026-01-26 15:21:39', NULL, NULL);

-- ----------------------------
-- Table structure for sys_tenant_package
-- ----------------------------
DROP TABLE IF EXISTS `sys_tenant_package`;
CREATE TABLE `sys_tenant_package`  (
  `package_id` bigint NOT NULL COMMENT '租户套餐id',
  `package_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '套餐名称',
  `menu_ids` varchar(3000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '关联菜单id',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `menu_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '菜单树选择项是否关联显示',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 1代表删除）',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`package_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '租户套餐表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_tenant_package
-- ----------------------------

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user`  (
  `user_id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '部门ID',
  `user_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '用户账号',
  `nick_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '用户昵称',
  `user_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'sys_user' COMMENT '用户类型（sys_user系统用户）',
  `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '用户邮箱',
  `phonenumber` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '手机号码',
  `sex` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '用户性别（0男 1女 2未知）',
  `avatar` bigint NULL DEFAULT NULL COMMENT '头像地址',
  `password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '密码',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '账号状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 1代表删除）',
  `login_ip` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '最后登录IP',
  `login_date` datetime NULL DEFAULT NULL COMMENT '最后登录时间',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户信息表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_user
-- ----------------------------
INSERT INTO `sys_user` VALUES (1, '000000', 103, 'admin', '疯狂的狮子Li', 'sys_user', 'crazyLionLi@163.com', '15888888888', '1', NULL, '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '107.220.66.45', '2026-02-09 09:50:29', 103, 1, '2026-01-26 15:21:39', -1, '2026-02-09 09:50:29', '管理员');
INSERT INTO `sys_user` VALUES (2, '000000', 108, 'test', '本部门及以下 密码666666', 'sys_user', '', '', '0', NULL, '$2a$10$b8yUzN0C71sbz.PhNOCgJe.Tu1yWC3RNrTyjSQ8p1W0.aaUXUJ.Ne', '0', '0', '127.0.0.1', '2026-01-26 15:21:39', 103, 1, '2026-01-26 15:21:39', 3, '2026-01-26 15:21:39', NULL);
INSERT INTO `sys_user` VALUES (3, '000000', 102, 'test1', '仅本人 密码666666', 'sys_user', '', '', '0', NULL, '$2a$10$b8yUzN0C71sbz.PhNOCgJe.Tu1yWC3RNrTyjSQ8p1W0.aaUXUJ.Ne', '0', '0', '127.0.0.1', '2026-01-26 15:21:39', 103, 1, '2026-01-26 15:21:39', 4, '2026-01-26 15:21:39', NULL);
INSERT INTO `sys_user` VALUES (4, '000000', NULL, '6', '测试', 'talk_web_user', '', '', '0', NULL, '666666', '0', '0', '117.152.217.47', '2026-02-09 10:49:57', 103, 1, '2026-01-30 11:03:48', -1, '2026-02-09 10:49:57', NULL);
INSERT INTO `sys_user` VALUES (5, '000000', NULL, '555555', '测试2', 'talk_web_user', '', '', '0', NULL, '555555', '0', '0', '51.79.129.12', '2026-02-06 19:00:53', 103, 1, '2026-02-06 15:17:22', -1, '2026-02-06 19:00:53', NULL);

-- ----------------------------
-- Table structure for sys_user_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_post`;
CREATE TABLE `sys_user_post`  (
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `post_id` bigint NOT NULL COMMENT '岗位ID',
  PRIMARY KEY (`user_id`, `post_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户与岗位关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_user_post
-- ----------------------------
INSERT INTO `sys_user_post` VALUES (1, 1);

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role`  (
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `role_id` bigint NOT NULL COMMENT '角色ID',
  PRIMARY KEY (`user_id`, `role_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户和角色关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
INSERT INTO `sys_user_role` VALUES (1, 1);
INSERT INTO `sys_user_role` VALUES (3, 3);
INSERT INTO `sys_user_role` VALUES (4, 4);

-- ----------------------------
-- Table structure for talk_agent
-- ----------------------------
DROP TABLE IF EXISTS `talk_agent`;
CREATE TABLE `talk_agent`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '客服ID',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '客服名称',
  `gender` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '性别（0=男 1=女）',
  `avatar_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '头像URL',
  `greeting_message` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '欢迎语',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '0' COMMENT '状态（0=空闲中 1=停用 2=工作中）',
  `tts_vcn` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT 'x4_yezi' COMMENT 'TTS发音人（关联字典tts_vcn）',
  `tts_speed` int NULL DEFAULT 50 COMMENT 'TTS语速 0-100',
  `tts_pitch` int NULL DEFAULT 50 COMMENT 'TTS音调 0-100',
  `tts_volume` int NULL DEFAULT 50 COMMENT 'TTS音量 0-100',
  `tts_bgs` int NULL DEFAULT 0 COMMENT 'TTS背景音开关 0=无背景音 1=有背景音',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '0' COMMENT '删除标志（0=存在 1=删除）',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `user_id` int NULL DEFAULT NULL COMMENT '使用者ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_tenant_id`(`tenant_id` ASC) USING BTREE,
  INDEX `idx_status`(`status` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '客服配置表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of talk_agent
-- ----------------------------
INSERT INTO `talk_agent` VALUES (1, '000000', '小美', '1', '/uploads/avatars/1769585488286_aa6f8a1a-69a4-41ab-912d-2e8a2a7daff6.png', '你好', '0', 'x4_yezi', 50, 50, 50, 0, '0', 1, '2026-01-28 15:34:31', 4, '2026-02-09 10:50:33', 103, 4);
INSERT INTO `talk_agent` VALUES (2, '000000', '小明', '0', '/uploads/avatars/1769656272533_5e8e44ce-d4c5-4cfe-a408-8b286ee16d86.png', '你好，我是小明', '0', 'x4_lingfeibo_profnews', 50, 50, 50, 0, '0', 1, '2026-01-29 11:11:32', 5, '2026-02-06 19:08:44', 103, 5);

-- ----------------------------
-- Table structure for talk_session
-- ----------------------------
DROP TABLE IF EXISTS `talk_session`;
CREATE TABLE `talk_session`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '会话ID',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `session_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '会话唯一标识',
  `agent_id` bigint NOT NULL COMMENT '客服ID',
  `customer_phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '客户电话',
  `conversation_json` json NULL COMMENT '对话详细数据',
  `start_time` datetime NULL DEFAULT NULL COMMENT '会话开始时间',
  `end_time` datetime NULL DEFAULT NULL COMMENT '会话结束时间',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '0' COMMENT '删除标志',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `user_id` bigint NULL DEFAULT NULL COMMENT '使用用户',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `session_id`(`session_id` ASC) USING BTREE,
  INDEX `idx_tenant_id`(`tenant_id` ASC) USING BTREE,
  INDEX `idx_session_id`(`session_id` ASC) USING BTREE,
  INDEX `idx_agent_id`(`agent_id` ASC) USING BTREE,
  INDEX `idx_start_time`(`start_time` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 85 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '对话会话表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of talk_session
-- ----------------------------
INSERT INTO `talk_session` VALUES (38, '000000', 'de583f22-cac8-45ea-9192-907e0bb26c45', 1, NULL, '[{\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1769762628795\"}, {\"role\": \"assistant\", \"content\": \"您好！很高兴为您服务。请问您对我们的手机有什么疑问或需要了解的产品信息呢？\", \"timestamp\": \"1769762628795\"}, {\"role\": \"user\", \"content\": \"我的手机坏了\", \"timestamp\": \"1769762640030\"}, {\"role\": \"user\", \"content\": \"我的手机坏了\", \"timestamp\": \"1769762644960\"}, {\"role\": \"assistant\", \"content\": \"很遗憾听到您的手机出了问题。您能描述一下手机的具体问题吗？比如是硬件故障还是软件问题？这样我们可以更好地帮助您。如果手机还有保修期内，您可以联系您购买手机的商家或官方客服进行维修。如果已经超出保修期，我们这里有各种品牌和型号的手机，您可以考虑购买一部新的手机。您对手机有什么特殊需求吗？比如品牌、价格区间、颜色等。\", \"timestamp\": \"1769762644960\"}, {\"role\": \"user\", \"content\": \"我的手机是小米13\", \"timestamp\": \"1769762645428\"}, {\"role\": \"user\", \"content\": \"我的手机是小米13\", \"timestamp\": \"1769762651559\"}, {\"role\": \"assistant\", \"content\": \"了解到您的手机是小米13了。小米13是一款性能出色的手机，如果您需要维修，建议您联系小米官方客服或您购买手机的店铺进行咨询。他们可以为您提供更专业的一对一服务。\\n\\n当然，如果您对小米13还有其他疑问，或者想了解其他型号的小米手机，我可以为您提供详细信息。比如小米13 Pro或小米12S系列，都是非常优秀的选择。您具体想了解哪方面的信息呢？比如性能、摄像功能、续航能力等？\", \"timestamp\": \"1769762651559\"}, {\"role\": \"user\", \"content\": \"他的电池有点不耐用\", \"timestamp\": \"1769762656344\"}, {\"role\": \"user\", \"content\": \"他的电池有点不耐用\", \"timestamp\": \"1769762659144\"}, {\"role\": \"assistant\", \"content\": \"了解了，小米13的电池耐用度是一个常见的关注点。为了提升电池的耐用性，您可以尝试以下几点建议：\\n\\n1. **优化设置**：减少后台应用的自动更新和刷新，关闭不必要的后台运行应用，这会减少电池的消耗。\\n2. **调整屏幕亮度**：根据环境光线调整屏幕亮度，减少高亮度对电池的影响。\\n3. **关闭无线功能**：在不需要使用时，可以关闭蓝牙、WIFI等无线功能，以节省电量。\\n4. **使用省电模式**：当电量较低时，可以开启手机的省电模式，以延长电池使用时间。\\n5. **避免高温**：尽量避免在高温环境下使用手机，高温会加速电池老化。\\n\\n如果您希望长期保持手机电池的良好状态，可以考虑更换更高容量的电池或购买一款电池耐用性更好的新手机。我们有多种小米手机型号供您选择，其中一些型号在电池续航方面表现更出色。如果您需要了解具体型号或有其他需求，请告诉我，我会为您提供更多信息。\", \"timestamp\": \"1769762664400\"}]', '2026-01-30 16:43:41', '2026-01-30 16:44:24', '0', 4, '2026-01-30 16:43:41', NULL, -1, '2026-01-30 16:44:24', 4);
INSERT INTO `talk_session` VALUES (39, '000000', '5e4b2687-e844-41a8-bf38-5610d6fc1846', 1, NULL, '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1769763775609\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1769763775609\"}, {\"role\": \"assistant\", \"content\": \"您好！很高兴为您服务。请问您是想要咨询我们的哪种手机呢？或者您在购买手机的过程中遇到了什么问题需要我们帮助解决呢？\", \"timestamp\": \"1769763775609\"}]', '2026-01-30 17:02:44', '2026-01-30 17:02:56', '0', 4, '2026-01-30 17:02:44', NULL, 4, '2026-01-30 17:02:56', 4);
INSERT INTO `talk_session` VALUES (40, '000000', 'c798cf45-73ef-480f-9473-8d79a40b4442', 2, NULL, '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1769763779204\"}]', '2026-01-30 17:02:57', '2026-01-30 17:02:59', '0', 4, '2026-01-30 17:02:57', NULL, 4, '2026-01-30 17:02:59', 4);
INSERT INTO `talk_session` VALUES (41, '000000', '55d6ee54-3b11-4686-ae4e-c38672842e2f', 2, NULL, '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1769763965126\"}]', '2026-01-30 17:06:02', '2026-01-30 17:06:05', '0', 4, '2026-01-30 17:06:02', NULL, 4, '2026-01-30 17:06:05', 4);
INSERT INTO `talk_session` VALUES (42, '000000', '78dc673e-e447-45a7-8bcb-69bb8f3eace2', 1, NULL, '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1769763969001\"}]', '2026-01-30 17:06:06', '2026-01-30 17:06:09', '0', 4, '2026-01-30 17:06:06', NULL, 4, '2026-01-30 17:06:09', 4);
INSERT INTO `talk_session` VALUES (43, '000000', '262c74e6-5c5c-4a4b-8c7c-e1b3bcd17939', 1, NULL, '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1769764081473\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1769764081473\"}, {\"role\": \"assistant\", \"content\": \"您好！很高兴为您服务，有什么关于手机方面的问题或者需要推荐吗？\", \"timestamp\": \"1769764081473\"}, {\"role\": \"user\", \"content\": \"我的手机坏了\", \"timestamp\": \"1769764081473\"}, {\"role\": \"assistant\", \"content\": \"非常抱歉听到您的手机出了问题。我们有多种手机型号可供您选择，您可以告诉我您喜欢的手机品牌、价格范围以及手机的主要功能需求，这样我们可以更好地为您提供推荐。\", \"timestamp\": \"1769764081473\"}]', '2026-01-30 17:07:41', '2026-01-30 17:08:01', '0', 4, '2026-01-30 17:07:41', NULL, 4, '2026-01-30 17:08:01', 4);
INSERT INTO `talk_session` VALUES (44, '000000', 'b6272e02-c06a-4c8a-94d6-ba08f6cd847e', 2, NULL, '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1769764089233\"}]', '2026-01-30 17:08:03', '2026-01-30 17:08:09', '0', 4, '2026-01-30 17:08:03', NULL, 4, '2026-01-30 17:08:09', 4);
INSERT INTO `talk_session` VALUES (45, '000000', 'ebacba49-34ba-4373-a42f-0c275392f92d', 2, NULL, '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1769764211590\"}, {\"role\": \"user\", \"content\": \"你好，我是小明\", \"timestamp\": \"1769764211590\"}, {\"role\": \"assistant\", \"content\": \"你好，小明！很高兴为您服务。请问您对我们的手机感兴趣吗？您具体想了解哪款手机呢？或者您在使用手机的过程中遇到了什么问题需要解决？\", \"timestamp\": \"1769764211590\"}, {\"role\": \"user\", \"content\": \"你也叫小明吗\", \"timestamp\": \"1769764211590\"}, {\"role\": \"assistant\", \"content\": \"不是的，我是客服小明，您也可以叫我小明。您是想要了解我们的产品吗？我可以帮您详细介绍我们的手机型号、功能以及优惠活动等信息。请问您对哪款手机感兴趣呢？\", \"timestamp\": \"1769764211590\"}]', '2026-01-30 17:09:51', '2026-01-30 17:10:12', '0', 4, '2026-01-30 17:09:51', NULL, 4, '2026-01-30 17:10:12', 4);
INSERT INTO `talk_session` VALUES (46, '000000', '07925de2-c6e1-44e2-ab8a-335f4dc616b1', 1, NULL, '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1769764222790\"}, {\"role\": \"user\", \"content\": \"你是谁\", \"timestamp\": \"1769764222790\"}, {\"role\": \"assistant\", \"content\": \"您好，我是来自XX手机旗舰店的客服小助手，很高兴为您服务。我们这里有很多热销的款式和优惠活动，不知道您对哪款手机感兴趣呢？\", \"timestamp\": \"1769764222790\"}]', '2026-01-30 17:10:13', '2026-01-30 17:10:23', '0', 4, '2026-01-30 17:10:13', NULL, 4, '2026-01-30 17:10:23', 4);
INSERT INTO `talk_session` VALUES (47, '000000', '7aba083c-c5c2-434c-8841-b8cdde02f260', 2, NULL, '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1769764225475\"}]', '2026-01-30 17:10:24', '2026-01-30 17:10:25', '0', 4, '2026-01-30 17:10:24', NULL, 4, '2026-01-30 17:10:25', 4);
INSERT INTO `talk_session` VALUES (48, '000000', '2f6dde68-b2ab-43f0-8001-215999907052', 1, NULL, '[{\"role\": \"user\", \"content\": \"我的手机坏了\", \"timestamp\": \"1769764254853\"}, {\"role\": \"assistant\", \"content\": \"非常抱歉听到您的手机出了问题。我们提供多种手机解决方案，可以帮您快速更换新手机：\\n\\n1. **在线购买**：如果您方便的话，我们有丰富的手机型号供您选择，包括最新款的智能手机。您可以在我们的官方网站或手机应用上浏览。我们会提供详细的购买指南和支付选项，非常方便快捷。\\n\\n2. **线下门店**：如果您更喜欢亲自挑选，我们遍布全国的门店应有尽有。您可以选择最近的门店，我们将提供专业的服务和建议。\\n\\n3. **专属顾问**：如果您需要帮助选择合适的产品，我们的在线客服和门店顾问可以提供一对一的帮助，确保您购买到最适合自己的手机。\\n\\n4. **维修服务**：如果您的手机还有价值修复，我们可以提供专业的维修服务。请将手机送至最近的服务中心，我们会尽力修复。\\n\\n5. **以旧换新**：如果您愿意，也可以考虑使用您的旧手机作为换新的一部分，具体条件请咨询我们。\\n\\n请您告诉我您所在地区或您方便的联系方式，我可以为您提供更详细的建议和帮助。\", \"timestamp\": \"1769764259566\"}, {\"role\": \"user\", \"content\": \"我的手机电池坏了\", \"timestamp\": \"1769764264645\"}, {\"role\": \"user\", \"content\": \"我的手机电池坏了\", \"timestamp\": \"1769764283473\"}, {\"role\": \"assistant\", \"content\": \"了解了，手机电池坏了确实会给您的使用带来不便。我们有几种解决方案可以帮您解决这个问题：\\n\\n1. **更换电池**：您可以选择到我们附近的维修点更换电池。我们的技术人员会尽快为您修复。\\n   \\n2. **购买新手机**：如果您觉得更换电池仍然不能满足您的需求，或者您想要一款全新的手机，我们有多种手机型号供您选择。您可以在我们的官方网站或手机应用上查看最新的款式和配置。\\n\\n3. **在线购买**：\\n   - 访问我们的官方网站：[点击这里](https://www.example.com)。\\n   - 下载我们的手机应用，通过应用商店搜索“[公司名称]”下载。\\n   - 在线填写表格，我们会为您提供详细的购买指南和支付选项。\\n\\n4. **线下门店**：\\n   - 您可以查询最近的门店地址，亲自挑选您喜欢的手机型号。\\n   - 直接联系门店咨询购买事宜，我们会有专业的销售人员为您提供帮助。\\n\\n5. **专属顾问**：\\n   - 您可以通过在线客服系统与我们的专属顾问联系，他们会根据您的需求推荐合适的手机。\\n   - 您也可以直接前往门店，与门店的顾问面对面交流。\\n\\n请您告诉我您所在地区或您方便的联系方式，我可以为您提供更详细的建议和帮助。如果需要，我可以帮您预订一台新手机或预约维修服务。\", \"timestamp\": \"1769764289240\"}]', '2026-01-30 17:10:48', '2026-01-30 17:11:29', '0', 4, '2026-01-30 17:10:48', NULL, -1, '2026-01-30 17:11:29', 4);
INSERT INTO `talk_session` VALUES (49, '000000', '82b4c5b7-4342-4056-a275-9a01723a710e', 2, NULL, '[{\"role\": \"user\", \"content\": \"我我刚问你什么你好什么意思呢\", \"timestamp\": \"1769764312695\"}, {\"role\": \"assistant\", \"content\": \"您好！您刚才询问的内容可能没有完全传达清楚，我这边可能没有完全理解您的需求。请问您对我们的产品有什么具体的需求或者疑问呢？这样我可以更好地帮助您。如果您想购买手机，可以告诉我您更倾向于什么类型的产品，比如品牌、价格范围、功能需求等，我将为您推荐合适的产品。\", \"timestamp\": \"1769764312695\"}, {\"role\": \"user\", \"content\": \"。我跟你接着说\", \"timestamp\": \"1769764314371\"}, {\"role\": \"user\", \"content\": \"。我跟你接着说\", \"timestamp\": \"1769764318076\"}, {\"role\": \"assistant\", \"content\": \"好的，您可以继续说，我会尽力帮助您。请问您之前咨询的是关于什么问题呢？如果您想要购买手机，可以告诉我您的需求，比如预算范围、手机品牌偏好、主要用途（如日常使用、游戏、拍照等）以及任何其他特殊需求。这样我可以更快地为您推荐合适的手机。\", \"timestamp\": \"1769764318076\"}]', '2026-01-30 17:11:45', '2026-01-30 17:11:58', '0', 4, '2026-01-30 17:11:45', NULL, -1, '2026-01-30 17:11:58', 4);
INSERT INTO `talk_session` VALUES (50, '000000', '09e9465c-1a1e-464d-bb9d-d35803253d79', 2, NULL, '[{\"role\": \"user\", \"content\": \"你好，你就你有一个列表\", \"timestamp\": \"1769764578522\"}, {\"role\": \"assistant\", \"content\": \"你好！很高兴你对我们的产品感兴趣。请问你想要了解的产品列表具体是指哪方面的产品呢？是手机型号、价格范围、功能特点还是其他方面的需求？请告诉我更多的信息，这样我可以更好地帮助你。如果你已经有了一些具体的需求或者偏好，也可以直接告诉我，我会根据你的需求推荐合适的手机型号。\", \"timestamp\": \"1769764578522\"}, {\"role\": \"user\", \"content\": \"为这个\", \"timestamp\": \"1769764580494\"}, {\"role\": \"user\", \"content\": \"为这个\", \"timestamp\": \"1769764595491\"}, {\"role\": \"assistant\", \"content\": \"当然，以下是我们的部分热销手机型号列表，你可以参考一下：\\n\\n1. **荣耀Magic5 Pro**\\n   - 配备6.81英寸OLED屏幕，支持120Hz刷新率\\n   - 搭载高通骁龙8 Gen2处理器\\n   - 后置三摄组合，包括5000万像素主摄、6400万像素超广角和6400万像素长焦镜头\\n   - 电池容量为5100mAh，支持66W有线快充和50W无线快充\\n\\n2. **荣耀Magic5**\\n   - 6.73英寸OLED屏幕，支持120Hz刷新率\\n   - 高通骁龙8+ Gen1处理器\\n   - 后置三摄，包括5000万像素主摄、6400万像素超广角和6400万像素长焦镜头\\n   - 电池容量4800mAh，支持66W有线快充和50W无线快充\\n\\n3. **荣耀Magic5 至尊版**\\n   - 6.81英寸OLED屏幕，支持120Hz刷新率\\n   - 高通骁龙8 Gen2处理器\\n   - 后置三摄，包括6400万像素主摄、6400万像素超广角和6400万像素长焦镜头\\n   - 电池容量为5400mAh，支持66W有线快充和50W无线快充\\n\\n4. **荣耀Magic5 青春版**\\n   - 6.73英寸OLED屏幕，支持120Hz刷新率\\n   - 高通骁龙7+ Gen2处理器\\n   - 后置三摄，包括5000万像素主摄、800万像素超广角和200万像素微距镜头\\n   - 电池容量4800mAh，支持66W有线快充\\n\\n如果你需要了解更多信息，比如价格、颜色、库存情况等，或者有其他特殊需求，欢迎随时告诉我，我会尽力帮助你。\", \"timestamp\": \"1769764595491\"}]', '2026-01-30 17:16:12', '2026-01-30 17:16:35', '0', 4, '2026-01-30 17:16:12', NULL, -1, '2026-01-30 17:16:35', 4);
INSERT INTO `talk_session` VALUES (51, '000000', '96ee8e99-c483-4cc7-a100-8602256a6874', 2, NULL, '[{\"role\": \"user\", \"content\": \"我的手机坏了\", \"timestamp\": \"1769770783080\"}, {\"role\": \"user\", \"content\": \"我的手机坏了\", \"timestamp\": \"1769770789763\"}, {\"role\": \"assistant\", \"content\": \"很抱歉听到您的手机出了问题。请问您可以描述一下手机出现问题的具体情况吗？例如是突然无法开机、运行速度变慢、屏幕出现异常等等。这样我们可以更好地了解问题所在。另外，请问您现在的位置是在哪里呢？是否方便将手机送到我们的服务中心进行检测和维修？\", \"timestamp\": \"1769770789763\"}]', '2026-01-30 18:59:27', '2026-01-30 18:59:50', '0', 4, '2026-01-30 18:59:27', NULL, -1, '2026-01-30 18:59:50', 4);
INSERT INTO `talk_session` VALUES (52, '000000', '85dd164a-bd1b-45af-946d-f12e8789974f', 1, NULL, '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1769770842102\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1769770842102\"}, {\"role\": \"assistant\", \"content\": \"您好！很高兴为您服务。请问您对我们的手机有什么疑问或者需要了解哪些信息呢？\", \"timestamp\": \"1769770842102\"}, {\"role\": \"user\", \"content\": \"我的手机坏了\", \"timestamp\": \"1769770842102\"}, {\"role\": \"assistant\", \"content\": \"很遗憾听到您的手机出现故障。请问您能描述一下具体是哪里出现了问题吗？这样我们才能更好地为您提供帮助。另外，您能告诉我您的手机品牌和型号吗？这样我们可以为您提供更合适的解决方案。\\n\\n同时，如果您对我们的新款手机感兴趣，我可以为您详细介绍。我们有各种各样的手机可供选择，包括不同的品牌、型号、颜色和配置，以满足您不同的需求。如果您愿意的话，我可以帮您推荐一款性价比高的手机。\", \"timestamp\": \"1769770842102\"}, {\"role\": \"user\", \"content\": \"我的手机是小米13\", \"timestamp\": \"1769770842102\"}, {\"role\": \"assistant\", \"content\": \"了解了，您有一台小米13手机。请问具体是哪方面出现了问题呢？例如是手机无法开机、运行软件卡顿、屏幕损坏或其他问题？\\n\\n另外，如果您需要维修或更换手机，您可以携带手机到我们指定的维修点进行检查和维修。我们也会尽快为您处理。\\n\\n同时，如果您对小米13手机感兴趣，我可以为您详细介绍它的特点和优势。比如，小米13配备了高性能处理器，拥有出色的性能表现；配备了高分辨率的屏幕，显示效果非常清晰；还有优秀的电池续航能力，满足您日常使用需求。如果您有其他问题或需要进一步了解的信息，欢迎随时告诉我。\", \"timestamp\": \"1769770842102\"}]', '2026-01-30 19:00:21', '2026-01-30 19:00:42', '0', 4, '2026-01-30 19:00:21', NULL, 4, '2026-01-30 19:00:42', 4);
INSERT INTO `talk_session` VALUES (53, '000000', '1f37e13d-4eb6-4f8b-9151-d551a5d34849', 2, NULL, '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770189064437\"}]', '2026-02-04 15:11:00', '2026-02-04 15:11:04', '0', 4, '2026-02-04 15:11:00', NULL, 4, '2026-02-04 15:11:04', 4);
INSERT INTO `talk_session` VALUES (54, '000000', 'e9bed40e-54fc-494e-b8b1-084e93654964', 2, NULL, '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770191443835\"}]', '2026-02-04 15:50:42', '2026-02-04 15:50:44', '0', 4, '2026-02-04 15:50:42', NULL, 4, '2026-02-04 15:50:44', 4);
INSERT INTO `talk_session` VALUES (55, '000000', 'f2d6b12e-70d0-4ac4-bf12-e684f23a1c37', 2, NULL, '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770191458413\"}, {\"role\": \"user\", \"content\": \"我是是这样\", \"timestamp\": \"1770191458413\"}]', '2026-02-04 15:50:56', '2026-02-04 15:50:58', '0', 4, '2026-02-04 15:50:56', NULL, 4, '2026-02-04 15:50:58', 4);
INSERT INTO `talk_session` VALUES (56, '000000', 'd45df817-36df-407c-94ad-f518cdbeb9ec', 2, NULL, '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770191484302\"}]', '2026-02-04 15:51:22', '2026-02-04 15:51:24', '0', 4, '2026-02-04 15:51:22', NULL, 4, '2026-02-04 15:51:24', 4);
INSERT INTO `talk_session` VALUES (57, '000000', 'e309c967-a893-4cbe-999b-3a12dc0cd77f', 2, NULL, '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770191701049\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770191701049\"}]', '2026-02-04 15:54:12', '2026-02-04 15:55:01', '0', 4, '2026-02-04 15:54:12', NULL, 4, '2026-02-04 15:55:01', 4);
INSERT INTO `talk_session` VALUES (58, '000000', '3e56853f-d2a6-46a3-88e3-c01ec477c3c5', 2, '', '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770367266761\"}, {\"role\": \"user\", \"content\": \"就完了\", \"timestamp\": \"1770367266761\"}]', '2026-02-06 16:41:00', '2026-02-06 16:41:07', '0', 5, '2026-02-06 16:41:00', NULL, 5, '2026-02-06 16:41:07', 5);
INSERT INTO `talk_session` VALUES (59, '000000', '226c947c-a0cb-45ae-9e54-8165e17ff631', 2, '13476978960', '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770369746997\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770369746997\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770369746997\"}]', '2026-02-06 17:21:56', '2026-02-06 17:22:27', '0', 5, '2026-02-06 17:21:56', NULL, 5, '2026-02-06 17:22:27', 5);
INSERT INTO `talk_session` VALUES (60, '000000', '2938ace0-5659-456c-a3ae-3a490b52250c', 2, '13476978960', '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770369758114\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770369758114\"}]', '2026-02-06 17:22:29', '2026-02-06 17:22:38', '0', 5, '2026-02-06 17:22:29', NULL, 5, '2026-02-06 17:22:38', 5);
INSERT INTO `talk_session` VALUES (61, '000000', '9466486d-81c9-485b-8dcf-91358252d175', 2, '13476978960', '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770369988087\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770369988087\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770369988087\"}]', '2026-02-06 17:25:08', '2026-02-06 17:26:28', '0', 5, '2026-02-06 17:25:08', NULL, 5, '2026-02-06 17:26:28', 5);
INSERT INTO `talk_session` VALUES (62, '000000', 'a96d750b-a058-44fb-b95c-4d5bff29657f', 2, '13476978960', '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770370035874\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770370035874\"}, {\"role\": \"assistant\", \"content\": \"\\n嗯，用户发来一句简单的“你好”，还带了个空方括号。看起来像是刚进入客服咨询的状态，可能是在测试功能或想确认是否接通人工客服。\\n\\n用户没有提供具体订单号或问题描述，估计是初次接触客服渠道的新用户？也可能只是礼貌性开场。那个方括号有点奇怪，或许是误触键盘，也可能是想表达“此处填写问题”的意思？不过作为客服不能过度解读，先按常规问候处理比较稳妥。\\n\\n考虑到电商客服需要快速解决问题，回复应该包含三个关键点：表达欢迎、引导用户提供具体需求、暗示支持范围是“订单售后”。用emoji增加亲和力，毕竟文字沟通缺乏语气。提到“在线客服”能减轻用户对等待时长的顾虑，结尾开放性问题能推动对话进展。\\n\\n用户此刻应该处于比较放松的状态，毕竟没有紧急投诉的迹象。如果30秒内没回复，可能需要追加一句“请问您是需要查询订单还是咨询退换货政策呢？”来进一步引导。\\n\\n\\n你好！欢迎联系我们的客服，请问有什么可以帮您解决的吗？无论是订单查询、物流跟踪还是售后协助，我都会尽力为您处理！😊\\n\\n（请提供订单号或简述问题，我会第一时间为您解决）\", \"timestamp\": \"1770370035874\"}]', '2026-02-06 17:26:30', '2026-02-06 17:27:16', '0', 5, '2026-02-06 17:26:30', NULL, 5, '2026-02-06 17:27:16', 5);
INSERT INTO `talk_session` VALUES (63, '000000', 'd8553568-dbbd-40a3-9fe0-dfecf58ef77b', 2, '13476978960', '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770370096037\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770370096037\"}]', '2026-02-06 17:27:19', '2026-02-06 17:28:16', '0', 5, '2026-02-06 17:27:19', NULL, -1, '2026-02-06 17:33:16', 5);
INSERT INTO `talk_session` VALUES (64, '000000', '57c153a0-89c9-4da1-a3e9-af7af5936c1b', 2, '13476978960', '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770370286692\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770370286692\"}]', '2026-02-06 17:29:26', '2026-02-06 17:31:27', '0', 5, '2026-02-06 17:29:26', NULL, 5, '2026-02-06 17:31:27', 5);
INSERT INTO `talk_session` VALUES (65, '000000', '3fda34c9-3630-44be-9b21-dbdb29c74be9', 2, '', '[{\"role\": \"assistant\", \"content\": \"你好，我是小明\", \"timestamp\": \"1770376124318\"}]', '2026-02-06 19:08:34', '2026-02-06 19:08:44', '0', 5, '2026-02-06 19:08:34', NULL, 5, '2026-02-06 19:08:44', 5);
INSERT INTO `talk_session` VALUES (66, '000000', '273d6cb2-774e-47a0-9d6a-d318ec11561d', 1, '2324234234', '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1770379097104\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770379097104\"}, {\"role\": \"assistant\", \"content\": \"你好，有什么我可以帮助您的吗？\", \"timestamp\": \"1770379097104\"}]', '2026-02-06 19:57:53', '2026-02-06 19:58:17', '0', 4, '2026-02-06 19:57:53', NULL, 4, '2026-02-06 19:58:17', 4);
INSERT INTO `talk_session` VALUES (67, '000000', '715ec4f7-ef25-4c7a-92b3-aa283a06a3ba', 1, '6666666666', '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1770429645509\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770429645509\"}, {\"role\": \"assistant\", \"content\": \"您好！有什么我可以帮助您的吗？\", \"timestamp\": \"1770429645509\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770429645509\"}, {\"role\": \"assistant\", \"content\": \"您好！有什么我可以帮您解决的问题呢？\", \"timestamp\": \"1770429645509\"}]', '2026-02-07 09:59:52', '2026-02-07 10:00:46', '0', 4, '2026-02-07 09:59:52', NULL, 4, '2026-02-07 10:00:46', 4);
INSERT INTO `talk_session` VALUES (68, '000000', '66c0e2ca-c0b6-473b-b31e-3d07f78dd798', 1, '6666666666', NULL, '2026-02-07 10:21:08', NULL, '0', 4, '2026-02-07 10:21:08', NULL, 4, '2026-02-07 10:21:08', 4);
INSERT INTO `talk_session` VALUES (69, '000000', '0bf9b6e8-21f2-419b-a58c-ba11cde4d78c', 1, '6666666666666', '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1770431027111\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770431027111\"}, {\"role\": \"assistant\", \"content\": \"您好！有什么可以帮助您的吗？\", \"timestamp\": \"1770431027111\"}]', '2026-02-07 10:23:27', '2026-02-07 10:23:47', '0', 4, '2026-02-07 10:23:27', NULL, 4, '2026-02-07 10:23:47', 4);
INSERT INTO `talk_session` VALUES (70, '000000', 'bce16cd6-e12c-4b46-9302-637cccac7fcc', 1, '3534534543', '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1770431061506\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770431061506\"}, {\"role\": \"assistant\", \"content\": \"您好！请问有什么可以帮助您的？\", \"timestamp\": \"1770431061506\"}]', '2026-02-07 10:23:54', '2026-02-07 10:24:22', '0', 4, '2026-02-07 10:23:54', NULL, 4, '2026-02-07 10:24:22', 4);
INSERT INTO `talk_session` VALUES (71, '000000', '8df964a3-5207-4943-b431-2e5a9dde07ab', 1, '4235235452352', '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1770433013211\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770433013211\"}, {\"role\": \"user\", \"content\": \"你好？\", \"timestamp\": \"1770433013211\"}]', '2026-02-07 10:54:13', '2026-02-07 10:56:53', '0', -1, '2026-02-07 10:54:13', -1, 4, '2026-02-07 10:56:53', 4);
INSERT INTO `talk_session` VALUES (72, '000000', 'eee57722-7c27-45fe-bb86-d892ed2e6096', 1, '324234235', '[{\"role\": \"user\", \"content\": \"你好？\", \"timestamp\": \"1770433090013\"}, {\"role\": \"assistant\", \"content\": \"用户说：“你好？”\", \"timestamp\": \"1770433091813\"}]', '2026-02-07 10:57:56', '2026-02-07 10:58:12', '0', 4, '2026-02-07 10:57:56', NULL, -1, '2026-02-07 10:58:12', 4);
INSERT INTO `talk_session` VALUES (73, '000000', '1bb9600d-cc82-42e0-b56c-6ee5322d462a', 1, '434235235235', NULL, '2026-02-07 11:45:05', NULL, '0', 4, '2026-02-07 11:45:05', NULL, 4, '2026-02-07 11:45:05', 4);
INSERT INTO `talk_session` VALUES (74, '000000', '0325aca1-5949-49f8-88af-f8db94fb68a6', 1, '354353523', NULL, '2026-02-07 11:45:28', NULL, '0', 4, '2026-02-07 11:45:28', NULL, 4, '2026-02-07 11:45:28', 4);
INSERT INTO `talk_session` VALUES (75, '000000', 'b498cad5-961e-485a-8fe1-7df576054854', 1, '4234234234', NULL, '2026-02-07 11:49:31', NULL, '0', 4, '2026-02-07 11:49:31', NULL, 4, '2026-02-07 11:49:31', 4);
INSERT INTO `talk_session` VALUES (76, '000000', '141a22cb-2301-4b3b-87fd-8d61eafbe1a6', 1, '323423523523', '[{\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770436546513\"}, {\"role\": \"assistant\", \"content\": \"用户说：“你好”。\", \"timestamp\": \"1770436546514\"}]', '2026-02-07 11:55:24', '2026-02-07 11:55:47', '0', 4, '2026-02-07 11:55:24', NULL, -1, '2026-02-07 11:55:47', 4);
INSERT INTO `talk_session` VALUES (77, '000000', '4e0f55d5-ac5c-4899-b6eb-13b6c87bf74b', 1, '55615156156', '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1770439438923\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770439438923\"}, {\"role\": \"assistant\", \"content\": \"用户说：“你好”。\", \"timestamp\": \"1770439438923\"}]', '2026-02-07 12:43:36', '2026-02-07 12:43:59', '0', 4, '2026-02-07 12:43:36', NULL, 4, '2026-02-07 12:43:59', 4);
INSERT INTO `talk_session` VALUES (78, '000000', '7bc848fd-d33a-4c18-aeeb-1a0547236e1b', 1, '55615156156', '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1770443191208\"}, {\"role\": \"user\", \"content\": \"你叫\", \"timestamp\": \"1770443191208\"}, {\"role\": \"assistant\", \"content\": \"用户问我：“你叫什么名字？”\", \"timestamp\": \"1770443191208\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770443191208\"}, {\"role\": \"assistant\", \"content\": \"你好，有什么可以帮助你的吗？\", \"timestamp\": \"1770443191208\"}]', '2026-02-07 13:44:26', '2026-02-07 13:46:31', '0', 4, '2026-02-07 13:44:26', NULL, 4, '2026-02-07 13:46:31', 4);
INSERT INTO `talk_session` VALUES (79, '000000', '8341db08-9991-4629-a655-104ebfe54a35', 1, '1215113215', '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1770601886905\"}, {\"role\": \"user\", \"content\": \"你好\", \"timestamp\": \"1770601886905\"}, {\"role\": \"assistant\", \"content\": \"您好！请问有什么可以帮助您的？\", \"timestamp\": \"1770601886905\"}]', '2026-02-09 09:50:55', '2026-02-09 09:51:27', '0', 4, '2026-02-09 09:50:55', NULL, 4, '2026-02-09 09:51:27', 4);
INSERT INTO `talk_session` VALUES (80, '000000', '5fa8c300-bc3a-4ee9-93d6-822ce00c5a2c', 1, '呼出至你 - 分机号码 104', '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1770604407109\"}]', '2026-02-09 10:26:55', '2026-02-09 10:33:27', '0', 4, '2026-02-09 10:26:55', NULL, 4, '2026-02-09 10:33:27', 4);
INSERT INTO `talk_session` VALUES (81, '000000', '15650064-ca0d-4480-9265-7b129eef64fd', 1, '104', '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1770604684020\"}]', '2026-02-09 10:34:50', '2026-02-09 10:38:04', '0', 4, '2026-02-09 10:34:50', NULL, 4, '2026-02-09 10:38:04', 4);
INSERT INTO `talk_session` VALUES (82, '000000', '27144c2e-5c77-4e39-96fc-cd9957bc1d9b', 1, '104', '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1770604953207\"}]', '2026-02-09 10:39:05', '2026-02-09 10:42:33', '0', 4, '2026-02-09 10:39:05', NULL, 4, '2026-02-09 10:42:33', 4);
INSERT INTO `talk_session` VALUES (83, '000000', 'e33df280-83b1-4abd-90b0-58266dec16d1', 1, '104', '[{\"role\": \"assistant\", \"content\": \"你好\", \"timestamp\": \"1770604976613\"}]', '2026-02-09 10:42:38', '2026-02-09 10:42:57', '0', 4, '2026-02-09 10:42:38', NULL, 4, '2026-02-09 10:42:57', 4);
INSERT INTO `talk_session` VALUES (84, '000000', '546a3d92-681e-423e-b429-1ef345a5eb4b', 1, '445171415', '[{\"role\": \"user\", \"content\": \"统教区\", \"timestamp\": \"1770605435213\"}, {\"role\": \"assistant\", \"content\": \"抱歉，您的问题似乎不完整。如果您在问关于“统教区”的问题，那么我需要更具体的信息来为您提供准确的答案。例如，您可能想知道“统教区”的定义、功能或是如何在电商平台找到相关的商品。请提供更多信息，我会很乐意帮助您。\", \"timestamp\": \"1770605435214\"}]', '2026-02-09 10:50:05', '2026-02-09 10:50:35', '0', 4, '2026-02-09 10:50:05', NULL, -1, '2026-02-09 10:50:35', 4);

-- ----------------------------
-- Table structure for test_demo
-- ----------------------------
DROP TABLE IF EXISTS `test_demo`;
CREATE TABLE `test_demo`  (
  `id` bigint NOT NULL COMMENT '主键',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '部门id',
  `user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_num` int NULL DEFAULT 0 COMMENT '排序号',
  `test_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'key键',
  `value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '值',
  `version` int NULL DEFAULT 0 COMMENT '版本',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建人',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新人',
  `del_flag` int NULL DEFAULT 0 COMMENT '删除标志',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '测试单表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of test_demo
-- ----------------------------
INSERT INTO `test_demo` VALUES (1, '000000', 102, 4, 1, '测试数据权限', '测试', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_demo` VALUES (2, '000000', 102, 3, 2, '子节点1', '111', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_demo` VALUES (3, '000000', 102, 3, 3, '子节点2', '222', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_demo` VALUES (4, '000000', 108, 4, 4, '测试数据', 'demo', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_demo` VALUES (5, '000000', 108, 3, 13, '子节点11', '1111', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_demo` VALUES (6, '000000', 108, 3, 12, '子节点22', '2222', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_demo` VALUES (7, '000000', 108, 3, 11, '子节点33', '3333', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_demo` VALUES (8, '000000', 108, 3, 10, '子节点44', '4444', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_demo` VALUES (9, '000000', 108, 3, 9, '子节点55', '5555', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_demo` VALUES (10, '000000', 108, 3, 8, '子节点66', '6666', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_demo` VALUES (11, '000000', 108, 3, 7, '子节点77', '7777', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_demo` VALUES (12, '000000', 108, 3, 6, '子节点88', '8888', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_demo` VALUES (13, '000000', 108, 3, 5, '子节点99', '9999', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);

-- ----------------------------
-- Table structure for test_tree
-- ----------------------------
DROP TABLE IF EXISTS `test_tree`;
CREATE TABLE `test_tree`  (
  `id` bigint NOT NULL COMMENT '主键',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `parent_id` bigint NULL DEFAULT 0 COMMENT '父id',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '部门id',
  `user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `tree_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '值',
  `version` int NULL DEFAULT 0 COMMENT '版本',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建人',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新人',
  `del_flag` int NULL DEFAULT 0 COMMENT '删除标志',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '测试树表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of test_tree
-- ----------------------------
INSERT INTO `test_tree` VALUES (1, '000000', 0, 102, 4, '测试数据权限', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_tree` VALUES (2, '000000', 1, 102, 3, '子节点1', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_tree` VALUES (3, '000000', 2, 102, 3, '子节点2', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_tree` VALUES (4, '000000', 0, 108, 4, '测试树1', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_tree` VALUES (5, '000000', 4, 108, 3, '子节点11', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_tree` VALUES (6, '000000', 4, 108, 3, '子节点22', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_tree` VALUES (7, '000000', 4, 108, 3, '子节点33', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_tree` VALUES (8, '000000', 5, 108, 3, '子节点44', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_tree` VALUES (9, '000000', 6, 108, 3, '子节点55', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_tree` VALUES (10, '000000', 7, 108, 3, '子节点66', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_tree` VALUES (11, '000000', 7, 108, 3, '子节点77', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_tree` VALUES (12, '000000', 10, 108, 3, '子节点88', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);
INSERT INTO `test_tree` VALUES (13, '000000', 10, 108, 3, '子节点99', 0, 103, '2026-01-26 15:21:40', 1, NULL, NULL, 0);

-- ----------------------------
-- Table structure for whatsapp_history
-- ----------------------------
DROP TABLE IF EXISTS `whatsapp_history`;
CREATE TABLE `whatsapp_history`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '会话ID',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `session_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '会话唯一标识',
  `user_account` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '用户账号',
  `conversation_json` json NULL COMMENT '对话详细数据',
  `start_time` datetime NULL DEFAULT NULL COMMENT '会话开始时间',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '0' COMMENT '删除标志',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `session_id`(`session_id` ASC) USING BTREE,
  INDEX `idx_tenant_id`(`tenant_id` ASC) USING BTREE,
  INDEX `idx_session_id`(`session_id` ASC) USING BTREE,
  INDEX `idx_user_account`(`user_account` ASC) USING BTREE,
  INDEX `idx_start_time`(`start_time` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'whatsapp对话历史表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of whatsapp_history
-- ----------------------------
INSERT INTO `whatsapp_history` VALUES (1, '000000', '79071932-a2be-4c33-8438-0a90a569a0c6', 'user01', '[{\"role\": \"user\", \"round\": \"1\", \"content\": \"hi,一个大人，住3天，有房吗？\", \"timestamp\": \"1769763775611\"}, {\"role\": \"user\", \"round\": \"1\", \"content\": \"hi,一个大人，住3天，有房吗？\", \"timestamp\": \"1769763775612\"}, {\"role\": \"assistant\", \"round\": \"1\", \"content\": \"Yes, we do have availability for tomorrow, February 7th, for one adult and one child. Could you let me know how many nights you’re planning to stay?\", \"timestamp\": \"1769763775611\"}, {\"role\": \"assistant\", \"round\": \"1\", \"content\": \"Yes, we do have availability for tomorrow, February 7th, for one adult and one child. Could you let me know how many nights you’re planning to stay?\", \"timestamp\": \"1769763775612\"}, {\"role\": \"user\", \"round\": \"2\", \"content\": \"hi,一个大人，住3天，有房吗？\", \"timestamp\": \"1769763775612\"}, {\"role\": \"assistant\", \"round\": \"2\", \"content\": \"Yes, we do have availability for tomorrow, February 7th, for one adult and one child. Could you let me know how many nights you’re planning to stay?\", \"timestamp\": \"1769763775612\"}]', '2026-02-09 09:56:41', '0', -1, '2026-02-09 09:56:41', -1, -1, '2026-02-09 10:38:38');
INSERT INTO `whatsapp_history` VALUES (2, '000000', '79171932-a2be-4c33-8438-0a90a569a0c6', '4234234235', '[{\"role\": \"user\", \"round\": \"1\", \"content\": \"hi,一个大人，住3天，有房吗？\", \"timestamp\": \"1769763775612\"}, {\"role\": \"assistant\", \"round\": \"1\", \"content\": \"Yes, we do have availability for tomorrow, February 7th, for one adult and one child. Could you let me know how many nights you’re planning to stay?\", \"timestamp\": \"1769763775612\"}]', '2026-02-09 10:41:19', '0', -1, '2026-02-09 10:41:19', -1, -1, '2026-02-09 10:41:19');

-- ----------------------------
-- Table structure for whatsapp_user
-- ----------------------------
DROP TABLE IF EXISTS `whatsapp_user`;
CREATE TABLE `whatsapp_user`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '000000' COMMENT '租户编号',
  `user_account` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '用户账号',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '0' COMMENT '删除标志',
  `create_by` bigint NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
  `update_by` bigint NULL DEFAULT NULL COMMENT '更新者',
  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `user_account`(`user_account` ASC) USING BTREE,
  INDEX `idx_tenant_id`(`tenant_id` ASC) USING BTREE,
  INDEX `idx_user_account`(`user_account` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'whatsapp用户表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of whatsapp_user
-- ----------------------------
INSERT INTO `whatsapp_user` VALUES (1, '000000', 'user01', '0', -1, '2026-02-09 09:56:41', -1, -1, '2026-02-09 09:56:41');
INSERT INTO `whatsapp_user` VALUES (3, '000000', '131241232', '0', -1, '2026-02-09 10:38:38', -1, -1, '2026-02-09 10:38:38');
INSERT INTO `whatsapp_user` VALUES (4, '000000', '4234234235', '0', -1, '2026-02-09 10:41:19', -1, -1, '2026-02-09 10:41:19');

SET FOREIGN_KEY_CHECKS = 1;
