|
|
@@ -37,6 +37,7 @@ class UserLoginList extends \common\libs\dataList\DataList implements DataListIn
|
|
|
'device' => 'device',
|
|
|
'user_agent' => 'user_agent',
|
|
|
'request_route' => 'request_route',
|
|
|
+ 'version' => 'version',
|
|
|
]);
|
|
|
$condition = $filter['condition'];
|
|
|
}
|
|
|
@@ -72,7 +73,7 @@ class UserLoginList extends \common\libs\dataList\DataList implements DataListIn
|
|
|
'opt_obj' => [
|
|
|
'header' => 'Operation Object', // 操作对象
|
|
|
'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
+ 'width' => '130',
|
|
|
],
|
|
|
'value' => function($row) {
|
|
|
return 'member'; // 会员
|
|
|
@@ -81,7 +82,7 @@ class UserLoginList extends \common\libs\dataList\DataList implements DataListIn
|
|
|
'user_name' => [
|
|
|
'header' => 'Object Number', // 对象编号
|
|
|
'headerOther' => [
|
|
|
- 'width' => '110',
|
|
|
+ 'width' => '120',
|
|
|
],
|
|
|
],
|
|
|
'return_result' => [
|
|
|
@@ -93,13 +94,13 @@ class UserLoginList extends \common\libs\dataList\DataList implements DataListIn
|
|
|
'success_times' => [
|
|
|
'header' => 'Login Success Times', // 登录成功次数
|
|
|
'headerOther' => [
|
|
|
- 'width' => '110',
|
|
|
+ 'width' => '160',
|
|
|
],
|
|
|
],
|
|
|
'fail_times' => [
|
|
|
'header' => 'Number Of Login Failures', // 登录失败次数
|
|
|
'headerOther' => [
|
|
|
- 'width' => '110',
|
|
|
+ 'width' => '190',
|
|
|
],
|
|
|
],
|
|
|
'created_at' => [
|
|
|
@@ -111,7 +112,10 @@ class UserLoginList extends \common\libs\dataList\DataList implements DataListIn
|
|
|
},
|
|
|
'headerOther' => ['width' => '180'],
|
|
|
],
|
|
|
- 'period_num' => 'Number Of Periods', // 期数
|
|
|
+ 'period_num' => [
|
|
|
+ 'header' => 'Number Of Periods', // 期数
|
|
|
+ 'headerOther' => ['width' => '180'],
|
|
|
+ ],
|
|
|
'ip' => [
|
|
|
'header' => 'IP Address', // IP地址
|
|
|
'headerOther' => [
|
|
|
@@ -136,6 +140,12 @@ class UserLoginList extends \common\libs\dataList\DataList implements DataListIn
|
|
|
'width' => '250',
|
|
|
],
|
|
|
],
|
|
|
+ 'version' => [
|
|
|
+ 'header' => 'Version', // 版本
|
|
|
+ 'headerOther' => [
|
|
|
+ 'width' => '100',
|
|
|
+ ],
|
|
|
+ ],
|
|
|
];
|
|
|
}
|
|
|
return $this->columns;
|
|
|
@@ -160,6 +170,7 @@ class UserLoginList extends \common\libs\dataList\DataList implements DataListIn
|
|
|
'device' => ['isUserTable'=>false, 'name'=>'Client'],//客户端
|
|
|
'user_agent' => ['isUserTable'=>false, 'name'=>'Operating System'],//操作系统
|
|
|
'request_route' => ['isUserTable'=>false, 'name'=>'Request Path'],//请求路径
|
|
|
+ 'version' => ['isUserTable'=>false, 'name'=>'Version'],//版本
|
|
|
];
|
|
|
}
|
|
|
return $this->filterTypes;
|