docs: 更新文档和数据库文件

This commit is contained in:
RockYang
2023-07-25 17:25:23 +08:00
parent 9bee2a90f9
commit 8876e6a098
3 changed files with 97 additions and 328 deletions

View File

@@ -8,29 +8,33 @@
## 功能截图
### 1.PC 端聊天界面
### PC 端聊天界面
![ChatGPT Chat Page](docs/imgs/gpt.gif)
### 2. 新版聊天界面
### 新版聊天界面
![ChatGPT new Chat Page](docs/imgs/chat-new.png)
### 3. 用户设置
### 自动调用函数插件
![ChatGPT function plugin](docs/imgs/plugin.png)
### 用户设置
![ChatGPT user profle](docs/imgs/user_profile.png)
### 4. 登录页面
### 登录页面
![ChatGPT Login](docs/imgs/login.png)
### 5. 管理后台
### 管理后台
![ChatGPT admin](docs/imgs/admin_config.png)
![ChatGPT admin](docs/imgs/admin_user.png)
### 6. 移动端 Web 页面
### 移动端 Web 页面
![Mobile chat list](/docs/imgs/mobile_chat_list.png)
![Mobile chat session](/docs/imgs/mobile_chat_session.png)
@@ -78,6 +82,7 @@ ChatGPT 的服务。
6. 重构后台管理模块,更友好,扩展性更好的后台管理系统。
7. 引入 ip2region 组件记录用户的登录IP和地址。
8. 支持会话搜索过滤。
9. 支持微信支付充值
## 项目地址
@@ -88,7 +93,8 @@ ChatGPT 的服务。
* [ ] 整合 Midjourney AI 绘画 API
* [ ] 开发移动端聊天页面
* [ ] 接入微信支付功能
* [x] 接入微信支付功能
* [x] 支持 ChatGPT 函数功能,通过函数实现插件
* [ ] 接入语音和 TTS API支持语音聊天
* [ ] 开发手机 App 客户端
@@ -126,6 +132,9 @@ Listen = "0.0.0.0:5678"
ProxyURL = ["YOUR_PROXY_URL"] # 替换成你本地代理http://127.0.0.1:7777
#ProxyURL = "" 如果你的服务器本身就在墙外,那么你直接留空就好了
MysqlDns = "root:12345678@tcp(172.22.11.200:3307)/chatgpt_plus?charset=utf8&parseTime=True&loc=Local"
StartWechatBot = false # 是否启动微信机器人,默认关闭,如果设置为 TRUE 则启动服务的时候需要微信扫码登录
EnabledMsgService = false # 注册时是否开启短信验证功能,该功能需要配合短信服务一起使用
[Session]
SecretKey = "azyehq3ivunjhbntz78isj00i4hz2mt9xtddysfucxakadq4qbfrt0b7q3lnvg80"
Name = "CHAT_SESSION_ID"
@@ -139,6 +148,18 @@ MysqlDns = "root:12345678@tcp(172.22.11.200:3307)/chatgpt_plus?charset=utf8&pars
[Manager]
Username = "admin"
Password = "admin123" # 如果是生产环境的话,这里管理员的密码记得修改
[ApiConfig] # 插件 API 服务配置,此为第三方插件服务,如需使用请联系作者开通
ApiURL = "{URL}"
AppId = "{APP_ID}"
Token = "{TOKEN}"
[SmsConfig] # 阿里云短信服务配置
AccessKey = "{YOUR_ACCESS_KEY}"
AccessSecret = "{YOUR_SECRET_KEY}"
Product = "Dysmsapi"
Domain = "dysmsapi.aliyuncs.com"
```
修改 nginx 配置文档 `docker/conf/nginx/conf.d/chatgpt-plus.conf`,把后端转发的地址改成当前主机的内网 IP 地址。

View File

@@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- 主机: localhost
-- 生成日期: 2023-06-27 14:14:47
-- 生成日期: 2023-07-25 17:07:04
-- 服务器版本: 8.0.33-0ubuntu0.22.04.2
-- PHP 版本: 8.1.18
@@ -55,140 +55,11 @@ CREATE TABLE `chatgpt_chat_history` (
`role_id` int NOT NULL COMMENT '角色 ID',
`content` text NOT NULL COMMENT '聊天内容',
`tokens` smallint NOT NULL COMMENT '耗费 token 数量',
`use_context` tinyint(1) NOT NULL COMMENT '是否允许作为上下文语料',
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='聊天历史记录';
--
-- 转存表中的数据 `chatgpt_chat_history`
--
INSERT INTO `chatgpt_chat_history` (`id`, `user_id`, `chat_id`, `type`, `icon`, `role_id`, `content`, `tokens`, `created_at`, `updated_at`) VALUES
(1, 4, 'ecb752e8-86ae-4989-897e-5b7ed331cb68', 'prompt', '/images/avatar/user.png', 24, '请写一段代码实现生成 Excel 文档', 12, '2023-06-12 15:51:10', '2023-06-25 18:09:47'),
(2, 4, 'ecb752e8-86ae-4989-897e-5b7ed331cb68', 'reply', '/images/avatar/programmer.jpg', 24, '好的,以下是使用 Golang 实现生成 Excel 文档的示例代码:\n\n```go\npackage main\n\nimport (\n \"fmt\"\n \"github.com/360EntSecGroup-Skylar/excelize\"\n)\n\nfunc main() {\n // 创建一个新的 Excel 文档\n f := excelize.NewFile()\n\n // 创建一个新的工作表\n index := f.NewSheet(\"Sheet1\")\n\n // 设置表头\n f.SetCellValue(\"Sheet1\", \"A1\", \"姓名\")\n f.SetCellValue(\"Sheet1\", \"B1\", \"年龄\")\n f.SetCellValue(\"Sheet1\", \"C1\", \"性别\")\n\n // 填充数据\n f.SetCellValue(\"Sheet1\", \"A2\", \"小明\")\n f.SetCellValue(\"Sheet1\", \"B2\", 18)\n f.SetCellValue(\"Sheet1\", \"C2\", \"男\")\n\n f.SetCellValue(\"Sheet1\", \"A3\", \"小红\")\n f.SetCellValue(\"Sheet1\", \"B3\", 20)\n f.SetCellValue(\"Sheet1\", \"C3\", \"女\")\n\n // 设置活动工作表\n f.SetActiveSheet(index)\n\n // 保存 Excel 文档\n if err := f.SaveAs(\"example.xlsx\"); err != nil {\n fmt.Println(err)\n }\n}\n```\n\n以上代码首先使用 excelize 包创建一个新的 Excel 文档,并创建一个名为 \"Sheet1\" 的工作表。然后使用 `SetCellValue` 函数设置表头和数据。最后将 \"Sheet1\" 工作表设置为活动工作表,并使用 `SaveAs` 函数将 Excel 文档保存到本地。', 12, '2023-06-12 15:51:10', '2023-06-25 18:09:47'),
(3, 4, 'ecb752e8-86ae-4989-897e-5b7ed331cb68', 'prompt', '/images/avatar/user.png', 24, '生成二维码', 5, '2023-06-12 17:05:10', '2023-06-25 18:09:47'),
(4, 4, 'ecb752e8-86ae-4989-897e-5b7ed331cb68', 'reply', '/images/avatar/programmer.jpg', 24, '好的,生成二维码这个需求可以使用 Go 语言的第三方库来实现。下面是一个简单的示例,使用 go-qrcode 生成一个包含字符串信息的二维码:\n\n```go\npackage main\n\nimport (\n \"bufio\"\n \"fmt\"\n \"os\"\n\n qrcode \"github.com/skip2/go-qrcode\"\n)\n\nfunc main() {\n reader := bufio.NewReader(os.Stdin)\n fmt.Print(\"请输入要生成二维码的信息:\")\n text, _ := reader.ReadString(\'\\n\')\n\n qr, _ := qrcode.New(text, qrcode.Medium)\n qr.WriteFile(256, \"qrcode.png\")\n fmt.Println(\"二维码已生成,请查看当前目录下的 qrcode.png 文件。\")\n}\n```\n\n在这个示例中我们使用了 go-qrcode 这个第三方库来生成二维码。首先,我们通过标准输入获取用户输入的字符串信息,然后调用 New 函数创建一个二维码实例,使用 qr.WriteFile 保存为 PNG 格式的图片文件。最后,程序会输出一条提示信息,告知用户二维码生成成功。\n\n当然这个示例只是一个简单的演示实际应用中可能需要考虑更多的需求比如二维码的尺寸、颜色、背景等但基本的思路是相似的。', 5, '2023-06-12 17:05:10', '2023-06-25 18:09:47'),
(5, 4, 'f7aa0fa1-4cc5-4212-b823-eb5b88844c31', 'prompt', '/images/avatar/user.png', 27, '你好', 2, '2023-06-12 18:32:05', '2023-06-25 18:09:47'),
(6, 4, 'f7aa0fa1-4cc5-4212-b823-eb5b88844c31', 'reply', '/images/avatar/psychiatrist.jpg', 27, '你好,有什么我能帮助你的吗?', 2, '2023-06-12 18:32:05', '2023-06-25 18:09:47'),
(7, 4, 'ea9d399a-6e62-4bf6-a0c0-c73faa8dcace', 'prompt', '/images/avatar/user.png', 1, 'sdasd', 2, '2023-06-13 09:12:04', '2023-06-25 18:09:47'),
(8, 4, 'ea9d399a-6e62-4bf6-a0c0-c73faa8dcace', 'reply', '/images/avatar/gpt.png', 1, 'I\'m sorry, I do not understand what you are trying to convey. Please provide more context.', 2, '2023-06-13 09:12:04', '2023-06-25 18:09:47'),
(9, 4, 'f7aa0fa1-4cc5-4212-b823-eb5b88844c31', 'prompt', '/images/avatar/user.png', 27, '', 11, '2023-06-13 09:35:02', '2023-06-25 18:09:47'),
(10, 4, 'f7aa0fa1-4cc5-4212-b823-eb5b88844c31', 'reply', '/images/avatar/psychiatrist.jpg', 27, '使', 11, '2023-06-13 09:35:02', '2023-06-25 18:09:47'),
(11, 4, 'f7aa0fa1-4cc5-4212-b823-eb5b88844c31', 'prompt', '/images/avatar/user.png', 27, '', 20, '2023-06-13 09:36:16', '2023-06-25 18:09:47'),
(12, 4, 'f7aa0fa1-4cc5-4212-b823-eb5b88844c31', 'reply', '/images/avatar/psychiatrist.jpg', 27, '\n\n认知重构法通过帮助客户辨认和纠正这些消极的认知偏差和自我评价\n\n1. \n\n2. \n\n3. \n\n4. \n\n这种方法可以帮助客户更好地理解和管理自己的思想和情感反应', 20, '2023-06-13 09:36:16', '2023-06-25 18:09:47'),
(13, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, '', 16, '2023-06-13 10:00:21', '2023-06-25 18:09:47'),
(14, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, '', 127, '2023-06-13 10:00:22', '2023-06-25 18:09:47'),
(15, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, '', 25, '2023-06-13 11:05:31', '2023-06-25 18:09:47'),
(16, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, '', 90, '2023-06-13 11:05:32', '2023-06-25 18:09:47'),
(17, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, '', 14, '2023-06-13 11:06:06', '2023-06-25 18:09:47'),
(18, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, '1920', 214, '2023-06-13 11:06:08', '2023-06-25 18:09:47'),
(19, 4, 'ea9d399a-6e62-4bf6-a0c0-c73faa8dcace', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-13 11:28:28', '2023-06-25 18:09:47'),
(20, 4, 'ea9d399a-6e62-4bf6-a0c0-c73faa8dcace', 'reply', '/images/avatar/gpt.png', 1, 'Hello! How may I assist you today?', 9, '2023-06-13 11:28:29', '2023-06-25 18:09:47'),
(21, 4, 'ea9d399a-6e62-4bf6-a0c0-c73faa8dcace', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-13 11:29:31', '2023-06-25 18:09:47'),
(22, 4, 'ea9d399a-6e62-4bf6-a0c0-c73faa8dcace', 'reply', '/images/avatar/gpt.png', 1, 'Hi there! Is there anything I can help you with today?', 13, '2023-06-13 11:29:32', '2023-06-25 18:09:47'),
(23, 4, '43937f77-28b0-438a-843b-04ab5cc072a4', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-13 11:35:48', '2023-06-25 18:09:47'),
(24, 4, '43937f77-28b0-438a-843b-04ab5cc072a4', 'reply', '/images/avatar/gpt.png', 1, 'Hello! How can I assist you today?', 9, '2023-06-13 11:35:51', '2023-06-25 18:09:47'),
(25, 4, '4385db19-bb73-4b09-a01e-d06c3645b77a', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-13 11:38:21', '2023-06-25 18:09:47'),
(26, 4, '4385db19-bb73-4b09-a01e-d06c3645b77a', 'reply', '/images/avatar/gpt.png', 1, 'Hello! How can I assist you today?', 9, '2023-06-13 11:38:21', '2023-06-25 18:09:47'),
(27, 4, 'ceb5fab7-a2e0-449d-869b-a9ac117adf8d', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-13 11:45:35', '2023-06-25 18:09:47'),
(28, 4, 'ceb5fab7-a2e0-449d-869b-a9ac117adf8d', 'reply', '/images/avatar/gpt.png', 1, 'Hello there, how can I assist you?', 9, '2023-06-13 11:45:36', '2023-06-25 18:09:47'),
(29, 4, '1cddfd62-3bf0-4fa9-bfd8-a0ce4663eb78', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-13 11:46:52', '2023-06-25 18:09:47'),
(30, 4, '1cddfd62-3bf0-4fa9-bfd8-a0ce4663eb78', 'reply', '/images/avatar/gpt.png', 1, 'Hello! How can I assist you today?', 9, '2023-06-13 11:46:53', '2023-06-25 18:09:47'),
(31, 4, '0118588e-399d-4a2a-8469-36e5a1af6a93', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-13 11:57:47', '2023-06-25 18:09:47'),
(32, 4, '0118588e-399d-4a2a-8469-36e5a1af6a93', 'reply', '/images/avatar/gpt.png', 1, 'Hello! How can I assist you today?', 9, '2023-06-13 11:57:48', '2023-06-25 18:09:47'),
(33, 4, '568f2918-33b2-46f7-8ef0-b9fa0b241bf2', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-13 11:58:04', '2023-06-25 18:09:47'),
(34, 4, '568f2918-33b2-46f7-8ef0-b9fa0b241bf2', 'reply', '/images/avatar/gpt.png', 1, 'Hello! How can I assist you today?', 9, '2023-06-13 11:58:08', '2023-06-25 18:09:47'),
(35, 4, '568f2918-33b2-46f7-8ef0-b9fa0b241bf2', 'prompt', '/images/avatar/user.png', 1, '', 5, '2023-06-13 11:58:19', '2023-06-25 18:09:47'),
(36, 4, '568f2918-33b2-46f7-8ef0-b9fa0b241bf2', 'reply', '/images/avatar/gpt.png', 1, 'AI语言模型', 22, '2023-06-13 11:58:21', '2023-06-25 18:09:47'),
(37, 4, '568f2918-33b2-46f7-8ef0-b9fa0b241bf2', 'prompt', '/images/avatar/user.png', 1, '', 8, '2023-06-13 11:58:28', '2023-06-25 18:09:47'),
(38, 4, '568f2918-33b2-46f7-8ef0-b9fa0b241bf2', 'reply', '/images/avatar/gpt.png', 1, '', 49, '2023-06-13 11:58:29', '2023-06-25 18:09:47'),
(39, 4, '1cddfd62-3bf0-4fa9-bfd8-a0ce4663eb78', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-13 12:03:44', '2023-06-25 18:09:47'),
(40, 4, '1cddfd62-3bf0-4fa9-bfd8-a0ce4663eb78', 'reply', '/images/avatar/gpt.png', 1, 'Hello again! Is there anything I can help you with?', 12, '2023-06-13 12:03:46', '2023-06-25 18:09:47'),
(41, 4, '3c79cfda-816b-404b-832c-04a400b816c8', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-13 12:06:32', '2023-06-25 18:09:47'),
(42, 4, '3c79cfda-816b-404b-832c-04a400b816c8', 'reply', '/images/avatar/gpt.png', 1, 'Hello! How can I assist you today?', 9, '2023-06-13 12:06:35', '2023-06-25 18:09:47'),
(43, 4, '4f391861-1d48-430f-91b8-2782d884c10a', 'prompt', '/images/avatar/user.png', 1, '', 2, '2023-06-13 12:06:47', '2023-06-25 18:09:47'),
(44, 4, '4f391861-1d48-430f-91b8-2782d884c10a', 'reply', '/images/avatar/gpt.png', 1, '', 18, '2023-06-13 12:06:48', '2023-06-25 18:09:47'),
(45, 4, 'c5e400fc-b9a8-4bd4-a608-be955284c0a9', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-13 16:58:26', '2023-06-25 18:09:47'),
(46, 4, 'c5e400fc-b9a8-4bd4-a608-be955284c0a9', 'reply', '/images/avatar/gpt.png', 1, 'Hello there! How can I assist you today?', 10, '2023-06-13 16:58:27', '2023-06-25 18:09:47'),
(47, 4, 'c5e400fc-b9a8-4bd4-a608-be955284c0a9', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-13 17:02:35', '2023-06-25 18:09:47'),
(48, 4, 'c5e400fc-b9a8-4bd4-a608-be955284c0a9', 'reply', '/images/avatar/gpt.png', 1, 'Hello! How can I assist you today?', 9, '2023-06-13 17:02:36', '2023-06-25 18:09:47'),
(49, 4, 'c5e400fc-b9a8-4bd4-a608-be955284c0a9', 'prompt', '/images/avatar/user.png', 1, '', 4, '2023-06-13 17:02:48', '2023-06-25 18:09:47'),
(50, 4, 'c5e400fc-b9a8-4bd4-a608-be955284c0a9', 'reply', '/images/avatar/gpt.png', 1, ' AI ', 25, '2023-06-13 17:02:49', '2023-06-25 18:09:47'),
(51, 4, 'c5e400fc-b9a8-4bd4-a608-be955284c0a9', 'prompt', '/images/avatar/user.png', 1, '', 7, '2023-06-13 17:08:21', '2023-06-25 18:09:47'),
(52, 4, 'c5e400fc-b9a8-4bd4-a608-be955284c0a9', 'reply', '/images/avatar/gpt.png', 1, 'AI语言模型', 16, '2023-06-13 17:08:26', '2023-06-25 18:09:47'),
(53, 4, 'd5179095-a460-4c62-bfa0-59f83ab17ed7', 'prompt', '/images/avatar/user.png', 1, '', 4, '2023-06-13 17:11:25', '2023-06-25 18:09:47'),
(54, 4, 'd5179095-a460-4c62-bfa0-59f83ab17ed7', 'reply', '/images/avatar/gpt.png', 1, 'AI助手OpenAI', 13, '2023-06-13 17:11:26', '2023-06-25 18:09:47'),
(55, 4, 'd5179095-a460-4c62-bfa0-59f83ab17ed7', 'prompt', '/images/avatar/user.png', 1, '', 7, '2023-06-13 17:11:46', '2023-06-25 18:09:47'),
(56, 4, 'd5179095-a460-4c62-bfa0-59f83ab17ed7', 'reply', '/images/avatar/gpt.png', 1, '', 11, '2023-06-13 17:11:47', '2023-06-25 18:09:47'),
(57, 4, 'd5179095-a460-4c62-bfa0-59f83ab17ed7', 'prompt', '/images/avatar/user.png', 1, '', 7, '2023-06-13 17:14:25', '2023-06-25 18:09:47'),
(58, 4, 'd5179095-a460-4c62-bfa0-59f83ab17ed7', 'reply', '/images/avatar/gpt.png', 1, 'AI', 21, '2023-06-13 17:14:26', '2023-06-25 18:09:47'),
(59, 4, 'd5179095-a460-4c62-bfa0-59f83ab17ed7', 'prompt', '/images/avatar/user.png', 1, '', 17, '2023-06-13 17:16:10', '2023-06-25 18:09:47'),
(60, 4, 'd5179095-a460-4c62-bfa0-59f83ab17ed7', 'reply', '/images/avatar/gpt.png', 1, 'AI', 52, '2023-06-13 17:16:11', '2023-06-25 18:09:47'),
(61, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, 'Q这个人物', 13, '2023-06-13 17:18:42', '2023-06-25 18:09:47'),
(62, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, 'QQ的存在本身就是一种寓言', 196, '2023-06-13 17:18:43', '2023-06-25 18:09:47'),
(63, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, '', 11, '2023-06-13 17:23:02', '2023-06-25 18:09:47'),
(64, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, '', 239, '2023-06-13 17:23:03', '2023-06-25 18:09:47'),
(65, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, '', 20, '2023-06-13 17:25:01', '2023-06-25 18:09:47'),
(66, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, '', 260, '2023-06-13 17:25:03', '2023-06-25 18:09:47'),
(67, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, '', 26, '2023-06-13 17:45:06', '2023-06-25 18:09:47'),
(68, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, '', 308, '2023-06-13 17:45:07', '2023-06-25 18:09:47'),
(69, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, '', 24, '2023-06-13 17:48:56', '2023-06-25 18:09:47'),
(70, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, '便', 261, '2023-06-13 17:48:57', '2023-06-25 18:09:47'),
(71, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, '', 13, '2023-06-15 07:14:58', '2023-06-25 18:09:47'),
(72, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, '使\n\n至于金钱的本质AI的份上', 437, '2023-06-15 07:15:00', '2023-06-25 18:09:47'),
(77, 4, '0acd67e6-6442-4056-b10b-c7e0926ceccf', 'prompt', '/images/avatar/user.png', 35, '', 13, '2023-06-15 10:12:03', '2023-06-25 18:09:47'),
(78, 4, '0acd67e6-6442-4056-b10b-c7e0926ceccf', 'reply', '/images/avatar/girl_friend.jpg', 35, '', 185, '2023-06-15 10:12:04', '2023-06-25 18:09:47'),
(83, 9, 'd8e61f33-9287-4d63-b28f-b6e6aa891bb5', 'prompt', '/images/avatar/user.png', 1, '', 4, '2023-06-15 11:13:55', '2023-06-25 18:09:47'),
(84, 9, 'd8e61f33-9287-4d63-b28f-b6e6aa891bb5', 'reply', '/images/avatar/gpt.png', 1, 'OpenAI GPT-3', 38, '2023-06-15 11:13:55', '2023-06-25 18:09:47'),
(85, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-16 12:19:29', '2023-06-25 18:09:47'),
(86, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'reply', '/images/avatar/gpt.png', 1, 'Hello! How can I assist you today?', 9, '2023-06-16 12:19:30', '2023-06-25 18:09:47'),
(87, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-16 15:28:12', '2023-06-25 18:09:47'),
(88, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'reply', '/images/avatar/gpt.png', 1, 'Hello! How can I assist you today?', 9, '2023-06-16 15:28:18', '2023-06-25 18:09:47'),
(89, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'prompt', '/images/avatar/user.png', 1, '', 5, '2023-06-16 15:28:49', '2023-06-25 18:09:47'),
(90, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'reply', '/images/avatar/gpt.png', 1, 'AI语言模型', 42, '2023-06-16 15:28:50', '2023-06-25 18:09:47'),
(91, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'prompt', '/images/avatar/user.png', 1, '', 10, '2023-06-16 15:29:20', '2023-06-25 18:09:47'),
(92, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'reply', '/images/avatar/gpt.png', 1, '', 70, '2023-06-16 15:29:21', '2023-06-25 18:09:47'),
(93, 4, 'e5e6d499-7716-48c7-87cc-0b26734c51ae', 'prompt', '/images/avatar/user.png', 24, '', 9, '2023-06-16 15:30:18', '2023-06-25 18:09:47'),
(94, 4, 'e5e6d499-7716-48c7-87cc-0b26734c51ae', 'reply', '/images/avatar/programmer.jpg', 24, '\n\n- Go\n- Java\n- Python\n- C/C++\n- JavaScript\n- PHP\n\n不同的编程语言有着不同的特点和适用场景', 130, '2023-06-16 15:30:20', '2023-06-25 18:09:47'),
(95, 4, '895e142d-83b5-4695-9e52-35b4c957c4fd', 'prompt', '/images/avatar/user.png', 1, '', 2, '2023-06-21 10:33:44', '2023-06-25 18:09:47'),
(96, 4, '895e142d-83b5-4695-9e52-35b4c957c4fd', 'reply', '/images/avatar/gpt.png', 1, '', 16, '2023-06-21 10:33:47', '2023-06-25 18:09:47'),
(97, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, 'hello', 1, '2023-06-26 10:57:11', '2023-06-26 10:57:11'),
(98, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, '\n\n关于拉娜的经济问题', 297, '2023-06-26 10:57:12', '2023-06-26 10:57:12'),
(99, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, '', 23, '2023-06-26 11:57:32', '2023-06-26 11:57:32'),
(100, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, '', 366, '2023-06-26 11:57:34', '2023-06-26 11:57:34'),
(101, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, '', 22, '2023-06-26 12:10:23', '2023-06-26 12:10:23'),
(102, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, '', 87, '2023-06-26 12:10:24', '2023-06-26 12:10:24'),
(103, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'prompt', '/images/avatar/user.png', 28, '', 32, '2023-06-26 12:10:29', '2023-06-26 12:10:29'),
(104, 4, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 'reply', '/images/avatar/lu_xun.jpg', 28, '', 247, '2023-06-26 12:10:33', '2023-06-26 12:10:33'),
(105, 4, '0acd67e6-6442-4056-b10b-c7e0926ceccf', 'prompt', '/images/avatar/user.png', 35, '', 16, '2023-06-26 15:14:30', '2023-06-26 15:14:30'),
(106, 4, '0acd67e6-6442-4056-b10b-c7e0926ceccf', 'reply', '/images/avatar/girl_friend.jpg', 35, '\n\n至于男人是否都喜欢温柔的女生', 271, '2023-06-26 15:14:32', '2023-06-26 15:14:32'),
(107, 4, 'f6623cc0-e873-4566-9d9d-854dcf08492d', 'prompt', '/images/avatar/user.png', 1, 'hello', 1, '2023-06-26 15:24:59', '2023-06-26 15:24:59'),
(108, 4, 'f6623cc0-e873-4566-9d9d-854dcf08492d', 'reply', '/images/avatar/gpt.png', 1, 'Hello! How may I assist you today?', 9, '2023-06-26 15:25:01', '2023-06-26 15:25:01'),
(109, 4, '338f78b2-2c98-4193-aced-93ea8cf29106', 'prompt', '/images/avatar/user.png', 1, '', 0, '2023-06-26 15:46:50', '2023-06-26 15:46:50'),
(110, 4, '338f78b2-2c98-4193-aced-93ea8cf29106', 'reply', '/images/avatar/gpt.png', 1, '', 0, '2023-06-26 15:46:52', '2023-06-26 15:46:52'),
(111, 4, '6413088d-d6ef-4b43-bffd-ca063d4d941a', 'prompt', '/images/avatar/user.png', 1, ' GPT4 GPT3', 11, '2023-06-26 16:30:24', '2023-06-26 16:30:24'),
(112, 4, '6413088d-d6ef-4b43-bffd-ca063d4d941a', 'reply', '/images/avatar/gpt.png', 1, ' GPT-3OpenAI的一个自然语言处理模型', 20, '2023-06-26 16:30:26', '2023-06-26 16:30:26'),
(113, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'prompt', 'http://localhost:5678/static/upload/2023/6/1687834512597.png', 1, '', 11, '2023-06-27 10:57:06', '2023-06-27 10:57:06'),
(114, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'reply', '/images/avatar/gpt.png', 1, 'AI语言模型', 45, '2023-06-27 10:57:08', '2023-06-27 10:57:08'),
(115, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'prompt', 'http://localhost:5678/static/upload/2023/6/1687834512597.png', 1, '', 20, '2023-06-27 11:18:33', '2023-06-27 11:18:33'),
(116, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'reply', '/images/avatar/gpt.png', 1, 'AI语言模型', 140, '2023-06-27 11:18:34', '2023-06-27 11:18:34'),
(117, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'prompt', 'http://localhost:5678/static/upload/2023/6/1687834512597.png', 1, '', 11, '2023-06-27 11:21:26', '2023-06-27 11:21:26'),
(118, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'reply', '/images/avatar/gpt.png', 1, 'AI语言模型', 109, '2023-06-27 11:21:28', '2023-06-27 11:21:28'),
(119, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'prompt', 'http://localhost:5678/static/upload/2023/6/1687834512597.png', 1, '', 26, '2023-06-27 11:21:49', '2023-06-27 11:21:49'),
(120, 4, 'd709cb54-5c27-44e0-a576-46837577ac7a', 'reply', '/images/avatar/gpt.png', 1, 'AI语言模型仿', 183, '2023-06-27 11:21:50', '2023-06-27 11:21:50'),
(121, 4, 'af6e0a83-c8c9-4e57-b609-a75d091df25b', 'prompt', 'http://localhost:5678/static/upload/2023/6/1687839034317.png', 1, '{\n \"data\": {\n \"交易状态\": \"银行受理成功\",\n \"付款人\": {\n \"全称\": \"东莞市百胜凯塑胶原料有限公司\",\n \"开户行\": \"中国建设银行股份有限公奇东莞樟木买振兴支行\",\n \"账号\": \"44050177925200000536\"\n },\n \"凭证号\": \"104751121652\",\n \"大写金额\": \"伍拾染柒万玖仟陆佰元整\",\n \"小写金额\": \"¥579,600.00元\",\n \"币别\": \"人民币\",\n \"收款人\": {\n \"全称\": \"东莞市盟大数据科技有限公司\",\n \"开户行\": \"中国工商银行股份有限公司东莞东城支行\",\n \"账号\": \"2010020909200321458\"\n },\n \"日期\": \"2023-02-1415:43\",\n \"用途\": \"货款\",\n \"验证码\": \"17898488862290\"\n }', 0, '2023-06-27 13:31:41', '2023-06-27 13:31:41'),
(122, 4, 'af6e0a83-c8c9-4e57-b609-a75d091df25b', 'reply', '/images/avatar/gpt.png', 1, ': \n付款人户名: \n付款人账号: 44050177925200000536\n收款人开户行: \n收款人户名: \n收款人账号: 2010020909200321458\n交易金额: 579,600.00\n业务唯一标识号: 104751121652\n交易日期: 2023-02-14 15:43', 0, '2023-06-27 13:31:44', '2023-06-27 13:31:44'),
(123, 4, 'af6e0a83-c8c9-4e57-b609-a75d091df25b', 'prompt', 'http://localhost:5678/static/upload/2023/6/1687839034317.png', 1, '使', 0, '2023-06-27 13:32:10', '2023-06-27 13:32:10'),
(124, 4, 'af6e0a83-c8c9-4e57-b609-a75d091df25b', 'reply', '/images/avatar/gpt.png', 1, '| | |\n|---------|-------------------------------------|\n| | |\n| | |\n| | 44050177925200000536 |\n| | |\n| | |\n| | 2010020909200321458 |\n| | 579,600.00 |\n| | 104751121652 |\n| | 2023-02-14 15:43 |', 0, '2023-06-27 13:32:13', '2023-06-27 13:32:13'),
(125, 4, 'a09f77b6-7bbc-48cf-b2cc-99a4e0879c19', 'prompt', 'http://localhost:5678/static/upload/2023/6/1687839034317.png', 1, 'hello', 0, '2023-06-27 13:35:47', '2023-06-27 13:35:47'),
(126, 4, 'a09f77b6-7bbc-48cf-b2cc-99a4e0879c19', 'reply', '/images/avatar/gpt.png', 1, 'Hello! How can I assist you today?', 0, '2023-06-27 13:35:48', '2023-06-27 13:35:48'),
(127, 4, 'a09f77b6-7bbc-48cf-b2cc-99a4e0879c19', 'prompt', 'http://localhost:5678/static/upload/2023/6/1687839034317.png', 1, '', 2, '2023-06-27 13:44:53', '2023-06-27 13:44:53'),
(128, 4, 'a09f77b6-7bbc-48cf-b2cc-99a4e0879c19', 'reply', '/images/avatar/gpt.png', 1, '! ', 19, '2023-06-27 13:44:55', '2023-06-27 13:44:55'),
(129, 4, 'af6e0a83-c8c9-4e57-b609-a75d091df25b', 'prompt', 'http://localhost:5678/static/upload/2023/6/1687839034317.png', 1, '', 20, '2023-06-27 13:47:05', '2023-06-27 13:47:05'),
(130, 4, 'af6e0a83-c8c9-4e57-b609-a75d091df25b', 'reply', '/images/avatar/gpt.png', 1, ': \n付款人户名: \n付款人账号: 44050177925200000536\n收款人开户行: \n收款人户名: \n收款人账号: 2010020909200321458\n交易金额: 579,600.00\n业务唯一标识号: 104751121652\n交易日期: 2023-02-1415:43', 191, '2023-06-27 13:47:06', '2023-06-27 13:47:06'),
(131, 4, 'af6e0a83-c8c9-4e57-b609-a75d091df25b', 'prompt', 'http://localhost:5678/static/upload/2023/6/1687839034317.png', 1, '', 9, '2023-06-27 13:47:27', '2023-06-27 13:47:27'),
(132, 4, 'af6e0a83-c8c9-4e57-b609-a75d091df25b', 'reply', '/images/avatar/gpt.png', 1, ': \n付款人户名: \n付款人账号: 44050177925200000536\n收款人开户行: \n收款人户名: \n收款人账号: 2010020909200321458\n交易金额: 579,600.00\n业务唯一标识号: 104751121652\n交易日期: 2023-02-1415:43', 191, '2023-06-27 13:47:29', '2023-06-27 13:47:29');
-- --------------------------------------------------------
--
@@ -207,42 +78,6 @@ CREATE TABLE `chatgpt_chat_items` (
`updated_at` datetime NOT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='用户会话列表';
--
-- 转存表中的数据 `chatgpt_chat_items`
--
INSERT INTO `chatgpt_chat_items` (`id`, `chat_id`, `user_id`, `role_id`, `title`, `model`, `created_at`, `updated_at`) VALUES
(13, 'cd4e1bfe-19aa-4379-afff-377bcbda9080', 4, 1, ' C ', 'gpt-3.5-turbo', '2023-06-07 06:46:04', '2023-06-07 06:46:04'),
(14, '7f4e6823-ef15-489b-830c-6482f6bce4cd', 4, 1, '', 'gpt-3.5-turbo', '2023-06-07 06:56:30', '2023-06-07 06:56:30'),
(15, 'ad803ca5-5543-406a-b27d-53021052bd86', 4, 1, '', 'gpt-3.5-turbo', '2023-06-07 07:00:11', '2023-06-07 07:00:11'),
(16, 'aba82444-4bc0-4107-b1db-dc14ad368f64', 4, 1, '5', 'gpt-3.5-turbo', '2023-06-07 07:02:44', '2023-06-07 07:02:44'),
(19, '60d6619d-f6dc-449d-b7bd-f493d5b0ee7f', 4, 24, '使 Go http ', 'gpt-3.5-turbo', '2023-06-07 07:14:04', '2023-06-07 07:14:04'),
(20, '9df8deaa-5c05-45d5-b92f-4309db967d79', 4, 35, '', 'gpt-3.5-turbo', '2023-06-08 06:00:05', '2023-06-08 06:00:05'),
(21, 'eb04f0af-73a8-401a-972e-ed508bb97082', 4, 36, '', 'gpt-3.5-turbo', '2023-06-08 06:01:43', '2023-06-08 06:01:43'),
(22, '38a1698b-d421-454c-b2bd-5eb5bd16f7c3', 4, 1, '', 'gpt-3.5-turbo', '2023-06-09 05:55:43', '2023-06-09 05:55:43'),
(23, '8a5b2809-b540-4eb7-bcbc-0f467e6127ae', 4, 36, 'hello', 'gpt-3.5-turbo', '2023-06-09 06:11:50', '2023-06-09 06:11:50'),
(24, 'ee0a6c64-0a62-4a5e-87da-708692d14034', 4, 1, 'hello', 'gpt-3.5-turbo', '2023-06-09 06:43:46', '2023-06-09 06:43:46'),
(25, '4404a8f4-562a-4973-b69d-9061839a249a', 4, 25, '', 'gpt-3.5-turbo', '2023-06-09 06:44:26', '2023-06-09 06:44:26'),
(26, '0251becf-eab7-4451-932f-e6f54547a530', 4, 26, '', 'gpt-3.5-turbo', '2023-06-09 06:45:50', '2023-06-09 06:45:50'),
(27, '748bfcee-d204-4510-ab0c-4341af1cf3b6', 4, 28, '', 'gpt-3.5-turbo', '2023-06-09 06:47:08', '2023-06-09 06:47:08'),
(28, 'f245f994-35bc-4c6c-8db0-87be5987465c', 4, 30, 'Rock Yang', 'gpt-3.5-turbo', '2023-06-09 06:49:29', '2023-06-09 06:49:29'),
(29, '6c8f28d2-fd2a-4146-bc99-88138331ea09', 4, 28, 'hello', 'gpt-3.5-turbo', '2023-06-09 06:50:51', '2023-06-09 06:50:51'),
(30, '219c465b-93ff-4b1f-b191-45c478af301c', 4, 25, '', 'gpt-3.5-turbo', '2023-06-09 06:54:54', '2023-06-09 06:54:54'),
(31, 'dcdbb443-38f6-4394-9157-576350c56818', 4, 27, '', 'gpt-3.5-turbo', '2023-06-09 06:55:24', '2023-06-09 06:55:24'),
(32, 'b0001927-4ff1-4e8c-be56-44ecd8176643', 4, 24, '', 'gpt-3.5-turbo', '2023-06-09 06:55:46', '2023-06-09 06:55:46'),
(33, '9585a183-0774-45e7-ae6c-801b942d11e7', 4, 24, ' js socket ', 'gpt-3.5-turbo', '2023-06-09 07:04:42', '2023-06-09 07:04:42'),
(36, '4ec38193-5572-45b4-874b-94f9054af00b', 4, 1, 'hello', 'gpt-3.5-turbo', '2023-06-09 20:14:04', '2023-06-09 20:14:04'),
(37, '6413088d-d6ef-4b43-bffd-ca063d4d941a', 4, 1, '', 'gpt-3.5-turbo', '2023-06-09 20:15:26', '2023-06-09 20:15:26'),
(38, 'e5e6d499-7716-48c7-87cc-0b26734c51ae', 4, 24, '', 'gpt-3.5-turbo', '2023-06-11 10:22:42', '2023-06-11 10:22:42'),
(39, 'f7aa0fa1-4cc5-4212-b823-eb5b88844c31', 4, 27, '', 'gpt-3.5-turbo', '2023-06-11 10:24:32', '2023-06-11 10:24:32'),
(40, 'ecb752e8-86ae-4989-897e-5b7ed331cb68', 4, 24, ' Excel ', 'gpt-3.5-turbo', '2023-06-12 15:51:10', '2023-06-12 15:51:10'),
(41, 'ea9d399a-6e62-4bf6-a0c0-c73faa8dcace', 4, 1, 'what fuck this meaning', 'gpt-3.5-turbo', '2023-06-13 09:12:04', '2023-06-13 09:12:04'),
(42, '89f4d526-fda1-401e-a946-cd3b1bc30cf2', 4, 28, '', 'gpt-3.5-turbo', '2023-06-13 10:00:28', '2023-06-13 10:00:28'),
(56, '0acd67e6-6442-4056-b10b-c7e0926ceccf', 4, 35, '', 'gpt-3.5-turbo', '2023-06-15 10:12:12', '2023-06-15 10:12:12'),
(58, 'd8e61f33-9287-4d63-b28f-b6e6aa891bb5', 9, 1, '', 'gpt-3.5-turbo', '2023-06-15 11:13:57', '2023-06-15 11:13:57'),
(59, 'd709cb54-5c27-44e0-a576-46837577ac7a', 4, 1, '', 'gpt-3.5-turbo', '2023-06-16 12:19:30', '2023-06-16 12:19:30'),
(63, 'af6e0a83-c8c9-4e57-b609-a75d091df25b', 4, 1, '...', 'gpt-3.5-turbo-16k', '2023-06-27 13:31:50', '2023-06-27 13:31:50');
-- --------------------------------------------------------
--
@@ -304,8 +139,26 @@ CREATE TABLE `chatgpt_configs` (
--
INSERT INTO `chatgpt_configs` (`id`, `marker`, `config_json`) VALUES
(1, 'system', '{\"admin_title\":\"ChatGPT-控制台\",\"init_calls\":1000,\"models\":[\"gpt-3.5-turbo\",\"gpt-3.5-turbo-16k\",\"gpt-3.5-turbo-0613\",\"gpt-3.5-turbo-16k-0613\",\"gpt-4\",\"gpt-4-0613\",\"gpt-4-32k\",\"gpt-4-32k-0613\"],\"title\":\"ChatGPT-智能助手V3\"}'),
(2, 'chat', '{\"api_url\":\"https://api.openai.com/v1/chat/completions\",\"enable_context\":true,\"enable_history\":true,\"max_tokens\":2048,\"model\":\"gpt-3.5-turbo\",\"temperature\":1}');
(1, 'system', '{\"admin_title\":\"ChatGPT-控制台\",\"init_calls\":1000,\"models\":[\"gpt-3.5-turbo\",\"gpt-3.5-turbo-16k\",\"gpt-3.5-turbo-0613\",\"gpt-3.5-turbo-16k-0613\",\"gpt-4\",\"gpt-4-0613\",\"gpt-4-32k\",\"gpt-4-32k-0613\"],\"title\":\"ChatGPT-智能助手V3\",\"user_init_calls\":10}'),
(2, 'chat', '{\"api_url\":\"https://api.openai.com/v1/chat/completions\",\"context_deep\":4,\"enable_context\":true,\"enable_history\":true,\"max_tokens\":2048,\"model\":\"gpt-3.5-turbo\",\"temperature\":1}');
-- --------------------------------------------------------
--
-- 表的结构 `chatgpt_rewards`
--
DROP TABLE IF EXISTS `chatgpt_rewards`;
CREATE TABLE `chatgpt_rewards` (
`id` int NOT NULL,
`user_id` int NOT NULL COMMENT '用户 ID',
`tx_id` char(36) NOT NULL COMMENT '交易 ID',
`amount` decimal(10,2) NOT NULL COMMENT '打赏金额',
`remark` varchar(80) NOT NULL COMMENT '备注',
`status` tinyint(1) NOT NULL COMMENT '核销状态0未核销1已核销',
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='用户打赏';
-- --------------------------------------------------------
@@ -317,6 +170,7 @@ DROP TABLE IF EXISTS `chatgpt_users`;
CREATE TABLE `chatgpt_users` (
`id` int NOT NULL,
`username` varchar(30) NOT NULL COMMENT '用户名',
`mobile` char(11) NOT NULL COMMENT '手机号码',
`password` char(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '密码',
`nickname` varchar(30) NOT NULL COMMENT '昵称',
`avatar` varchar(100) NOT NULL COMMENT '头像',
@@ -337,11 +191,8 @@ CREATE TABLE `chatgpt_users` (
-- 转存表中的数据 `chatgpt_users`
--
INSERT INTO `chatgpt_users` (`id`, `username`, `password`, `nickname`, `avatar`, `salt`, `tokens`, `calls`, `expired_time`, `status`, `chat_config_json`, `chat_roles_json`, `last_login_at`, `last_login_ip`, `created_at`, `updated_at`) VALUES
(4, 'geekmaster', 'ccc3fb7ab61b8b5d096a4a166ae21d121fc38c71bbd1be6173d9ab973214a63b', '@', 'http://localhost:5678/static/upload/2023/6/1687839034317.png', 'ueedue5l', 0, 940, 1688083200, 1, '{\"model\":\"gpt-3.5-turbo-0613\",\"temperature\":1,\"max_tokens\":2048,\"enable_context\":true,\"enable_history\":true,\"api_key\":\"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\"}', '[\"elon_musk\",\"girl_friend\",\"lu_xun\",\"red_book\",\"psychiatrist\",\"teacher\",\"translator\",\"weekly_report\",\"artist\",\"dou_yin\",\"good_comment\",\"english_trainer\",\"gpt\",\"kong_zi\",\"programmer\",\"seller\",\"steve_jobs\"]', 1687844693, '::1', '2023-06-12 16:47:17', '2023-06-27 13:44:53'),
(8, '11111111', '415208d99372801c4b3c22740fcfb51e4ba58c6268dd1cc6e7173821fba7e907', '@870902', '/images/avatar/user.png', 'k438y90k', 0, 1000, 1687593600, 1, '{\"model\":\"\",\"temperature\":1,\"max_tokens\":2048,\"enable_context\":true,\"enable_history\":true,\"api_key\":\"\"}', '[\"red_book\",\"seller\",\"steve_jobs\",\"teacher\",\"elon_musk\",\"programmer\",\"girl_friend\",\"psychiatrist\",\"dou_yin\",\"english_trainer\",\"kong_zi\",\"translator\",\"artist\",\"gpt\",\"weekly_report\",\"good_comment\",\"lu_xun\"]', 0, '', '2023-06-15 10:01:42', '2023-06-26 12:50:55'),
(9, '22222222', '2871c55519351ce39d571d65f1a4d33aaaf4ce4da5727ab753b4c9875cadfb37', '', '/images/avatar/user.png', 'han5xeu9', 0, 995, 1688083200, 0, '{\"model\":\"\",\"temperature\":1,\"max_tokens\":2048,\"enable_context\":true,\"enable_history\":true,\"api_key\":\"\"}', '[\"red_book\",\"artist\",\"girl_friend\",\"good_comment\",\"gpt\",\"lu_xun\",\"steve_jobs\",\"teacher\",\"kong_zi\",\"psychiatrist\",\"seller\",\"programmer\",\"translator\",\"weekly_report\",\"dou_yin\",\"elon_musk\",\"english_trainer\"]', 1686798874, '::1', '2023-06-15 10:03:43', '2023-06-26 12:50:55'),
(11, '33333333', 'c5a2756e6890a198f4d591db39e2abd0953f3f48790c591ac07ce23ec3842d6c', '@521644', '/images/avatar/user.png', 'c7mpdtnv', 0, 1000, 0, 0, '{\"model\":\"gpt-3.5-turbo\",\"temperature\":1,\"max_tokens\":2048,\"enable_context\":true,\"enable_history\":true,\"api_key\":\"\"}', '[\"elon_musk\",\"english_trainer\",\"good_comment\",\"psychiatrist\",\"steve_jobs\",\"translator\",\"girl_friend\",\"lu_xun\",\"seller\",\"teacher\",\"dou_yin\",\"gpt\",\"programmer\",\"weekly_report\",\"artist\",\"kong_zi\",\"red_book\"]', 1686799181, '::1', '2023-06-15 11:19:30', '2023-06-26 12:50:55');
INSERT INTO `chatgpt_users` (`id`, `username`, `mobile`, `password`, `nickname`, `avatar`, `salt`, `tokens`, `calls`, `expired_time`, `status`, `chat_config_json`, `chat_roles_json`, `last_login_at`, `last_login_ip`, `created_at`, `updated_at`) VALUES
(4, 'geekmaster', '18575670126', 'ccc3fb7ab61b8b5d096a4a166ae21d121fc38c71bbd1be6173d9ab973214a63b', '极客学长@本人', 'http://localhost:5678/static/upload/2023/6/1687839034317.png', 'ueedue5l', 2754, 921, 1727685036, 1, '{\"model\":\"gpt-3.5-turbo-0613\",\"temperature\":1,\"max_tokens\":2048,\"enable_context\":true,\"enable_history\":true,\"api_key\":\"\"}', '[\"elon_musk\",\"girl_friend\",\"lu_xun\",\"red_book\",\"psychiatrist\",\"teacher\",\"translator\",\"weekly_report\",\"artist\",\"dou_yin\",\"good_comment\",\"english_trainer\",\"gpt\",\"kong_zi\",\"programmer\",\"seller\",\"steve_jobs\"]', 1690264062, '::1', '2023-06-12 16:47:17', '2023-07-25 13:47:43');
-- --------------------------------------------------------
@@ -360,152 +211,24 @@ CREATE TABLE `chatgpt_user_login_logs` (
`updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='用户登录日志';
-- --------------------------------------------------------
--
-- 转存表中的数据 `chatgpt_user_login_logs`
-- 表的结构 `test`
--
INSERT INTO `chatgpt_user_login_logs` (`id`, `user_id`, `username`, `login_ip`, `login_address`, `created_at`, `updated_at`) VALUES
(1, 4, 'monda', '::1', '', '2023-06-13 18:45:46', '2023-06-13 18:45:46'),
(2, 4, 'monda', '::1', '::1', '2023-06-13 18:46:52', '2023-06-13 18:46:52'),
(3, 4, 'monda', '::1', '', '2023-06-13 18:47:44', '2023-06-13 18:47:44'),
(4, 4, 'monda', '::1', '', '2023-06-13 18:51:54', '2023-06-13 18:51:54'),
(5, 4, 'monda', '::1', '', '2023-06-13 18:52:51', '2023-06-13 18:52:51'),
(6, 4, 'monda', '::1', '', '2023-06-13 18:53:51', '2023-06-13 18:53:51'),
(7, 4, 'monda', '::1', '', '2023-06-13 18:57:25', '2023-06-13 18:57:25'),
(8, 4, 'monda', '::1', '', '2023-06-14 10:16:58', '2023-06-14 10:16:58'),
(9, 4, 'monda', '::1', '', '2023-06-14 10:21:57', '2023-06-14 10:21:57'),
(10, 4, 'monda', '::1', '', '2023-06-14 11:16:18', '2023-06-14 11:16:18'),
(11, 4, 'monda', '::1', '', '2023-06-14 11:35:15', '2023-06-14 11:35:15'),
(12, 4, 'monda', '::1', '', '2023-06-14 11:53:38', '2023-06-14 11:53:38'),
(13, 4, 'monda', '::1', '', '2023-06-14 12:01:55', '2023-06-14 12:01:55'),
(14, 4, 'monda', '::1', '', '2023-06-14 12:05:03', '2023-06-14 12:05:03'),
(15, 4, 'monda', '::1', '', '2023-06-14 15:42:47', '2023-06-14 15:42:47'),
(16, 4, 'monda', '::1', '', '2023-06-14 16:21:37', '2023-06-14 16:21:37'),
(17, 4, 'monda', '::1', '', '2023-06-14 16:51:20', '2023-06-14 16:51:20'),
(18, 4, 'monda', '::1', '', '2023-06-14 17:30:47', '2023-06-14 17:30:47'),
(19, 4, 'monda', '::1', '', '2023-06-14 17:32:48', '2023-06-14 17:32:48'),
(20, 4, 'monda', '::1', '', '2023-06-14 19:45:10', '2023-06-14 19:45:10'),
(21, 4, 'monda', '::1', '', '2023-06-14 20:23:23', '2023-06-14 20:23:23'),
(22, 4, 'monda', '::1', '', '2023-06-14 20:25:00', '2023-06-14 20:25:00'),
(23, 4, 'monda', '::1', '', '2023-06-15 06:07:49', '2023-06-15 06:07:49'),
(24, 4, 'monda', '::1', '', '2023-06-15 06:15:26', '2023-06-15 06:15:26'),
(25, 4, 'monda', '::1', '', '2023-06-15 07:02:41', '2023-06-15 07:02:41'),
(26, 4, 'monda', '::1', '', '2023-06-15 07:03:16', '2023-06-15 07:03:16'),
(27, 4, 'monda', '::1', '', '2023-06-15 07:04:13', '2023-06-15 07:04:13'),
(28, 4, 'monda', '::1', '', '2023-06-15 07:04:24', '2023-06-15 07:04:24'),
(29, 4, 'monda', '::1', '', '2023-06-15 07:04:24', '2023-06-15 07:04:24'),
(30, 4, 'monda', '::1', '', '2023-06-15 07:08:13', '2023-06-15 07:08:13'),
(31, 4, 'monda', '::1', '', '2023-06-15 07:08:20', '2023-06-15 07:08:20'),
(32, 4, 'monda', '::1', '', '2023-06-15 07:08:20', '2023-06-15 07:08:20'),
(33, 4, 'monda', '::1', '', '2023-06-15 07:08:20', '2023-06-15 07:08:20'),
(34, 4, 'monda', '::1', '', '2023-06-15 07:11:00', '2023-06-15 07:11:00'),
(35, 4, 'monda', '::1', '', '2023-06-15 07:11:06', '2023-06-15 07:11:06'),
(36, 4, 'monda', '::1', '', '2023-06-15 07:11:06', '2023-06-15 07:11:06'),
(37, 4, 'monda', '::1', '', '2023-06-15 07:11:06', '2023-06-15 07:11:06'),
(38, 4, 'monda', '::1', '', '2023-06-15 07:11:06', '2023-06-15 07:11:06'),
(39, 4, 'monda', '::1', '', '2023-06-15 07:14:44', '2023-06-15 07:14:44'),
(40, 4, 'monda', '::1', '', '2023-06-15 07:14:58', '2023-06-15 07:14:58'),
(41, 4, 'monda', '::1', '', '2023-06-15 07:14:58', '2023-06-15 07:14:58'),
(42, 4, 'monda', '::1', '', '2023-06-15 07:14:58', '2023-06-15 07:14:58'),
(43, 4, 'monda', '::1', '', '2023-06-15 07:14:58', '2023-06-15 07:14:58'),
(44, 4, 'monda', '::1', '', '2023-06-15 07:14:58', '2023-06-15 07:14:58'),
(45, 4, 'monda', '::1', '', '2023-06-15 09:20:28', '2023-06-15 09:20:28'),
(46, 4, 'geekmaster', '::1', '', '2023-06-15 09:25:08', '2023-06-15 09:25:08'),
(47, 4, 'geekmaster', '::1', '', '2023-06-15 09:43:45', '2023-06-15 09:43:45'),
(48, 4, 'geekmaster', '::1', '', '2023-06-15 09:44:27', '2023-06-15 09:44:27'),
(49, 4, 'geekmaster', '::1', '', '2023-06-15 10:10:15', '2023-06-15 10:10:15'),
(50, 9, '22222222', '::1', '', '2023-06-15 10:10:40', '2023-06-15 10:10:40'),
(51, 4, 'geekmaster', '::1', '', '2023-06-15 10:10:53', '2023-06-15 10:10:53'),
(52, 4, 'geekmaster', '::1', '', '2023-06-15 10:10:53', '2023-06-15 10:10:53'),
(53, 4, 'geekmaster', '::1', '', '2023-06-15 10:10:53', '2023-06-15 10:10:53'),
(54, 9, '22222222', '::1', '', '2023-06-15 10:10:53', '2023-06-15 10:10:53'),
(55, 4, 'geekmaster', '::1', '', '2023-06-15 10:11:22', '2023-06-15 10:11:22'),
(56, 4, 'geekmaster', '::1', '', '2023-06-15 10:11:22', '2023-06-15 10:11:22'),
(57, 4, 'geekmaster', '::1', '', '2023-06-15 10:11:22', '2023-06-15 10:11:22'),
(58, 9, '22222222', '::1', '', '2023-06-15 10:11:22', '2023-06-15 10:11:22'),
(59, 4, 'geekmaster', '::1', '', '2023-06-15 10:12:03', '2023-06-15 10:12:03'),
(60, 4, 'geekmaster', '::1', '', '2023-06-15 10:12:03', '2023-06-15 10:12:03'),
(61, 4, 'geekmaster', '::1', '', '2023-06-15 10:12:03', '2023-06-15 10:12:03'),
(62, 9, '22222222', '::1', '', '2023-06-15 10:12:03', '2023-06-15 10:12:03'),
(63, 9, '22222222', '::1', '', '2023-06-15 11:11:58', '2023-06-15 11:11:58'),
(64, 9, '22222222', '::1', '', '2023-06-15 11:13:55', '2023-06-15 11:13:55'),
(65, 4, 'geekmaster', '::1', '', '2023-06-15 11:14:03', '2023-06-15 11:14:03'),
(66, 9, '22222222', '::1', '', '2023-06-15 11:14:35', '2023-06-15 11:14:35'),
(67, 10, '33333333', '::1', '', '2023-06-15 11:18:14', '2023-06-15 11:18:14'),
(68, 11, '33333333', '::1', '', '2023-06-15 11:19:42', '2023-06-15 11:19:42'),
(69, 4, 'geekmaster', '127.0.0.1', '0-0-IP', '2023-06-15 12:09:24', '2023-06-15 12:09:24'),
(70, 4, 'geekmaster', '::1', '', '2023-06-15 14:06:53', '2023-06-15 14:06:53'),
(71, 4, 'geekmaster', '127.0.0.1', '0-0-IP', '2023-06-15 16:00:56', '2023-06-15 16:00:56'),
(72, 4, 'geekmaster', '127.0.0.1', '0-0-IP', '2023-06-15 16:07:06', '2023-06-15 16:07:06'),
(73, 4, 'geekmaster', '::1', '', '2023-06-16 09:32:32', '2023-06-16 09:32:32'),
(74, 4, 'geekmaster', '::1', '', '2023-06-16 09:45:57', '2023-06-16 09:45:57'),
(75, 4, 'geekmaster', '127.0.0.1', '0-0-IP', '2023-06-16 09:48:13', '2023-06-16 09:48:13'),
(76, 4, 'geekmaster', '::1', '', '2023-06-16 09:48:33', '2023-06-16 09:48:33'),
(77, 4, 'geekmaster', '::1', '', '2023-06-16 10:22:12', '2023-06-16 10:22:12'),
(78, 4, 'geekmaster', '::1', '', '2023-06-16 11:17:13', '2023-06-16 11:17:13'),
(79, 4, 'geekmaster', '::1', '', '2023-06-16 11:40:23', '2023-06-16 11:40:23'),
(80, 4, 'geekmaster', '::1', '', '2023-06-16 13:36:14', '2023-06-16 13:36:14'),
(81, 4, 'geekmaster', '::1', '', '2023-06-16 15:27:10', '2023-06-16 15:27:10'),
(82, 4, 'geekmaster', '::1', '', '2023-06-16 15:27:23', '2023-06-16 15:27:23'),
(83, 4, 'geekmaster', '::1', '', '2023-06-16 15:27:26', '2023-06-16 15:27:26'),
(84, 4, 'geekmaster', '::1', '', '2023-06-16 15:27:33', '2023-06-16 15:27:33'),
(85, 4, 'geekmaster', '::1', '', '2023-06-16 15:27:41', '2023-06-16 15:27:41'),
(86, 4, 'geekmaster', '::1', '', '2023-06-16 15:27:42', '2023-06-16 15:27:42'),
(87, 4, 'geekmaster', '::1', '', '2023-06-16 15:27:42', '2023-06-16 15:27:42'),
(88, 4, 'geekmaster', '::1', '', '2023-06-16 15:27:43', '2023-06-16 15:27:43'),
(89, 4, 'geekmaster', '::1', '', '2023-06-16 15:27:43', '2023-06-16 15:27:43'),
(90, 4, 'geekmaster', '::1', '', '2023-06-16 15:27:43', '2023-06-16 15:27:43'),
(91, 4, 'geekmaster', '::1', '', '2023-06-16 15:28:12', '2023-06-16 15:28:12'),
(92, 4, 'geekmaster', '::1', '', '2023-06-16 15:28:49', '2023-06-16 15:28:49'),
(93, 4, 'geekmaster', '::1', '', '2023-06-16 15:29:20', '2023-06-16 15:29:20'),
(94, 4, 'geekmaster', '::1', '', '2023-06-16 15:30:18', '2023-06-16 15:30:18'),
(95, 4, 'geekmaster', '::1', '', '2023-06-16 16:17:22', '2023-06-16 16:17:22'),
(96, 4, 'geekmaster', '::1', '', '2023-06-16 16:22:13', '2023-06-16 16:22:13'),
(97, 4, 'geekmaster', '::1', '', '2023-06-16 16:48:44', '2023-06-16 16:48:44'),
(98, 4, 'geekmaster', '::1', '', '2023-06-16 17:13:31', '2023-06-16 17:13:31'),
(99, 4, 'geekmaster', '::1', '', '2023-06-16 17:16:44', '2023-06-16 17:16:44'),
(100, 4, 'geekmaster', '::1', '', '2023-06-16 17:18:16', '2023-06-16 17:18:16'),
(101, 4, 'geekmaster', '::1', '', '2023-06-16 17:19:38', '2023-06-16 17:19:38'),
(102, 4, 'geekmaster', '::1', '', '2023-06-16 17:20:40', '2023-06-16 17:20:40'),
(103, 4, 'geekmaster', '::1', '', '2023-06-16 17:23:15', '2023-06-16 17:23:15'),
(104, 4, 'geekmaster', '::1', '', '2023-06-16 17:26:33', '2023-06-16 17:26:33'),
(105, 4, 'geekmaster', '::1', '', '2023-06-16 17:27:12', '2023-06-16 17:27:12'),
(106, 4, 'geekmaster', '::1', '', '2023-06-16 17:33:39', '2023-06-16 17:33:39'),
(107, 4, 'geekmaster', '::1', '', '2023-06-19 10:22:31', '2023-06-19 10:22:31'),
(108, 4, 'geekmaster', '::1', '', '2023-06-19 10:37:26', '2023-06-19 10:37:26'),
(109, 4, 'geekmaster', '::1', '', '2023-06-19 11:08:18', '2023-06-19 11:08:18'),
(110, 4, 'geekmaster', '::1', '', '2023-06-19 15:36:17', '2023-06-19 15:36:17'),
(111, 4, 'geekmaster', '::1', '', '2023-06-20 08:51:06', '2023-06-20 08:51:06'),
(112, 4, 'geekmaster', '::1', '', '2023-06-21 10:11:54', '2023-06-21 10:11:54'),
(113, 4, 'geekmaster', '::1', '', '2023-06-21 10:12:49', '2023-06-21 10:12:49'),
(114, 4, 'geekmaster', '::1', '', '2023-06-21 10:16:53', '2023-06-21 10:16:53'),
(115, 4, 'geekmaster', '::1', '', '2023-06-21 10:17:17', '2023-06-21 10:17:17'),
(116, 4, 'geekmaster', '::1', '', '2023-06-21 10:19:40', '2023-06-21 10:19:40'),
(117, 4, 'geekmaster', '::1', '', '2023-06-21 10:32:01', '2023-06-21 10:32:01'),
(118, 4, 'geekmaster', '::1', '', '2023-06-21 13:31:38', '2023-06-21 13:31:38'),
(119, 4, 'geekmaster', '::1', '', '2023-06-21 14:21:22', '2023-06-21 14:21:22'),
(120, 4, 'geekmaster', '::1', '', '2023-06-25 09:24:08', '2023-06-25 09:24:08'),
(121, 4, 'geekmaster', '::1', '', '2023-06-25 09:30:15', '2023-06-25 09:30:15'),
(122, 4, 'geekmaster', '::1', '', '2023-06-25 12:40:02', '2023-06-25 12:40:02'),
(123, 4, 'geekmaster', '::1', '', '2023-06-25 12:40:41', '2023-06-25 12:40:41'),
(124, 4, 'geekmaster', '::1', '', '2023-06-25 12:42:10', '2023-06-25 12:42:10'),
(125, 4, 'geekmaster', '::1', '', '2023-06-25 12:47:46', '2023-06-25 12:47:46'),
(126, 4, 'geekmaster', '::1', '', '2023-06-25 12:48:19', '2023-06-25 12:48:19'),
(127, 4, 'geekmaster', '::1', '', '2023-06-25 14:17:08', '2023-06-25 14:17:08'),
(128, 4, 'geekmaster', '::1', '', '2023-06-26 08:23:17', '2023-06-26 08:23:17'),
(129, 4, 'geekmaster', '::1', '', '2023-06-26 15:16:10', '2023-06-26 15:16:10'),
(130, 4, 'geekmaster', '::1', '', '2023-06-26 15:30:19', '2023-06-26 15:30:19'),
(131, 4, 'geekmaster', '::1', '', '2023-06-26 15:30:55', '2023-06-26 15:30:55'),
(132, 4, 'geekmaster', '::1', '', '2023-06-26 15:33:22', '2023-06-26 15:33:22'),
(133, 4, 'geekmaster', '::1', '', '2023-06-26 15:33:38', '2023-06-26 15:33:38'),
(134, 4, 'geekmaster', '::1', '', '2023-06-26 17:45:40', '2023-06-26 17:45:40'),
(135, 4, 'geekmaster', '::1', '', '2023-06-27 08:26:59', '2023-06-27 08:26:59'),
(136, 4, 'geekmaster', '::1', '', '2023-06-27 10:08:32', '2023-06-27 10:08:32'),
(137, 4, 'geekmaster', '::1', '', '2023-06-27 13:31:28', '2023-06-27 13:31:28'),
(138, 4, 'geekmaster', '::1', '', '2023-06-27 13:31:41', '2023-06-27 13:31:41'),
(139, 4, 'geekmaster', '::1', '', '2023-06-27 13:32:10', '2023-06-27 13:32:10'),
(140, 4, 'geekmaster', '::1', '', '2023-06-27 13:44:45', '2023-06-27 13:44:45'),
(141, 4, 'geekmaster', '::1', '', '2023-06-27 13:44:53', '2023-06-27 13:44:53');
DROP TABLE IF EXISTS `test`;
CREATE TABLE `test` (
`id` int NOT NULL,
`content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
--
-- 转存表中的数据 `test`
--
INSERT INTO `test` (`id`, `content`) VALUES
(1, '找到属于你的幸福!💑💛');
--
-- 转储表的索引
@@ -546,6 +269,13 @@ ALTER TABLE `chatgpt_configs`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `marker` (`marker`);
--
-- 表的索引 `chatgpt_rewards`
--
ALTER TABLE `chatgpt_rewards`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `tx_id` (`tx_id`);
--
-- 表的索引 `chatgpt_users`
--
@@ -558,6 +288,12 @@ ALTER TABLE `chatgpt_users`
ALTER TABLE `chatgpt_user_login_logs`
ADD PRIMARY KEY (`id`);
--
-- 表的索引 `test`
--
ALTER TABLE `test`
ADD PRIMARY KEY (`id`);
--
-- 在导出的表使用AUTO_INCREMENT
--
@@ -572,13 +308,13 @@ ALTER TABLE `chatgpt_api_keys`
-- 使用表AUTO_INCREMENT `chatgpt_chat_history`
--
ALTER TABLE `chatgpt_chat_history`
MODIFY `id` bigint NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=133;
MODIFY `id` bigint NOT NULL AUTO_INCREMENT;
--
-- 使用表AUTO_INCREMENT `chatgpt_chat_items`
--
ALTER TABLE `chatgpt_chat_items`
MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=65;
MODIFY `id` int NOT NULL AUTO_INCREMENT;
--
-- 使用表AUTO_INCREMENT `chatgpt_chat_roles`
@@ -592,17 +328,29 @@ ALTER TABLE `chatgpt_chat_roles`
ALTER TABLE `chatgpt_configs`
MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- 使用表AUTO_INCREMENT `chatgpt_rewards`
--
ALTER TABLE `chatgpt_rewards`
MODIFY `id` int NOT NULL AUTO_INCREMENT;
--
-- 使用表AUTO_INCREMENT `chatgpt_users`
--
ALTER TABLE `chatgpt_users`
MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=81;
MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=83;
--
-- 使用表AUTO_INCREMENT `chatgpt_user_login_logs`
--
ALTER TABLE `chatgpt_user_login_logs`
MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=142;
MODIFY `id` int NOT NULL AUTO_INCREMENT;
--
-- 使用表AUTO_INCREMENT `test`
--
ALTER TABLE `test`
MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

BIN
docs/imgs/plugin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB