Skip to content

Commit

Permalink
修了个body包数据为空的bug,虽然不知道发生了啥,但它确实是被修好了
Browse files Browse the repository at this point in the history
  • Loading branch information
Suika99 committed Jul 2, 2021
1 parent f8ccb46 commit 098e81d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugin_ai_false/ai_false.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

func init() { // 插件主体
zero.OnFullMatchGroup([]string{"检查身体", "自检", "启动自检", "系统状态"}).
zero.OnFullMatchGroup([]string{"检查身体", "自检", "启动自检", "系统状态"}, zero.AdminPermission).
Handle(func(ctx *zero.Ctx) {
ctx.SendChain(message.Text(
"* CPU占用率: ", getCpuPercent(), "%\n",
Expand Down

0 comments on commit 098e81d

Please sign in to comment.