修改错误文字 (#809)

Co-authored-by: 14K <9112790+the14k@user.noreply.gitee.com>
This commit is contained in:
14kkand14K authored and GitHub committed 2021-10-29 23:26:44 +08:00
1 parent 1da1659b51
commit 2b61204233
4 files changed
+11 -11

No files matched your search

+4 -4
View File
@@ -116,10 +116,10 @@ export default class UserService {
isTwoFactorChecking: false,
});
await this.notificationService.notify(
'登陆通知',
'登录通知',
`你于${new Date(timestamp).toLocaleString()}在 ${address} ${
req.platform
}端 登陆成功,ip地址 ${ip}`,
}端 登录成功,ip地址 ${ip}`,
);
await this.getLoginLog();
await this.insertDb({
@@ -145,10 +145,10 @@ export default class UserService {
platform: req.platform,
});
await this.notificationService.notify(
'登陆通知',
'登录通知',
`你于${new Date(timestamp).toLocaleString()}在 ${address} ${
req.platform
}端 登陆失败,ip地址 ${ip}`,
}端 登录失败,ip地址 ${ip}`,
);
await this.getLoginLog();
await this.insertDb({