diff --git a/config/go-fly.sql b/config/go-fly.sql index 21eb469..af0108b 100644 --- a/config/go-fly.sql +++ b/config/go-fly.sql @@ -106,9 +106,9 @@ CREATE TABLE `config` ( PRIMARY KEY (`id`), UNIQUE KEY `conf_key` (`conf_key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8| -INSERT INTO `config` (`id`, `conf_name`, `conf_key`, `conf_value`) VALUES (NULL, '是否开启Server酱微信提醒', 'NoticeServerJiang', 'false'); -INSERT INTO `config` (`id`, `conf_name`, `conf_key`, `conf_value`) VALUES (NULL, 'Server酱API', 'ServerJiangAPI', ''); -INSERT INTO `config` (`id`, `conf_name`, `conf_key`, `conf_value`) VALUES (NULL, '微信小程序Token', 'WeixinToken', ''); +INSERT INTO `config` (`id`, `conf_name`, `conf_key`, `conf_value`) VALUES (NULL, '是否开启Server酱微信提醒', 'NoticeServerJiang', 'false')| +INSERT INTO `config` (`id`, `conf_name`, `conf_key`, `conf_value`) VALUES (NULL, 'Server酱API', 'ServerJiangAPI', '')| +INSERT INTO `config` (`id`, `conf_name`, `conf_key`, `conf_value`) VALUES (NULL, '微信小程序Token', 'WeixinToken', '')| DROP TABLE IF EXISTS `about`| CREATE TABLE `about` ( @@ -127,4 +127,4 @@ PRIMARY KEY (`id`), UNIQUE KEY `page` (`page`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8| INSERT INTO `about` (`id`, `title_cn`, `title_en`, `keywords_cn`, `keywords_en`, `desc_cn`, `desc_en`, `css_js`, `html_cn`, `html_en`, `page`) VALUES -(1, 'GO-FLY - 极简强大的Go语言在线客服系统', 'GO-FLY - Simple and Powerful Go language online customer chat system', 'GO-FLY,GO-FLY', 'GO-FLY,GO-FLY', 'GO-FLY,GO-FLY,一套为PHP工程师、Golang工程师准备的基于 Vue 2.0的在线客服即时通讯系统', 'GO-FLY,GO-FLY, a Vue 2.0-based online customer service instant messaging system for PHP engineers and Golang engineers', ' ', '
\r\n

极简强大的Go语言在线客服系统

\r\n

GO-FLY,一套为PHP工程师、Golang工程师准备的基于 Vue 2.0的在线客服即时通讯系统

\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n

主要技术架构

\r\n

github.com/dgrijalva/jwt-go

\r\n

github.com/gin-gonic/gin

\r\n

github.com/go-sql-driver/mysql

\r\n

github.com/gobuffalo/packr/v2

\r\n

github.com/gorilla/websocket

\r\n

github.com/ipipdotnet/ipdb-go

\r\n

github.com/jinzhu/gorm

\r\n

github.com/satori/go.uuid

\r\n

github.com/spf13/cobra

\r\n

github.com/swaggo/gin-swagger

\r\n

github.com/swaggo/swag\r\n

\r\n
\r\n \r\n
', '

Simple and Powerful Go language online customer chat system

GO-FLY, a Vue 2.0-based online customer service instant messaging system for PHP engineers and Golang engineers

Main technical architecture

github.com/dgrijalva/jwt-go

github.com/gin-gonic/gin

github.com/go-sql-driver/mysql

github.com/gobuffalo/packr/v2

github.com/gorilla/websocket

github.com/ipipdotnet/ipdb-go

github.com/jinzhu/gorm

github.com/satori/go.uuid

github.com/spf13/cobra

github.com/swaggo/gin-swagger

github.com/swaggo/swag

','index')| +(NULL, 'GO-FLY - 极简强大的Go语言在线客服系统', 'GO-FLY - Simple and Powerful Go language online customer chat system', 'GO-FLY,GO-FLY', 'GO-FLY,GO-FLY', 'GO-FLY,GO-FLY,一套为PHP工程师、Golang工程师准备的基于 Vue 2.0的在线客服即时通讯系统', 'GO-FLY,GO-FLY, a Vue 2.0-based online customer service instant messaging system for PHP engineers and Golang engineers', ' ', '
\n
\n

GO-FLY

\n English (United States)\n 中文版 (简体)\n Github\n 客服入口\n 接口文档\n
\n
\n
\n

极简强大的Go语言在线客服系统

\n

GO-FLY,一套为PHP工程师、Golang工程师准备的基于 Vue 2.0的在线客服即时通讯系统

\n
\n
\n \n \n \n
\n
\n
\n

主要技术架构

\n

github.com/dgrijalva/jwt-go

\n

github.com/gin-gonic/gin

\n

github.com/go-sql-driver/mysql

\n

github.com/gobuffalo/packr/v2

\n

github.com/gorilla/websocket

\n

github.com/ipipdotnet/ipdb-go

\n

github.com/jinzhu/gorm

\n

github.com/satori/go.uuid

\n

github.com/spf13/cobra

\n

github.com/swaggo/gin-swagger

\n

github.com/swaggo/swag\n

\n
\n \n
\n\n\n', '
\n
\n

GO-FLY

\n English (United States)\n 中文版 (简体)\n Github\n Agents Here\n API Documents\n
\n
\n

Simple and Powerful Go language online customer chat system

GO-FLY, a Vue 2.0-based online customer service instant messaging system for PHP engineers and Golang engineers

Main technical architecture

github.com/dgrijalva/jwt-go

github.com/gin-gonic/gin

github.com/go-sql-driver/mysql

github.com/gobuffalo/packr/v2

github.com/gorilla/websocket

github.com/ipipdotnet/ipdb-go

github.com/jinzhu/gorm

github.com/satori/go.uuid

github.com/spf13/cobra

github.com/swaggo/gin-swagger

github.com/swaggo/swag

\n\n\n', 'index')| diff --git a/static/html/index.html b/static/html/index.html index d134cfe..7a7701c 100644 --- a/static/html/index.html +++ b/static/html/index.html @@ -10,27 +10,13 @@ {{.CssJs}} -
-
-

GO-FLY

- English (United States) - 中文版 (简体) - Github - {{.AgentBtn}} - {{.Document}} -
-
+ + + {{.Content}} - - + \ No newline at end of file diff --git a/static/html/setting_bottom.html b/static/html/setting_bottom.html index c4e7a54..52878f1 100644 --- a/static/html/setting_bottom.html +++ b/static/html/setting_bottom.html @@ -389,6 +389,16 @@ } }); }, + //提交首页表单 + setPageIndex(){ + let _this=this; + this.sendAjax("/about","POST",this.pageindex,function(result){ + _this.$message({ + message: "编辑成功", + type: 'success' + }); + }); + }, //生成部署js createDeployJs(){ let domain=window.location.host; diff --git a/static/html/setting_left.html b/static/html/setting_left.html index 4de0ec4..cff7a2d 100644 --- a/static/html/setting_left.html +++ b/static/html/setting_left.html @@ -1,14 +1,11 @@ {{define "setting_left"}} - + :unique-opened=true>