Skip to content

Commit 24533b2

Browse files
committed
update login
1 parent acc2447 commit 24533b2

File tree

4 files changed

+50
-46
lines changed

4 files changed

+50
-46
lines changed

UPDATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
## DDBOT最近更新日志
22

3+
- 2023-07-01 v1.1.2
4+
- 更新登录代码
5+
```
6+
# 本版本需要配置签名服务器,详情请看https://github.com/Mrs4s/go-cqhttp/issues/2242
7+
# 请在application.yaml文件中添加配置:
8+
sign-server: "你的签名服务器"
9+
```
310
- 2023-05-27 v1.1.1
411
- 更新登录代码
512
- 更新b站接口签名

bot.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ func Run() {
128128
var exampleConfig = func() string {
129129
s := `
130130
# 注意,填写时请把井号及后面的内容删除,并且冒号后需要加一个空格
131+
sign-server: ""
131132
bot:
132133
account: # 你bot的qq号,不填则使用扫码登陆
133134
password: # 你bot的qq密码

go.mod

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ go 1.20
44

55
require (
66
github.com/Jeffail/gabs/v2 v2.7.0
7-
github.com/Mrs4s/MiraiGo v0.0.0-20230401072048-f8d9841755b5
7+
github.com/Mrs4s/MiraiGo v0.0.0-20230627090859-19e3d172596e
88
github.com/PuerkitoBio/goquery v1.8.1
9-
github.com/Sora233/MiraiGo-Template v0.0.0-20230524171658-56e7d83ca8e4
9+
github.com/Sora233/MiraiGo-Template v0.0.0-20230701113809-5e00ec58aa6f
1010
github.com/Sora233/sliceutil v0.0.0-20210120043858-459badd8d882
1111
github.com/alecthomas/kong v0.7.1
1212
github.com/davecgh/go-spew v1.1.1
@@ -30,34 +30,33 @@ require (
3030
github.com/robfig/cron/v3 v3.0.1
3131
github.com/samber/lo v1.38.1
3232
github.com/shopspring/decimal v1.3.1
33-
github.com/sirupsen/logrus v1.9.2
33+
github.com/sirupsen/logrus v1.9.3
3434
github.com/spf13/cast v1.5.1
3535
github.com/stretchr/testify v1.8.3
3636
github.com/tidwall/buntdb v1.2.10
3737
github.com/tidwall/gjson v1.14.4
3838
go.uber.org/atomic v1.10.0
39-
golang.org/x/sync v0.2.0
40-
google.golang.org/protobuf v1.30.0
39+
golang.org/x/sync v0.3.0
40+
google.golang.org/protobuf v1.31.0
4141
)
4242

4343
require (
4444
github.com/RomiChan/protobuf v0.1.1-0.20230204044148-2ed269a2e54d // indirect
4545
github.com/RomiChan/syncx v0.0.0-20221202055724-5f842c53020e // indirect
4646
github.com/andybalholm/brotli v1.0.5 // indirect
4747
github.com/andybalholm/cascadia v1.3.1 // indirect
48-
github.com/bytedance/sonic v1.8.10 // indirect
48+
github.com/bytedance/sonic v1.9.2 // indirect
4949
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
5050
github.com/fumiama/imgsz v0.0.2 // indirect
5151
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
5252
github.com/go-playground/locales v0.14.1 // indirect
5353
github.com/go-playground/universal-translator v0.18.1 // indirect
54-
github.com/go-playground/validator/v10 v10.14.0 // indirect
54+
github.com/go-playground/validator/v10 v10.14.1 // indirect
5555
github.com/goccy/go-json v0.10.2 // indirect
56-
github.com/golang/protobuf v1.5.3 // indirect
5756
github.com/google/go-querystring v1.1.0 // indirect
5857
github.com/hashicorp/hcl v1.0.0 // indirect
5958
github.com/jonboulle/clockwork v0.4.0 // indirect
60-
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
59+
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
6160
github.com/leodido/go-urn v1.2.4 // indirect
6261
github.com/lestrrat-go/strftime v1.0.6 // indirect
6362
github.com/magiconair/properties v1.8.7 // indirect
@@ -68,13 +67,13 @@ require (
6867
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
6968
github.com/modern-go/reflect2 v1.0.2 // indirect
7069
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
71-
github.com/pierrec/lz4/v4 v4.1.17 // indirect
70+
github.com/pierrec/lz4/v4 v4.1.18 // indirect
7271
github.com/pkg/errors v0.9.1 // indirect
7372
github.com/pmezard/go-difflib v1.0.0 // indirect
7473
github.com/spf13/afero v1.9.5 // indirect
7574
github.com/spf13/jwalterweatherman v1.1.0 // indirect
7675
github.com/spf13/pflag v1.0.5 // indirect
77-
github.com/spf13/viper v1.15.0 // indirect
76+
github.com/spf13/viper v1.16.0 // indirect
7877
github.com/subosito/gotenv v1.4.2 // indirect
7978
github.com/tidwall/btree v1.6.0 // indirect
8079
github.com/tidwall/grect v0.1.4 // indirect
@@ -84,11 +83,11 @@ require (
8483
github.com/tidwall/tinyqueue v0.1.1 // indirect
8584
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
8685
golang.org/x/arch v0.3.0 // indirect
87-
golang.org/x/crypto v0.9.0 // indirect
86+
golang.org/x/crypto v0.10.0 // indirect
8887
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect
89-
golang.org/x/net v0.10.0 // indirect
90-
golang.org/x/sys v0.8.0 // indirect
91-
golang.org/x/text v0.9.0 // indirect
88+
golang.org/x/net v0.11.0 // indirect
89+
golang.org/x/sys v0.9.0 // indirect
90+
golang.org/x/text v0.10.0 // indirect
9291
gopkg.ilharper.com/x/isatty v1.1.1 // indirect
9392
gopkg.in/ini.v1 v1.67.0 // indirect
9493
gopkg.in/yaml.v2 v2.4.0 // indirect

0 commit comments

Comments
 (0)