Colorbadge.php 414 B

12345678910111213141516171819202122
  1. <?php
  2. namespace app\admin\controller\example;
  3. use app\common\controller\Backend;
  4. /**
  5. * 彩色角标
  6. *
  7. * @icon fa fa-table
  8. * @remark 在JS端控制角标的显示与隐藏,请注意左侧菜单栏角标的数值变化
  9. */
  10. class Colorbadge extends Backend
  11. {
  12. protected $model = null;
  13. public function _initialize()
  14. {
  15. parent::_initialize();
  16. $this->model = model('AdminLog');
  17. }
  18. }