From f3b10a3c513fc54ac77c3b19dc2544c3de904d90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E5=B8=85?= <133814250@qq.com> Date: Sun, 15 May 2022 22:47:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=BD=95=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E9=87=8D=E5=A4=8D=E9=80=80=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hotgo-server/config/config.example.yaml | 4 ++-- hotgo-server/go.mod | 2 -- hotgo-server/go.sum | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/hotgo-server/config/config.example.yaml b/hotgo-server/config/config.example.yaml index 99e549e..5e54b80 100644 --- a/hotgo-server/config/config.example.yaml +++ b/hotgo-server/config/config.example.yaml @@ -84,8 +84,8 @@ queue: groupName: "hotgo" # mq群组名称 redis: address: "127.0.0.1:6379" # redis服务地址,默认为127.0.0.1:6379 - db: 5 # 指定redis库 - pass: "meng133814250" # redis密码 + db: 0 # 指定redis库 + pass: "hg123456" # redis密码 timeout: 0 # 队列超时时间(s) ,0为永不超时,当队列一直没有被消费到达超时时间则队列会被销毁 rocketmq: address: "127.0.0.1:9876" # brocker地址+端口 diff --git a/hotgo-server/go.mod b/hotgo-server/go.mod index ea0406e..b92e6ab 100644 --- a/hotgo-server/go.mod +++ b/hotgo-server/go.mod @@ -17,9 +17,7 @@ require ( github.com/modern-go/reflect2 v1.0.1 // indirect github.com/mojocn/base64Captcha v1.3.5 github.com/pkg/errors v0.9.1 // indirect - github.com/spf13/pflag v1.0.5 github.com/xuri/excelize/v2 v2.5.0 go.opentelemetry.io/otel/trace v1.0.0 go.uber.org/atomic v1.6.0 // indirect - golang.org/x/text v0.3.8-0.20211105212822-18b340fc7af2 ) diff --git a/hotgo-server/go.sum b/hotgo-server/go.sum index 42bd5fa..444e16c 100644 --- a/hotgo-server/go.sum +++ b/hotgo-server/go.sum @@ -171,8 +171,6 @@ github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykE github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20190710185942-9d28bd7c0945 h1:N8Bg45zpk/UcpNGnfJt2y/3lRWASHNTUET8owPYCgYI= github.com/smartystreets/goconvey v0.0.0-20190710185942-9d28bd7c0945/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=