修改sql

This commit is contained in:
PandaGoAdmin
2022-03-23 22:05:13 +08:00
parent 322639a7bc
commit 021989ce01
4 changed files with 624 additions and 261 deletions

View File

@@ -12,7 +12,7 @@ import (
var Conf *Config
func init() {
configFilePath := flag.String("e", "./config.yml", "配置文件路径,默认为可执行文件目录")
configFilePath := flag.String("c", "./config.yml", "配置文件路径,默认为可执行文件目录")
flag.Parse()
// 获取启动参数中,配置文件的绝对路径
path, _ := filepath.Abs(*configFilePath)

View File

@@ -5,7 +5,7 @@ app:
server:
# debug release test
model: release
port: 7788
port: 8080
cors: true
# 接口限流
rate:
@@ -42,9 +42,9 @@ redis:
port: 6379
mysql:
host: 47.104.252.2:3306
username: pandax
password: pandax
host: 127.0.0.1:3306
username: root
password: 123456
db-name: pandax
config: charset=utf8&loc=Local&parseTime=true

View File

@@ -1,6 +1,6 @@
## K3S
1. 安装
curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn INSTALL_K3S_VERSION="v1.18.20+k3s1" sh -
curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn INSTALL_K3S_VERSION="v1.23.1+k3s1" sh -
2. 卸载
sudo /usr/local/bin/k3s-uninstall.sh

File diff suppressed because it is too large Load Diff