Files
oil/server-tp6/app/common/model/Notify.php
T
2026-09-01 22:15:50 +08:00

29 lines
519 B
PHP

<?php
declare (strict_types=1);
namespace app\common\model;
use cores\BaseModel;
/**
* 通知类
* Class GoodsSku
* @package app\common\model
*/
class Notify extends BaseModel
{
protected $name = 'notify';
/**
* 通知详情
* @param $where
* @return null|static
* @throws \think\exception\DbException
*/
public static function detail($where)
{
is_array($where) ? $filter = $where : $filter['notify_id'] = (int)$where;
return self::get($filter);
}
}