chore(member): add debug info print

This commit is contained in:
roberChen
2021-03-25 11:36:06 +08:00
parent 2d05b5a80f
commit 4e243e2d70
2 changed files with 5 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ func (m *Member) Login(account string, password string) (*Member, error) {
logs.Info("转入 HTTP 接口登陆 ->", account)
return member.httpLogin(account, password)
} else {
logs.Error("用户登录 ->", err)
logs.Error("user login for `%s`: %s",account, err)
return member, ErrMemberNoExist
}
}