From ac9f730f5e6ae0e58e3d9d5c9a7542387efb7f5e Mon Sep 17 00:00:00 2001 From: taoshihan Date: Mon, 21 Jul 2025 18:36:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/mysql.json | 6 +++--- import.sql | 2 +- static/templates/chat_page.html | 6 +++--- static/templates/login.html | 30 ++++++++++++------------------ tools/jwt.go | 2 +- 5 files changed, 20 insertions(+), 26 deletions(-) diff --git a/config/mysql.json b/config/mysql.json index 7d2415d..ccf1759 100644 --- a/config/mysql.json +++ b/config/mysql.json @@ -1,7 +1,7 @@ { "Server":"localhost", "Port":"3306", - "Database":"go-fly", - "Username":"go-fly", - "Password":"go-fly" + "Database":"goflychat", + "Username":"goflychat", + "Password":"goflychat" } diff --git a/import.sql b/import.sql index 1644bae..2d53956 100644 --- a/import.sql +++ b/import.sql @@ -13,7 +13,7 @@ CREATE TABLE `user` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; TRUNCATE TABLE `user`; INSERT INTO `user` (`id`, `name`, `password`, `nickname`, `created_at`, `updated_at`, `deleted_at`, `avator`) VALUE -(1, 'kefu2', '202cb962ac59075b964b07152d234b70', '智能客服系统', '2020-06-27 19:32:41', '2020-07-04 09:32:20', NULL, '/static/images/4.jpg'); +(1, 'kefu2', '202cb962ac59075b964b07152d234b70', 'Open Source LiveChat Software', '2020-06-27 19:32:41', '2020-07-04 09:32:20', NULL, '/static/images/4.jpg'); DROP TABLE IF EXISTS `visitor`; CREATE TABLE `visitor` ( diff --git a/static/templates/chat_page.html b/static/templates/chat_page.html index 443f078..68ad0c8 100644 --- a/static/templates/chat_page.html +++ b/static/templates/chat_page.html @@ -2,9 +2,9 @@ - - - 开源智能在线客服系统 + + + Golang Open Source LiveChat Software diff --git a/static/templates/login.html b/static/templates/login.html index d3d4c6f..b26c991 100644 --- a/static/templates/login.html +++ b/static/templates/login.html @@ -3,11 +3,11 @@ - 智能开源客服系统 - - - - + Golang Open Source LiveChat Software + + + +