chore: correct prompt messages

This commit is contained in:
RockYang
2024-03-22 18:27:57 +08:00
parent fb6a35ebe4
commit 37cdc26160
3 changed files with 6 additions and 5 deletions

View File

@@ -142,6 +142,10 @@ func (e *XXLJobExecutor) ResetUserPower(cxt context.Context, param *xxl.RunReq)
return "error with decode system config: " + err.Error()
}
if config.DailyPower <= 0 {
return "success"
}
var counter = 0
var totalPower = 0
for _, u := range users {