feat(server): implement server management handlers and database schema
This commit is contained in:
@@ -53,6 +53,7 @@ func (l *TelephoneLoginLogic) TelephoneLogin(req *types.TelephoneLoginRequest, r
|
||||
defer func(svcCtx *svc.ServiceContext) {
|
||||
if userInfo.Id != 0 {
|
||||
loginLog := log.Login{
|
||||
Method: "mobile",
|
||||
LoginIP: ip,
|
||||
UserAgent: r.UserAgent(),
|
||||
Success: loginStatus,
|
||||
|
||||
Reference in New Issue
Block a user