修了个body包数据为空的bug,虽然不知道发生了啥,但它确实是被修好了

This commit is contained in:
Suika99 2021-07-02 19:08:59 +08:00
parent f8ccb467ba
commit 098e81d1c8
2 changed files with 6 additions and 8 deletions

View File

@ -1,13 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="075d8bd1-a584-4439-8e19-b0c2acd4ed59" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/plugin_ai_false/ai_false.go" beforeDir="false" afterPath="$PROJECT_DIR$/plugin_ai_false/ai_false.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/plugin_bilibili/fansDaily.go" beforeDir="false" afterPath="$PROJECT_DIR$/plugin_bilibili/fansDaily.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/plugin_bilibili/info.go" beforeDir="false" afterPath="$PROJECT_DIR$/plugin_bilibili/info.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/plugin_bilibili/live_info.go" beforeDir="false" afterPath="$PROJECT_DIR$/plugin_bilibili/live_info.go" afterDir="false" />
</list>
<list default="true" id="075d8bd1-a584-4439-8e19-b0c2acd4ed59" name="Default Changelist" comment="修了个body包数据为空的bug虽然不知道发生了啥但它确实是被修好了" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -120,6 +114,10 @@
</option>
<option name="oldMeFiltersMigrated" value="true" />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="修了个body包数据为空的bug虽然不知道发生了啥但它确实是被修好了" />
<option name="LAST_COMMIT_MESSAGE" value="修了个body包数据为空的bug虽然不知道发生了啥但它确实是被修好了" />
</component>
<component name="VgoProject">
<integration-enabled>true</integration-enabled>
</component>

View File

@ -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",