修复: 1. 后台无法查看生成的工单 2. 前端页面JS远程资源失效问题 3. 前台用户密码修改设计缺陷(Issued By 藏形匿影) 优化: 1. 多处代码提升二次开发可读性 新增: 1. 安全工单模块中动态更新功能
26 lines
698 B
PHP
26 lines
698 B
PHP
<?php
|
|
namespace User\Controller;
|
|
use Think\Controller;
|
|
|
|
/**
|
|
* @Author: Zhou Yuyang <1009465756@qq.com> 10:28 2016/12/03
|
|
* @Copyright 2015-2020 SISMO
|
|
* @Project homepage https://github.com/CNSISMO
|
|
* @Version 1.8
|
|
*/
|
|
|
|
class IndexController extends BaseController {
|
|
public function index(){
|
|
$id = session('userId');
|
|
$tmodel= M('setting');
|
|
$gCount = M('links')->count();
|
|
$title = $tmodel->where('id=1')->select();
|
|
$page = M('post')->where('user_id='.$id)->count();
|
|
$user = M('member')->where('id='.$id)->select();
|
|
$this->assign('title', $title);
|
|
$this->assign('page',$page);
|
|
$this->assign('user',$user);
|
|
$this->assign('gift',$gCount);
|
|
$this->display();
|
|
}
|
|
} |