审查视图

application/mobile/model/Statistic.php 278 字节
何书鹏 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?php
namespace app\mobile\model;

use think\Model;

class Statistic extends Model
{
    // 表名
    protected $name = 'mobile_statistic';

    public function getTypeList()
    {
        return ['day' => __('每天'), 'week' => __('每周'), 'month' => __('每月')];
    }
}