quanwei
2026-01-17 e1e2fe5710a5b5cd9c19bd3aa99c998a1a613ca8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
 
namespace app\common\model\plus\regactivity;
 
use app\common\model\BaseModel;
 
/**
 * 活动分类模型
 */
class Category extends BaseModel
{
    protected $name = 'registration_activity_category';
    protected $pk = 'category_id';
 
    /**
     * 所有分类
     */
    public static function getALL()
    {
        $model = new static;
        return $model->order(['sort' => 'asc', 'create_time' => 'asc'])->select();
    }
 
}