审查视图

application/admin/controller/example/Colorbadge.php 414 字节
郭盛 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?php

namespace app\admin\controller\example;

use app\common\controller\Backend;

/**
 * 彩色角标
 *
 * @icon fa fa-table
 * @remark 在JS端控制角标的显示与隐藏,请注意左侧菜单栏角标的数值变化
 */
class Colorbadge extends Backend
{
    protected $model = null;

    public function _initialize()
    {
        parent::_initialize();
        $this->model = model('AdminLog');
    }
}