mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修改错误文字 (#809)
Co-authored-by: 14K <9112790+the14k@user.noreply.gitee.com>
This commit is contained in:
parent
1da1659b51
commit
2b61204233
|
@ -59,7 +59,7 @@ cat查看之后返回的结果类似如下字段
|
||||||
# admin即为登录名;Xb-ZYP526wmg4_h6q1WqIO为登录密码
|
# admin即为登录名;Xb-ZYP526wmg4_h6q1WqIO为登录密码
|
||||||
```
|
```
|
||||||
|
|
||||||
输入此处记录的`username`及`password`,即可成功登陆qinglong面板,登陆后即可正常使用
|
输入此处记录的`username`及`password`,即可成功登录qinglong面板,登录后即可正常使用
|
||||||
|
|
||||||
## 拉取脚本
|
## 拉取脚本
|
||||||
```bash
|
```bash
|
||||||
|
|
|
@ -116,10 +116,10 @@ export default class UserService {
|
||||||
isTwoFactorChecking: false,
|
isTwoFactorChecking: false,
|
||||||
});
|
});
|
||||||
await this.notificationService.notify(
|
await this.notificationService.notify(
|
||||||
'登陆通知',
|
'登录通知',
|
||||||
`你于${new Date(timestamp).toLocaleString()}在 ${address} ${
|
`你于${new Date(timestamp).toLocaleString()}在 ${address} ${
|
||||||
req.platform
|
req.platform
|
||||||
}端 登陆成功,ip地址 ${ip}`,
|
}端 登录成功,ip地址 ${ip}`,
|
||||||
);
|
);
|
||||||
await this.getLoginLog();
|
await this.getLoginLog();
|
||||||
await this.insertDb({
|
await this.insertDb({
|
||||||
|
@ -145,10 +145,10 @@ export default class UserService {
|
||||||
platform: req.platform,
|
platform: req.platform,
|
||||||
});
|
});
|
||||||
await this.notificationService.notify(
|
await this.notificationService.notify(
|
||||||
'登陆通知',
|
'登录通知',
|
||||||
`你于${new Date(timestamp).toLocaleString()}在 ${address} ${
|
`你于${new Date(timestamp).toLocaleString()}在 ${address} ${
|
||||||
req.platform
|
req.platform
|
||||||
}端 登陆失败,ip地址 ${ip}`,
|
}端 登录失败,ip地址 ${ip}`,
|
||||||
);
|
);
|
||||||
await this.getLoginLog();
|
await this.getLoginLog();
|
||||||
await this.insertDb({
|
await this.insertDb({
|
||||||
|
|
|
@ -348,7 +348,7 @@ const Setting = ({
|
||||||
<Tabs.TabPane tab="通知设置" key="notification">
|
<Tabs.TabPane tab="通知设置" key="notification">
|
||||||
<NotificationSetting data={notificationInfo} />
|
<NotificationSetting data={notificationInfo} />
|
||||||
</Tabs.TabPane>
|
</Tabs.TabPane>
|
||||||
<Tabs.TabPane tab="登陆日志" key="login">
|
<Tabs.TabPane tab="登录日志" key="login">
|
||||||
<LoginLog data={loginLogData} />
|
<LoginLog data={loginLogData} />
|
||||||
</Tabs.TabPane>
|
</Tabs.TabPane>
|
||||||
<Tabs.TabPane tab="其他设置" key="other">
|
<Tabs.TabPane tab="其他设置" key="other">
|
||||||
|
|
|
@ -25,7 +25,7 @@ const columns = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '登陆时间',
|
title: '登录时间',
|
||||||
dataIndex: 'timestamp',
|
dataIndex: 'timestamp',
|
||||||
key: 'timestamp',
|
key: 'timestamp',
|
||||||
align: 'center' as const,
|
align: 'center' as const,
|
||||||
|
@ -34,25 +34,25 @@ const columns = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '登陆地址',
|
title: '登录地址',
|
||||||
dataIndex: 'address',
|
dataIndex: 'address',
|
||||||
key: 'address',
|
key: 'address',
|
||||||
align: 'center' as const,
|
align: 'center' as const,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '登陆IP',
|
title: '登录IP',
|
||||||
dataIndex: 'ip',
|
dataIndex: 'ip',
|
||||||
key: 'ip',
|
key: 'ip',
|
||||||
align: 'center' as const,
|
align: 'center' as const,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '登陆设备',
|
title: '登录设备',
|
||||||
dataIndex: 'platform',
|
dataIndex: 'platform',
|
||||||
key: 'platform',
|
key: 'platform',
|
||||||
align: 'center' as const,
|
align: 'center' as const,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '登陆状态',
|
title: '登录状态',
|
||||||
dataIndex: 'status',
|
dataIndex: 'status',
|
||||||
key: 'status',
|
key: 'status',
|
||||||
align: 'center' as const,
|
align: 'center' as const,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user