Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Banner ¶
type Banner struct { Id int `json:"id"` Name string `json:"name"` Url string `json:"url"` // 跳转地址 ImageUrl string `json:"img_url"` // 图片地址 Sort int `json:"sort"` State int `json:"state"` }
func BannerPageList ¶
func BannerPageList(params *BannerQueryParam) ([]*Banner, int64)
RolePageList 获取分页数据
type BannerQueryParam ¶
type BannerQueryParam struct { models.BaseQueryParam NameLike string }
QueryParam 用于搜索的类
type History ¶
type History struct { Id int `json:"id"` Name string `json:"name"` Content string `json:"content"` CreatedAt time.Time `json:"created_at"` Sort int `json:"sort"` Date time.Time `json:"date"` }
func HistoryDataList ¶
func HistoryDataList(params *HistoryQueryParam) []*History
RoleDataList 获取学校列表
func HistoryPageList ¶
func HistoryPageList(params *HistoryQueryParam) ([]*History, int64)
RolePageList 获取分页数据
type HistoryQueryParam ¶
type HistoryQueryParam struct { models.BaseQueryParam NameLike string }
QueryParam 用于搜索的类
type News ¶
type NewsQueryParam ¶
type NewsQueryParam struct { models.BaseQueryParam NameLike string }
QueryParam 用于搜索的类
type Project ¶
type Project struct { Id int `json:"id"` Name string `json:"name"` City string `json:"city"` SchoolId int `json:"school_id"` SchoolName string `json:"school_name"` Content string `json:"content"` CreatedAt time.Time `json:"created_at"` Sort int `json:"sort"` ImageUrl string `json:"image_url"` }
func ProjectDataList ¶
func ProjectDataList(params *ProjectQueryParam) []*Project
RoleDataList 获取学校列表
func ProjectPageList ¶
func ProjectPageList(params *ProjectQueryParam) ([]*Project, int64)
RolePageList 获取分页数据
type ProjectQueryParam ¶
type ProjectQueryParam struct { models.BaseQueryParam NameLike string }
QueryParam 用于搜索的类
type Recruit ¶
type Recruit struct { Id int `json:"id"` ImageUrl string `json:"image_url"` Name string `json:"name"` Content string `json:"content"` CreatedAt time.Time `json:"created_at"` Sort int `json:"sort"` }
func RecruitDataList ¶
func RecruitDataList(params *RecruitQueryParam) []*Recruit
RoleDataList 获取学校列表
func RecruitPageList ¶
func RecruitPageList(params *RecruitQueryParam) ([]*Recruit, int64)
RolePageList 获取分页数据
type RecruitQueryParam ¶
type RecruitQueryParam struct { models.BaseQueryParam NameLike string }
QueryParam 用于搜索的类
type Staff ¶
type Staff struct { Id int `json:"id"` ImageUrl string `json:"image_url"` Name string `json:"name"` Subject int `json:"subject"` SubjectName string `json:"subject_name"` Content string `json:"content"` CreatedAt time.Time `json:"created_at"` Sort int `json:"sort"` School string `json:"school"` SchoolName string `json:"school_name""` }
func StaffPageList ¶
func StaffPageList(params *StaffQueryParam) ([]*Staff, int64)
RolePageList 获取分页数据
type StaffQueryParam ¶
type StaffQueryParam struct { models.BaseQueryParam NameLike string }
QueryParam 用于搜索的类
type Us ¶
type UsQueryParam ¶
type UsQueryParam struct { models.BaseQueryParam NameLike string }
QueryParam 用于搜索的类
Source Files ¶
Click to show internal directories.
Click to hide internal directories.