Skip to content

Commit

Permalink
update login
Browse files Browse the repository at this point in the history
  • Loading branch information
Sora233 committed Jul 1, 2023
1 parent acc2447 commit 24533b2
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 46 deletions.
7 changes: 7 additions & 0 deletions UPDATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## DDBOT最近更新日志

- 2023-07-01 v1.1.2
- 更新登录代码
```
# 本版本需要配置签名服务器,详情请看https://github.com/Mrs4s/go-cqhttp/issues/2242
# 请在application.yaml文件中添加配置:
sign-server: "你的签名服务器"
```
- 2023-05-27 v1.1.1
- 更新登录代码
- 更新b站接口签名
Expand Down
1 change: 1 addition & 0 deletions bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func Run() {
var exampleConfig = func() string {
s := `
# 注意,填写时请把井号及后面的内容删除,并且冒号后需要加一个空格
sign-server: ""
bot:
account: # 你bot的qq号,不填则使用扫码登陆
password: # 你bot的qq密码
Expand Down
29 changes: 14 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.20

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

require (
github.com/RomiChan/protobuf v0.1.1-0.20230204044148-2ed269a2e54d // indirect
github.com/RomiChan/syncx v0.0.0-20221202055724-5f842c53020e // indirect
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/andybalholm/cascadia v1.3.1 // indirect
github.com/bytedance/sonic v1.8.10 // indirect
github.com/bytedance/sonic v1.9.2 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
github.com/fumiama/imgsz v0.0.2 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.14.0 // indirect
github.com/go-playground/validator/v10 v10.14.1 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/jonboulle/clockwork v0.4.0 // indirect
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/lestrrat-go/strftime v1.0.6 // indirect
github.com/magiconair/properties v1.8.7 // indirect
Expand All @@ -68,13 +67,13 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/pierrec/lz4/v4 v4.1.17 // indirect
github.com/pierrec/lz4/v4 v4.1.18 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/afero v1.9.5 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.15.0 // indirect
github.com/spf13/viper v1.16.0 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
github.com/tidwall/btree v1.6.0 // indirect
github.com/tidwall/grect v0.1.4 // indirect
Expand All @@ -84,11 +83,11 @@ require (
github.com/tidwall/tinyqueue v0.1.1 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
golang.org/x/arch v0.3.0 // indirect
golang.org/x/crypto v0.9.0 // indirect
golang.org/x/crypto v0.10.0 // indirect
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/net v0.11.0 // indirect
golang.org/x/sys v0.9.0 // indirect
golang.org/x/text v0.10.0 // indirect
gopkg.ilharper.com/x/isatty v1.1.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down
Loading

0 comments on commit 24533b2

Please sign in to comment.