Skip to content

Commit

Permalink
fix(backservice.go): fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
minskiter committed Apr 3, 2023
1 parent 326d335 commit f3ae8c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backservice/backservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ func (p *Program) Start(s service.Service) error {
// run 程序运行
func (p *Program) run(session *fzuconnect.LoginSession) {
res := session.Connect()
p.Logger.Info(res.Message)
p.Logger.Info(res)
for range time.Tick(time.Minute * 5) { // 每隔5分钟登陆校园网
res := session.Connect()
p.Logger.Info(res.Message)
p.Logger.Info(res)
}
}

Expand Down

0 comments on commit f3ae8c6

Please sign in to comment.