// +---------------------------------------------------------------------- declare (strict_types=1); namespace app\api\model; use app\common\model\SchoolNew as SchoolNewModel; /** * 学校新闻资讯模型类 * Class SchoolNew * @package app\api\model */ class SchoolNew extends SchoolNewModel { protected $globalScope = ['']; /** * 隐藏字段 * @var array */ protected $hidden = [ 'update_time' ]; /** * @param $schoolId * @param int $type * @param int $limitRow * @return array|mixed * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException */ public static function getShowList($schoolId, $type = 1, $limitRow = 0) { return parent::getShowList($schoolId, $type, $limitRow); // TODO: Change the autogenerated stub } }