查看用户上级
parent
d893745407
commit
74e3550ac8
|
|
@ -19,6 +19,9 @@ class UserFansSimpleTable extends LazyRenderable
|
|||
return admin_url('users/'.$this->user_id);
|
||||
});
|
||||
$grid->column('user.userVip.vip.name', '代理');
|
||||
$grid->column('user.userVip.vip.ratio', '提成比例')->display(function ($v) {
|
||||
return $v.'%';
|
||||
});
|
||||
$grid->column('growth_value', '成长值');
|
||||
$grid->column('created_at', '注册时间');
|
||||
$grid->model()->orderBy('created_at', 'desc');
|
||||
|
|
|
|||
|
|
@ -21,6 +21,9 @@ class UserInviterSimpleTable extends LazyRenderable
|
|||
});
|
||||
|
||||
$grid->column('user.userVip.vip.name', '代理');
|
||||
$grid->column('user.userVip.vip.ratio', '提成比例')->display(function ($v) {
|
||||
return $v.'%';
|
||||
});
|
||||
$grid->column('growth_value', '成长值');
|
||||
$grid->column('created_at', '注册时间');
|
||||
$grid->model()->orderBy('created_at', 'desc');
|
||||
|
|
|
|||
Loading…
Reference in New Issue