登录次数
This commit is contained in:
1 parent
70960ad176
commit
3ccaa15c60
2 files changed
+6
-1
No files matched your search
@@ -61,6 +61,11 @@ class Index extends Base
|
||||
->field('title,thinks,danwei')
|
||||
->find();
|
||||
|
||||
// 查询用户登录次数
|
||||
$admin = new \app\admin\model\Admin;
|
||||
$userid = session('userid');
|
||||
$list['denglucishu'] = $admin->where('id',$userid)->value('denglucishu');
|
||||
|
||||
// 获取版本号
|
||||
$list->version = config('app.chengji.version');
|
||||
|
||||
|
||||
Reference in new issue
Block a user