修改登录通知消息

This commit is contained in:
hanhh
2021-09-20 23:56:20 +08:00
parent 9fc8fdd9d1
commit 6619374571
+2 -2
View File
@@ -104,7 +104,7 @@ export default class AuthService {
'登陆通知',
`你于${new Date(
timestamp,
).toLocaleString()}${address} 登陆成功,ip地址 ${ip}"`,
).toLocaleString()}${address} 登陆成功,ip地址 ${ip}`,
);
await this.getLoginLog();
await this.insertDb({
@@ -126,7 +126,7 @@ export default class AuthService {
'登陆通知',
`你于${new Date(
timestamp,
).toLocaleString()}${address} 登陆失败,ip地址 ${ip}"`,
).toLocaleString()}${address} 登陆失败,ip地址 ${ip}`,
);
await this.getLoginLog();
await this.insertDb({