| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- /**
- *
- * @copyright ©2020 点小铺
- * @author hanj
- * @link: https://dyuit.com
- * Created by VSCode
- */
- namespace app\common\model;
- use think\Cache;
- /**
- * 拼团商品分类模型
- * Class Category
- *
- * @package app\common\model
- */
- class CertificateCategory extends BaseModel
- {
- protected $name = 'certificate_category';
- /**
- * [detail]
- *
- * @Author: Yeshihao
- * @DateTime: 2024/11/26 14:25
- * @param $id
- * @return CertificateCategory|null
- * @throws \think\exception\DbException
- */
- public static function detail($id)
- {
- return static::get($id);
- }
- }
|